@wippy-fe/types-global-proxy 0.0.62 → 0.0.64

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.
Files changed (2) hide show
  1. package/index.d.ts +17 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -6,6 +6,15 @@ import { ToastMessageOptions } from 'primevue/toast';
6
6
  import * as nanoevents from 'nanoevents';
7
7
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
8
8
 
9
+ interface IconifyProviderConfig {
10
+ resources: string[];
11
+ path?: string;
12
+ timeout?: number;
13
+ }
14
+ interface IconifyConfig {
15
+ providers?: Record<string, IconifyProviderConfig | null> | null;
16
+ }
17
+
9
18
  /**
10
19
  * Host-side layout types (Wippy-flavored wrapper around `@wippy-fe/layout`).
11
20
  *
@@ -638,6 +647,11 @@ interface TanstackConfig {
638
647
  /** Overrides layered over `default` for list / navigation queries. */
639
648
  lists?: TanstackQueryOptions;
640
649
  }
650
+ /** Standard browser import-map entries shared with child document creators. */
651
+ interface ImportMapConfig {
652
+ imports?: Record<string, string>;
653
+ scopes?: Record<string, Record<string, string>>;
654
+ }
641
655
  interface AppConfig extends UiOptions {
642
656
  $schema: string;
643
657
  auth: AppAuthConfig;
@@ -647,6 +661,8 @@ interface AppConfig extends UiOptions {
647
661
  apiRoutes?: ApiRoutesOverride;
648
662
  attention?: AttentionConfig;
649
663
  tanstack?: TanstackConfig;
664
+ iconify?: IconifyConfig | null;
665
+ importMap?: ImportMapConfig | null;
650
666
  themeMode?: ThemeMode;
651
667
  theming: {
652
668
  global?: ThemingScope;
@@ -1492,7 +1508,7 @@ type Events = {
1492
1508
  name: string;
1493
1509
  width: number;
1494
1510
  }) => void;
1495
- /** Forced theme mode changed (broadcast via SetConfig from the host). */
1511
+ /** Accepted theme mode changed in the resolved application config. */
1496
1512
  '@theme': (mode: 'auto' | 'light' | 'dark') => void;
1497
1513
  } & {
1498
1514
  [K in string as K extends KnownTopics ? never : K]: (data: WsMessage) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wippy-fe/types-global-proxy",
3
- "version": "0.0.62",
3
+ "version": "0.0.64",
4
4
  "description": "Global type declarations for Wippy iframe proxy (window.getWippyApi, $W, etc.)",
5
5
  "license": "UNLICENSED",
6
6
  "types": "index.d.ts",