@copilotkit/a2ui-renderer 1.51.4-next.7 → 1.51.4

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 (139) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/A2UIMessageRenderer.d.ts.map +1 -1
  3. package/dist/A2UIMessageRenderer.js +6 -5
  4. package/dist/A2UIMessageRenderer.js.map +1 -1
  5. package/dist/A2UIViewer.d.ts.map +1 -1
  6. package/dist/A2UIViewer.js +1 -1
  7. package/dist/A2UIViewer.js.map +1 -1
  8. package/dist/__tests__/A2UIMessageRenderer.test.js +43 -12
  9. package/dist/__tests__/A2UIMessageRenderer.test.js.map +1 -1
  10. package/dist/__tests__/clsx-shim.d.ts +8 -0
  11. package/dist/__tests__/clsx-shim.d.ts.map +1 -0
  12. package/dist/__tests__/clsx-shim.js +24 -0
  13. package/dist/__tests__/clsx-shim.js.map +1 -0
  14. package/dist/index.umd.js.map +1 -1
  15. package/dist/react-renderer/components/content/AudioPlayer.d.ts +2 -2
  16. package/dist/react-renderer/components/content/AudioPlayer.d.ts.map +1 -1
  17. package/dist/react-renderer/components/content/AudioPlayer.js +5 -5
  18. package/dist/react-renderer/components/content/AudioPlayer.js.map +1 -1
  19. package/dist/react-renderer/components/content/Divider.d.ts +2 -2
  20. package/dist/react-renderer/components/content/Divider.d.ts.map +1 -1
  21. package/dist/react-renderer/components/content/Divider.js +5 -5
  22. package/dist/react-renderer/components/content/Divider.js.map +1 -1
  23. package/dist/react-renderer/components/content/Icon.d.ts +2 -2
  24. package/dist/react-renderer/components/content/Icon.d.ts.map +1 -1
  25. package/dist/react-renderer/components/content/Icon.js +6 -6
  26. package/dist/react-renderer/components/content/Icon.js.map +1 -1
  27. package/dist/react-renderer/components/content/Image.d.ts +2 -2
  28. package/dist/react-renderer/components/content/Image.d.ts.map +1 -1
  29. package/dist/react-renderer/components/content/Image.js +7 -7
  30. package/dist/react-renderer/components/content/Image.js.map +1 -1
  31. package/dist/react-renderer/components/content/Text.d.ts +2 -2
  32. package/dist/react-renderer/components/content/Text.d.ts.map +1 -1
  33. package/dist/react-renderer/components/content/Text.js +19 -17
  34. package/dist/react-renderer/components/content/Text.js.map +1 -1
  35. package/dist/react-renderer/components/content/Video.d.ts +2 -2
  36. package/dist/react-renderer/components/content/Video.d.ts.map +1 -1
  37. package/dist/react-renderer/components/content/Video.js +6 -6
  38. package/dist/react-renderer/components/content/Video.js.map +1 -1
  39. package/dist/react-renderer/components/content/index.d.ts +6 -6
  40. package/dist/react-renderer/components/content/index.js +6 -6
  41. package/dist/react-renderer/components/interactive/Button.d.ts +2 -2
  42. package/dist/react-renderer/components/interactive/Button.d.ts.map +1 -1
  43. package/dist/react-renderer/components/interactive/Button.js +6 -6
  44. package/dist/react-renderer/components/interactive/Button.js.map +1 -1
  45. package/dist/react-renderer/components/interactive/CheckBox.d.ts +2 -2
  46. package/dist/react-renderer/components/interactive/CheckBox.d.ts.map +1 -1
  47. package/dist/react-renderer/components/interactive/CheckBox.js +5 -5
  48. package/dist/react-renderer/components/interactive/CheckBox.js.map +1 -1
  49. package/dist/react-renderer/components/interactive/DateTimeInput.d.ts +2 -2
  50. package/dist/react-renderer/components/interactive/DateTimeInput.d.ts.map +1 -1
  51. package/dist/react-renderer/components/interactive/DateTimeInput.js +12 -12
  52. package/dist/react-renderer/components/interactive/DateTimeInput.js.map +1 -1
  53. package/dist/react-renderer/components/interactive/MultipleChoice.d.ts +2 -2
  54. package/dist/react-renderer/components/interactive/MultipleChoice.d.ts.map +1 -1
  55. package/dist/react-renderer/components/interactive/MultipleChoice.js +5 -5
  56. package/dist/react-renderer/components/interactive/MultipleChoice.js.map +1 -1
  57. package/dist/react-renderer/components/interactive/Slider.d.ts +2 -2
  58. package/dist/react-renderer/components/interactive/Slider.js +6 -6
  59. package/dist/react-renderer/components/interactive/Slider.js.map +1 -1
  60. package/dist/react-renderer/components/interactive/TextField.d.ts +2 -2
  61. package/dist/react-renderer/components/interactive/TextField.d.ts.map +1 -1
  62. package/dist/react-renderer/components/interactive/TextField.js +8 -12
  63. package/dist/react-renderer/components/interactive/TextField.js.map +1 -1
  64. package/dist/react-renderer/components/interactive/index.d.ts +6 -6
  65. package/dist/react-renderer/components/interactive/index.js +6 -6
  66. package/dist/react-renderer/components/layout/Card.d.ts +2 -2
  67. package/dist/react-renderer/components/layout/Card.d.ts.map +1 -1
  68. package/dist/react-renderer/components/layout/Card.js +9 -9
  69. package/dist/react-renderer/components/layout/Card.js.map +1 -1
  70. package/dist/react-renderer/components/layout/Column.d.ts +2 -2
  71. package/dist/react-renderer/components/layout/Column.d.ts.map +1 -1
  72. package/dist/react-renderer/components/layout/Column.js +11 -11
  73. package/dist/react-renderer/components/layout/Column.js.map +1 -1
  74. package/dist/react-renderer/components/layout/List.d.ts +2 -2
  75. package/dist/react-renderer/components/layout/List.d.ts.map +1 -1
  76. package/dist/react-renderer/components/layout/List.js +10 -10
  77. package/dist/react-renderer/components/layout/List.js.map +1 -1
  78. package/dist/react-renderer/components/layout/Modal.d.ts +2 -2
  79. package/dist/react-renderer/components/layout/Modal.d.ts.map +1 -1
  80. package/dist/react-renderer/components/layout/Modal.js +10 -10
  81. package/dist/react-renderer/components/layout/Modal.js.map +1 -1
  82. package/dist/react-renderer/components/layout/Row.d.ts +2 -2
  83. package/dist/react-renderer/components/layout/Row.d.ts.map +1 -1
  84. package/dist/react-renderer/components/layout/Row.js +11 -11
  85. package/dist/react-renderer/components/layout/Row.js.map +1 -1
  86. package/dist/react-renderer/components/layout/Tabs.d.ts +2 -2
  87. package/dist/react-renderer/components/layout/Tabs.d.ts.map +1 -1
  88. package/dist/react-renderer/components/layout/Tabs.js +6 -6
  89. package/dist/react-renderer/components/layout/Tabs.js.map +1 -1
  90. package/dist/react-renderer/components/layout/index.d.ts +6 -6
  91. package/dist/react-renderer/components/layout/index.js +6 -6
  92. package/dist/react-renderer/core/A2UIProvider.d.ts +4 -4
  93. package/dist/react-renderer/core/A2UIProvider.d.ts.map +1 -1
  94. package/dist/react-renderer/core/A2UIProvider.js +5 -5
  95. package/dist/react-renderer/core/A2UIProvider.js.map +1 -1
  96. package/dist/react-renderer/core/A2UIRenderer.d.ts +2 -2
  97. package/dist/react-renderer/core/A2UIRenderer.js +28 -28
  98. package/dist/react-renderer/core/A2UIViewer.d.ts +1 -1
  99. package/dist/react-renderer/core/A2UIViewer.js +14 -14
  100. package/dist/react-renderer/core/ComponentNode.d.ts +2 -2
  101. package/dist/react-renderer/core/ComponentNode.d.ts.map +1 -1
  102. package/dist/react-renderer/core/ComponentNode.js +5 -5
  103. package/dist/react-renderer/core/ComponentNode.js.map +1 -1
  104. package/dist/react-renderer/core/store.d.ts +2 -2
  105. package/dist/react-renderer/hooks/useA2UI.d.ts +1 -1
  106. package/dist/react-renderer/hooks/useA2UI.js +1 -1
  107. package/dist/react-renderer/hooks/useA2UIComponent.d.ts +1 -1
  108. package/dist/react-renderer/hooks/useA2UIComponent.d.ts.map +1 -1
  109. package/dist/react-renderer/hooks/useA2UIComponent.js +16 -7
  110. package/dist/react-renderer/hooks/useA2UIComponent.js.map +1 -1
  111. package/dist/react-renderer/index.d.ts +35 -35
  112. package/dist/react-renderer/index.d.ts.map +1 -1
  113. package/dist/react-renderer/index.js +29 -29
  114. package/dist/react-renderer/index.js.map +1 -1
  115. package/dist/react-renderer/lib/utils.d.ts +2 -2
  116. package/dist/react-renderer/lib/utils.d.ts.map +1 -1
  117. package/dist/react-renderer/lib/utils.js +3 -3
  118. package/dist/react-renderer/lib/utils.js.map +1 -1
  119. package/dist/react-renderer/registry/ComponentRegistry.d.ts +3 -3
  120. package/dist/react-renderer/registry/ComponentRegistry.d.ts.map +1 -1
  121. package/dist/react-renderer/registry/ComponentRegistry.js +2 -2
  122. package/dist/react-renderer/registry/ComponentRegistry.js.map +1 -1
  123. package/dist/react-renderer/registry/defaultCatalog.d.ts +1 -1
  124. package/dist/react-renderer/registry/defaultCatalog.js +37 -37
  125. package/dist/react-renderer/styles/index.d.ts.map +1 -1
  126. package/dist/react-renderer/styles/index.js +10 -9
  127. package/dist/react-renderer/styles/index.js.map +1 -1
  128. package/dist/react-renderer/theme/ThemeContext.d.ts +2 -2
  129. package/dist/react-renderer/theme/ThemeContext.d.ts.map +1 -1
  130. package/dist/react-renderer/theme/ThemeContext.js +3 -3
  131. package/dist/react-renderer/theme/ThemeContext.js.map +1 -1
  132. package/dist/react-renderer/theme/litTheme.d.ts +1 -1
  133. package/dist/react-renderer/theme/litTheme.js +193 -193
  134. package/dist/react-renderer/theme/utils.d.ts.map +1 -1
  135. package/dist/react-renderer/theme/utils.js +3 -3
  136. package/dist/react-renderer/theme/utils.js.map +1 -1
  137. package/dist/react-renderer/types.d.ts +2 -2
  138. package/dist/react-renderer/types.d.ts.map +1 -1
  139. package/package.json +2 -2
@@ -1,37 +1,37 @@
1
1
  export { A2UIProvider, useA2UIActions, useA2UIState, useA2UIContext, useA2UIStore, // @deprecated - use useA2UIContext
2
- useA2UIStoreSelector, } from './core/A2UIProvider';
3
- export type { A2UIProviderProps } from './core/A2UIProvider';
4
- export { A2UIRenderer } from './core/A2UIRenderer';
5
- export type { A2UIRendererProps } from './core/A2UIRenderer';
6
- export { A2UIViewer } from './core/A2UIViewer';
7
- export type { A2UIViewerProps, ComponentInstance, A2UIActionEvent } from './core/A2UIViewer';
8
- export { ComponentNode } from './core/ComponentNode';
9
- export { useA2UI } from './hooks/useA2UI';
10
- export type { UseA2UIResult } from './hooks/useA2UI';
11
- export { useA2UIComponent } from './hooks/useA2UIComponent';
12
- export type { UseA2UIComponentResult } from './hooks/useA2UIComponent';
13
- export { ComponentRegistry } from './registry/ComponentRegistry';
14
- export { registerDefaultCatalog, initializeDefaultCatalog } from './registry/defaultCatalog';
15
- export { ThemeProvider, useTheme, useThemeOptional } from './theme/ThemeContext';
16
- export { litTheme, defaultTheme } from './theme/litTheme';
17
- export { cn, classMapToString, stylesToObject } from './lib/utils';
18
- export type { Types, Primitives, AnyComponentNode, Surface, SurfaceID, Theme, ServerToClientMessage, A2UIClientEventMessage, Action, DataValue, MessageProcessor, StringValue, NumberValue, BooleanValue, A2UIComponentProps, ComponentRegistration, ComponentLoader, OnActionCallback, A2UIProviderConfig, } from './types';
19
- export { Text } from './components/content/Text';
20
- export { Image } from './components/content/Image';
21
- export { Icon } from './components/content/Icon';
22
- export { Divider } from './components/content/Divider';
23
- export { Video } from './components/content/Video';
24
- export { AudioPlayer } from './components/content/AudioPlayer';
25
- export { Row } from './components/layout/Row';
26
- export { Column } from './components/layout/Column';
27
- export { List } from './components/layout/List';
28
- export { Card } from './components/layout/Card';
29
- export { Tabs } from './components/layout/Tabs';
30
- export { Modal } from './components/layout/Modal';
31
- export { Button } from './components/interactive/Button';
32
- export { TextField } from './components/interactive/TextField';
33
- export { CheckBox } from './components/interactive/CheckBox';
34
- export { Slider } from './components/interactive/Slider';
35
- export { DateTimeInput } from './components/interactive/DateTimeInput';
36
- export { MultipleChoice } from './components/interactive/MultipleChoice';
2
+ useA2UIStoreSelector, } from "./core/A2UIProvider";
3
+ export type { A2UIProviderProps } from "./core/A2UIProvider";
4
+ export { A2UIRenderer } from "./core/A2UIRenderer";
5
+ export type { A2UIRendererProps } from "./core/A2UIRenderer";
6
+ export { A2UIViewer } from "./core/A2UIViewer";
7
+ export type { A2UIViewerProps, ComponentInstance, A2UIActionEvent, } from "./core/A2UIViewer";
8
+ export { ComponentNode } from "./core/ComponentNode";
9
+ export { useA2UI } from "./hooks/useA2UI";
10
+ export type { UseA2UIResult } from "./hooks/useA2UI";
11
+ export { useA2UIComponent } from "./hooks/useA2UIComponent";
12
+ export type { UseA2UIComponentResult } from "./hooks/useA2UIComponent";
13
+ export { ComponentRegistry } from "./registry/ComponentRegistry";
14
+ export { registerDefaultCatalog, initializeDefaultCatalog, } from "./registry/defaultCatalog";
15
+ export { ThemeProvider, useTheme, useThemeOptional, } from "./theme/ThemeContext";
16
+ export { litTheme, defaultTheme } from "./theme/litTheme";
17
+ export { cn, classMapToString, stylesToObject } from "./lib/utils";
18
+ export type { Types, Primitives, AnyComponentNode, Surface, SurfaceID, Theme, ServerToClientMessage, A2UIClientEventMessage, Action, DataValue, MessageProcessor, StringValue, NumberValue, BooleanValue, A2UIComponentProps, ComponentRegistration, ComponentLoader, OnActionCallback, A2UIProviderConfig, } from "./types";
19
+ export { Text } from "./components/content/Text";
20
+ export { Image } from "./components/content/Image";
21
+ export { Icon } from "./components/content/Icon";
22
+ export { Divider } from "./components/content/Divider";
23
+ export { Video } from "./components/content/Video";
24
+ export { AudioPlayer } from "./components/content/AudioPlayer";
25
+ export { Row } from "./components/layout/Row";
26
+ export { Column } from "./components/layout/Column";
27
+ export { List } from "./components/layout/List";
28
+ export { Card } from "./components/layout/Card";
29
+ export { Tabs } from "./components/layout/Tabs";
30
+ export { Modal } from "./components/layout/Modal";
31
+ export { Button } from "./components/interactive/Button";
32
+ export { TextField } from "./components/interactive/TextField";
33
+ export { CheckBox } from "./components/interactive/CheckBox";
34
+ export { Slider } from "./components/interactive/Slider";
35
+ export { DateTimeInput } from "./components/interactive/DateTimeInput";
36
+ export { MultipleChoice } from "./components/interactive/MultipleChoice";
37
37
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react-renderer/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,cAAc,EACd,YAAY,EAAE,mCAAmC;AACjD,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,mBAAmB,C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M,0BAA0B,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGlD,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC"}
@@ -1,40 +1,40 @@
1
1
  // Core components and provider
2
2
  export { A2UIProvider, useA2UIActions, useA2UIState, useA2UIContext, useA2UIStore, // @deprecated - use useA2UIContext
3
3
  useA2UIStoreSelector, // @deprecated - use useA2UIContext or useA2UI
4
- } from './core/A2UIProvider';
5
- export { A2UIRenderer } from './core/A2UIRenderer';
6
- export { A2UIViewer } from './core/A2UIViewer';
7
- export { ComponentNode } from './core/ComponentNode';
4
+ } from "./core/A2UIProvider";
5
+ export { A2UIRenderer } from "./core/A2UIRenderer";
6
+ export { A2UIViewer } from "./core/A2UIViewer";
7
+ export { ComponentNode } from "./core/ComponentNode";
8
8
  // Hooks
9
- export { useA2UI } from './hooks/useA2UI';
10
- export { useA2UIComponent } from './hooks/useA2UIComponent';
9
+ export { useA2UI } from "./hooks/useA2UI";
10
+ export { useA2UIComponent } from "./hooks/useA2UIComponent";
11
11
  // Registry
12
- export { ComponentRegistry } from './registry/ComponentRegistry';
13
- export { registerDefaultCatalog, initializeDefaultCatalog } from './registry/defaultCatalog';
12
+ export { ComponentRegistry } from "./registry/ComponentRegistry";
13
+ export { registerDefaultCatalog, initializeDefaultCatalog, } from "./registry/defaultCatalog";
14
14
  // Theme
15
- export { ThemeProvider, useTheme, useThemeOptional } from './theme/ThemeContext';
16
- export { litTheme, defaultTheme } from './theme/litTheme';
15
+ export { ThemeProvider, useTheme, useThemeOptional, } from "./theme/ThemeContext";
16
+ export { litTheme, defaultTheme } from "./theme/litTheme";
17
17
  // Utilities
18
- export { cn, classMapToString, stylesToObject } from './lib/utils';
18
+ export { cn, classMapToString, stylesToObject } from "./lib/utils";
19
19
  // Content components
20
- export { Text } from './components/content/Text';
21
- export { Image } from './components/content/Image';
22
- export { Icon } from './components/content/Icon';
23
- export { Divider } from './components/content/Divider';
24
- export { Video } from './components/content/Video';
25
- export { AudioPlayer } from './components/content/AudioPlayer';
20
+ export { Text } from "./components/content/Text";
21
+ export { Image } from "./components/content/Image";
22
+ export { Icon } from "./components/content/Icon";
23
+ export { Divider } from "./components/content/Divider";
24
+ export { Video } from "./components/content/Video";
25
+ export { AudioPlayer } from "./components/content/AudioPlayer";
26
26
  // Layout components
27
- export { Row } from './components/layout/Row';
28
- export { Column } from './components/layout/Column';
29
- export { List } from './components/layout/List';
30
- export { Card } from './components/layout/Card';
31
- export { Tabs } from './components/layout/Tabs';
32
- export { Modal } from './components/layout/Modal';
27
+ export { Row } from "./components/layout/Row";
28
+ export { Column } from "./components/layout/Column";
29
+ export { List } from "./components/layout/List";
30
+ export { Card } from "./components/layout/Card";
31
+ export { Tabs } from "./components/layout/Tabs";
32
+ export { Modal } from "./components/layout/Modal";
33
33
  // Interactive components
34
- export { Button } from './components/interactive/Button';
35
- export { TextField } from './components/interactive/TextField';
36
- export { CheckBox } from './components/interactive/CheckBox';
37
- export { Slider } from './components/interactive/Slider';
38
- export { DateTimeInput } from './components/interactive/DateTimeInput';
39
- export { MultipleChoice } from './components/interactive/MultipleChoice';
34
+ export { Button } from "./components/interactive/Button";
35
+ export { TextField } from "./components/interactive/TextField";
36
+ export { CheckBox } from "./components/interactive/CheckBox";
37
+ export { Slider } from "./components/interactive/Slider";
38
+ export { DateTimeInput } from "./components/interactive/DateTimeInput";
39
+ export { MultipleChoice } from "./components/interactive/MultipleChoice";
40
40
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceR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ue } from "clsx";
2
2
  /**
3
3
  * Utility function to merge class names.
4
4
  * Combines clsx for conditional classes.
@@ -17,7 +17,7 @@ export declare function cn(...inputs: ClassValue[]): string;
17
17
  * @param classMap - An object where keys are class names and values are booleans
18
18
  * @returns A space-separated string of class names where the value is true
19
19
  */
20
- export { classMapToString, stylesToObject } from '../theme/utils';
20
+ export { classMapToString, stylesToObject } from "../theme/utils";
21
21
  /**
22
22
  * Merges multiple class maps into a single class map.
23
23
  * Uses Lit's Styles.merge() function directly for consistency.
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/react-renderer/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C;;;;;;;;;GASG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAElD;AAED;;;;;;GAMG;AACH,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAElE;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,GAAG,IAAI,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,EAAE,GAC/C,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAKzB"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/react-renderer/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C;;;;;;;;;GASG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAElD;AAED;;;;;;GAMG;AACH,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAElE;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,GAAG,IAAI,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,EAAE,GAC/C,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAOzB"}
@@ -1,5 +1,5 @@
1
- import { clsx } from 'clsx';
2
- import { Styles } from '@a2ui/lit/0.8';
1
+ import { clsx } from "clsx";
2
+ import { Styles } from "@a2ui/lit/0.8";
3
3
  /**
4
4
  * Utility function to merge class names.
5
5
  * Combines clsx for conditional classes.
@@ -20,7 +20,7 @@ export function cn(...inputs) {
20
20
  * @param classMap - An object where keys are class names and values are booleans
21
21
  * @returns A space-separated string of class names where the value is true
22
22
  */
23
- export { classMapToString, stylesToObject } from '../theme/utils';
23
+ export { classMapToString, stylesToObject } from "../theme/utils";
24
24
  /**
25
25
  * Merges multiple class maps into a single class map.
26
26
  * Uses Lit's Styles.merge() function directly for consistency.
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/react-renderer/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,MAAM,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC;;;;;;;;;GASG;AACH,MAAM,UAAU,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;AACtB,CAAC;AAED;;;;;;GAMG;AACH,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAElE;;;;;;;;;GASG;AACH,MAAM,UAAU,cAAc,CAC5B,GAAG,IAA6C;IAEhD,yDAAyD;IACzD,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAgC,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC;IACpF,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,CAAC;AACpC,CAAC"}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/react-renderer/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,MAAM,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC;;;;;;;;;GASG;AACH,MAAM,UAAU,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;AACtB,CAAC;AAED;;;;;;GAMG;AACH,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAElE;;;;;;;;;GASG;AACH,MAAM,UAAU,cAAc,CAC5B,GAAG,IAA6C;IAEhD,yDAAyD;IACzD,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAC3B,CAAC,CAAC,EAAgC,EAAE,CAAC,CAAC,KAAK,SAAS,CACrD,CAAC;IACF,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,CAAC;AACpC,CAAC"}
@@ -1,6 +1,6 @@
1
- import { type ComponentType } from 'react';
2
- import type { Types } from '@a2ui/lit/0.8';
3
- import type { A2UIComponentProps, ComponentRegistration } from '../types';
1
+ import { type ComponentType } from "react";
2
+ import type { Types } from "@a2ui/lit/0.8";
3
+ import type { A2UIComponentProps, ComponentRegistration } from "../types";
4
4
  /**
5
5
  * Registry for A2UI components. Allows registration of custom components
6
6
  * and supports lazy loading for code splitting.
@@ -1 +1 @@
1
- {"version":3,"file":"ComponentRegistry.d.ts","sourceRoot":"","sources":["../../../src/react-renderer/registry/ComponentRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,KAAK,EAAE,kBAAkB,EAAmB,qBAAq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AAM,CAAC,WAAW,IAAI,iBAAiB;IAOvC;;;OAGG;IACH,MAAM,CAAC,aAAa,IAAI,IAAI;IAI5B;;;;;OAKG;IACH,QAAQ,CAAC,CAAC,SAAS,KAAK,CAAC,gBAAgB,EACvC,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,qBAAqB,CAAC,CAAC,CAAC,GACrC,IAAI;IAIP;;;;OAIG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAK9B;;;;;OAKG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAI1B;;;;;;OAMG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,CAAC,kBAAkB,CAAC,GAAG,IAAI;IAmB3D;;;;OAIG;IACH,kBAAkB,IAAI,MAAM,EAAE;IAI9B;;OAEG;IACH,KAAK,IAAI,IAAI;CAId"}
@@ -1,4 +1,4 @@
1
- import { lazy } from 'react';
1
+ import { lazy } from "react";
2
2
  /**
3
3
  * Registry for A2UI components. Allows registration of custom components
4
4
  * and supports lazy loading for code splitting.
@@ -82,7 +82,7 @@ export class ComponentRegistry {
82
82
  if (!registration)
83
83
  return null;
84
84
  // If lazy loading is enabled and the component is a loader function
85
- if (registration.lazy && typeof registration.component === 'function') {
85
+ if (registration.lazy && typeof registration.component === "function") {
86
86
  // Check cache first
87
87
  const cached = this.lazyCache.get(type);
88
88
  if (cached)
@@ -1 +1 @@
1
- {"version":3,"file":"ComponentRegistry.js","sourceRoot":"","sources":["../../../src/react-renderer/registry/ComponentRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAsB,MAAM,OAAO,CAAC;AAIjD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,OAAO,iBAAiB;IAA9B;QAEU,aAAQ,GAAG,IAAI,GAAG,EAAiC,CAAC;QACpD,cAAS,GAAG,IAAI,GAAG,EAA6C,CAAC;IAgG3E,CAAC;aAlGgB,cAAS,GAA6B,IAAI,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;YACtE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;YACxC,OAAO,aAAa,CAAC;QACvB,CAAC;QAED,OAAO,YAAY,CAAC,SAA8C,CAAC;IACrE,CAAC;IAED;;;;OAIG;IACH,kBAAkB;QAChB,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,KAAK;QACH,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;QACtB,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;IACzB,CAAC"}
1
+ {"version":3,"file":"ComponentRegistry.js","sourceRoot":"","sources":["../../../src/react-renderer/registry/ComponentRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAsB,MAAM,OAAO,CAAC;AAQjD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,OAAO,iBAAiB;IAA9B;QAEU,aAAQ,GAAG,IAAI,GAAG,EAAiC,CAAC;QACpD,cAAS,GAAG,IAAI,GAAG,EAA6C,CAAC;IAgG3E,CAAC;aAlGgB,cAAS,GAA6B,IAAI,AAAjC,CAAkC;IAI1D;;;OAGG;IACH,MAAM,CAAC,WAAW;QAChB,IAAI,CAAC,iBAAiB,CAAC,SAAS,EAAE,CAAC;YACjC,iBAAiB,CAAC,SAAS,GAAG,IAAI,iBAAiB,EAAE,CAAC;QACxD,CAAC;QACD,OAAO,iBAAiB,CAAC,SAAS,CAAC;IACrC,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,aAAa;QAClB,iBAAiB,CAAC,SAAS,GAAG,IAAI,CAAC;IACrC,CAAC;IAED;;;;;OAKG;IACH,QAAQ,CACN,IAAY,EACZ,YAAsC;QAEtC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,YAAgD,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IAC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{ ComponentRegistry } from "./ComponentRegistry";
2
2
  /**
3
3
  * Registers all standard A2UI components in the registry.
4
4
  *
@@ -1,25 +1,25 @@
1
- import { ComponentRegistry } from './ComponentRegistry';
1
+ import { ComponentRegistry } from "./ComponentRegistry";
2
2
  // Content components
3
- import { Text } from '../components/content/Text';
4
- import { Image } from '../components/content/Image';
5
- import { Icon } from '../components/content/Icon';
6
- import { Divider } from '../components/content/Divider';
7
- import { Video } from '../components/content/Video';
8
- import { AudioPlayer } from '../components/content/AudioPlayer';
3
+ import { Text } from "../components/content/Text";
4
+ import { Image } from "../components/content/Image";
5
+ import { Icon } from "../components/content/Icon";
6
+ import { Divider } from "../components/content/Divider";
7
+ import { Video } from "../components/content/Video";
8
+ import { AudioPlayer } from "../components/content/AudioPlayer";
9
9
  // Layout components
10
- import { Row } from '../components/layout/Row';
11
- import { Column } from '../components/layout/Column';
12
- import { List } from '../components/layout/List';
13
- import { Card } from '../components/layout/Card';
14
- import { Tabs } from '../components/layout/Tabs';
15
- import { Modal } from '../components/layout/Modal';
10
+ import { Row } from "../components/layout/Row";
11
+ import { Column } from "../components/layout/Column";
12
+ import { List } from "../components/layout/List";
13
+ import { Card } from "../components/layout/Card";
14
+ import { Tabs } from "../components/layout/Tabs";
15
+ import { Modal } from "../components/layout/Modal";
16
16
  // Interactive components
17
- import { Button } from '../components/interactive/Button';
18
- import { TextField } from '../components/interactive/TextField';
19
- import { CheckBox } from '../components/interactive/CheckBox';
20
- import { Slider } from '../components/interactive/Slider';
21
- import { DateTimeInput } from '../components/interactive/DateTimeInput';
22
- import { MultipleChoice } from '../components/interactive/MultipleChoice';
17
+ import { Button } from "../components/interactive/Button";
18
+ import { TextField } from "../components/interactive/TextField";
19
+ import { CheckBox } from "../components/interactive/CheckBox";
20
+ import { Slider } from "../components/interactive/Slider";
21
+ import { DateTimeInput } from "../components/interactive/DateTimeInput";
22
+ import { MultipleChoice } from "../components/interactive/MultipleChoice";
23
23
  /**
24
24
  * Registers all standard A2UI components in the registry.
25
25
  *
@@ -27,27 +27,27 @@ import { MultipleChoice } from '../components/interactive/MultipleChoice';
27
27
  */
28
28
  export function registerDefaultCatalog(registry) {
29
29
  // Content components (small, load immediately)
30
- registry.register('Text', { component: Text });
31
- registry.register('Image', { component: Image });
32
- registry.register('Icon', { component: Icon });
33
- registry.register('Divider', { component: Divider });
34
- registry.register('Video', { component: Video });
35
- registry.register('AudioPlayer', { component: AudioPlayer });
30
+ registry.register("Text", { component: Text });
31
+ registry.register("Image", { component: Image });
32
+ registry.register("Icon", { component: Icon });
33
+ registry.register("Divider", { component: Divider });
34
+ registry.register("Video", { component: Video });
35
+ registry.register("AudioPlayer", { component: AudioPlayer });
36
36
  // Layout components
37
- registry.register('Row', { component: Row });
38
- registry.register('Column', { component: Column });
39
- registry.register('List', { component: List });
40
- registry.register('Card', { component: Card });
37
+ registry.register("Row", { component: Row });
38
+ registry.register("Column", { component: Column });
39
+ registry.register("List", { component: List });
40
+ registry.register("Card", { component: Card });
41
41
  // Additional layout components
42
- registry.register('Tabs', { component: Tabs });
43
- registry.register('Modal', { component: Modal });
42
+ registry.register("Tabs", { component: Tabs });
43
+ registry.register("Modal", { component: Modal });
44
44
  // Interactive components
45
- registry.register('Button', { component: Button });
46
- registry.register('TextField', { component: TextField });
47
- registry.register('CheckBox', { component: CheckBox });
48
- registry.register('Slider', { component: Slider });
49
- registry.register('DateTimeInput', { component: DateTimeInput });
50
- registry.register('MultipleChoice', { component: MultipleChoice });
45
+ registry.register("Button", { component: Button });
46
+ registry.register("TextField", { component: TextField });
47
+ registry.register("CheckBox", { component: CheckBox });
48
+ registry.register("Slider", { component: Slider });
49
+ registry.register("DateTimeInput", { component: DateTimeInput });
50
+ registry.register("MultipleChoice", { component: MultipleChoice });
51
51
  }
52
52
  /**
53
53
  * Initialize the default catalog in the singleton registry.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react-renderer/styles/index.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAG9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAsZrC,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,YAAY,IAAI,IAAI,CAmBnC;AAED;;;GAGG;AACH,wBAAgB,YAAY,IAAI,IAAI,CASnC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react-renderer/styles/index.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAG9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAsZrC,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,YAAY,IAAI,IAAI,CAoBnC;AAED;;;GAGG;AACH,wBAAgB,YAAY,IAAI,IAAI,CASnC"}
@@ -1,11 +1,11 @@
1
- import { Styles } from '@a2ui/lit/0.8';
2
- import { resetStyles } from './reset';
1
+ import { Styles } from "@a2ui/lit/0.8";
2
+ import { resetStyles } from "./reset";
3
3
  /**
4
4
  * Structural CSS styles from the Lit renderer, converted for global DOM use.
5
5
  * These styles define all the utility classes (layout-*, typography-*, color-*, etc.)
6
6
  * Converts :host selectors to .a2ui-surface for scoped use outside Shadow DOM.
7
7
  */
8
- export const structuralStyles = Styles.structuralStyles.replace(/:host\s*\{/g, '.a2ui-surface {');
8
+ export const structuralStyles = Styles.structuralStyles.replace(/:host\s*\{/g, ".a2ui-surface {");
9
9
  /**
10
10
  * Component-specific styles that replicate Lit's Shadow DOM scoped CSS.
11
11
  *
@@ -441,20 +441,21 @@ export const componentSpecificStyles = `
441
441
  * ```
442
442
  */
443
443
  export function injectStyles() {
444
- if (typeof document === 'undefined') {
444
+ if (typeof document === "undefined") {
445
445
  return; // SSR safety
446
446
  }
447
- const styleId = 'a2ui-structural-styles';
447
+ const styleId = "a2ui-structural-styles";
448
448
  // Avoid duplicate injection
449
449
  if (document.getElementById(styleId)) {
450
450
  return;
451
451
  }
452
- const styleElement = document.createElement('style');
452
+ const styleElement = document.createElement("style");
453
453
  styleElement.id = styleId;
454
454
  // Include structural (utility classes) and component-specific styles
455
455
  // Note: CSS variables (palette) must be defined by the host application on :root,
456
456
  // just like in the Lit renderer. This allows full customization.
457
- styleElement.textContent = resetStyles + '\n' + structuralStyles + '\n' + componentSpecificStyles;
457
+ styleElement.textContent =
458
+ resetStyles + "\n" + structuralStyles + "\n" + componentSpecificStyles;
458
459
  document.head.appendChild(styleElement);
459
460
  }
460
461
  /**
@@ -462,10 +463,10 @@ export function injectStyles() {
462
463
  * Useful for cleanup in tests or when unmounting.
463
464
  */
464
465
  export function removeStyles() {
465
- if (typeof document === 'undefined') {
466
+ if (typeof document === "undefined") {
466
467
  return;
467
468
  }
468
- const styleElement = document.getElementById('a2ui-structural-styles');
469
+ const styleElement = document.getElementById("a2ui-structural-styles");
469
470
  if (styleElement) {
470
471
  styleElement.remove();
471
472
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react-renderer/styles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAW,MAAM,CAAC,gBAAgB,CAAC,OAAO,CACrE,aAAa,EACb,iBAAiB,CAClB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AG,IAAI,GAAG,gBAAgB,GAAG,IAAI,GAAG,uBAAuB,CAAC;IACzE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;AAC1C,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,YAAY;IAC1B,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,CAAC;QACpC,OAAO;IACT,CAAC;IAED,MAAM,YAAY,GAAG,QAAQ,CAAC,cAAc,CAAC,wBAAwB,CAAC,CAAC;IACvE,IAAI,YAAY,EAAE,CAAC;QACjB,YAAY,CAAC,MAAM,EAAE,CAAC;IACxB,CAAC;AACH,CAAC"}
@@ -1,5 +1,5 @@
1
- import { type ReactNode } from 'react';
2
- import type { Types } from '@a2ui/lit/0.8';
1
+ import { type ReactNode } from "react";
2
+ import type { Types } from "@a2ui/lit/0.8";
3
3
  /**
4
4
  * Props for the ThemeProvider component.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../../src/react-renderer/theme/ThemeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAQ3C;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,yEAAyE;IACzE,KAAK,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC;IACpB,0DAA0D;IAC1D,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAMpE;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,IAAI,KAAK,CAAC,KAAK,CAMtC;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,KAAK,CAAC,KAAK,GAAG,SAAS,CAE1D"}
1
+ {"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../../src/react-renderer/theme/ThemeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAQ3C;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,yEAAyE;IACzE,KAAK,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC;IACpB,0DAA0D;IAC1D,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAMpE;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,IAAI,KAAK,CAAC,KAAK,CAQtC;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,KAAK,CAAC,KAAK,GAAG,SAAS,CAE1D"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { createContext, useContext } from 'react';
3
- import { defaultTheme } from './litTheme';
2
+ import { createContext, useContext } from "react";
3
+ import { defaultTheme } from "./litTheme";
4
4
  /**
5
5
  * React context for the A2UI theme.
6
6
  */
@@ -20,7 +20,7 @@ export function ThemeProvider({ theme, children }) {
20
20
  export function useTheme() {
21
21
  const theme = useContext(ThemeContext);
22
22
  if (!theme) {
23
- throw new Error('useTheme must be used within a ThemeProvider or A2UIProvider');
23
+ throw new Error("useTheme must be used within a ThemeProvider or A2UIProvider");
24
24
  }
25
25
  return theme;
26
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../../../src/react-renderer/theme/ThemeContext.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C;;GAEG;AACH,MAAM,YAAY,GAAG,aAAa,CAA0B,SAAS,CAAC,CAAC;AAYv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gBAAgB;IAC9B,OAAO,UAAU,CAAC,YAAY,CAAC,CAAC;AAClC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { Types } from '@a2ui/lit/0.8';
1
+ import type { Types } from "@a2ui/lit/0.8";
2
2
  export declare const litTheme: Types.Theme;
3
3
  /**
4
4
  * Alias for litTheme - the default theme for A2UI React components.