@hanzo/ui 8.27.14 → 8.27.16

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 (178) hide show
  1. package/NOTICE +19 -0
  2. package/dist/agents/Attachments.cjs +29 -0
  3. package/dist/agents/Attachments.d.ts +31 -0
  4. package/dist/agents/Attachments.d.ts.map +1 -0
  5. package/dist/agents/Attachments.js +27 -0
  6. package/dist/agents/Attachments.js.map +1 -0
  7. package/dist/agents/Choice.cjs +47 -0
  8. package/dist/agents/Choice.d.ts +34 -0
  9. package/dist/agents/Choice.d.ts.map +1 -0
  10. package/dist/agents/Choice.js +44 -0
  11. package/dist/agents/Choice.js.map +1 -0
  12. package/dist/agents/Console.cjs +106 -0
  13. package/dist/agents/Console.d.ts +54 -0
  14. package/dist/agents/Console.d.ts.map +1 -0
  15. package/dist/agents/Console.js +104 -0
  16. package/dist/agents/Console.js.map +1 -0
  17. package/dist/agents/Feedback.cjs +50 -0
  18. package/dist/agents/Feedback.d.ts +25 -0
  19. package/dist/agents/Feedback.d.ts.map +1 -0
  20. package/dist/agents/Feedback.js +48 -0
  21. package/dist/agents/Feedback.js.map +1 -0
  22. package/dist/agents/FileTabs.cjs +63 -0
  23. package/dist/agents/FileTabs.d.ts +45 -0
  24. package/dist/agents/FileTabs.d.ts.map +1 -0
  25. package/dist/agents/FileTabs.js +61 -0
  26. package/dist/agents/FileTabs.js.map +1 -0
  27. package/dist/agents/FileTree.cjs +160 -0
  28. package/dist/agents/FileTree.d.ts +41 -0
  29. package/dist/agents/FileTree.d.ts.map +1 -0
  30. package/dist/agents/FileTree.js +157 -0
  31. package/dist/agents/FileTree.js.map +1 -0
  32. package/dist/agents/PreviewFrame.cjs +108 -0
  33. package/dist/agents/PreviewFrame.d.ts +78 -0
  34. package/dist/agents/PreviewFrame.d.ts.map +1 -0
  35. package/dist/agents/PreviewFrame.js +105 -0
  36. package/dist/agents/PreviewFrame.js.map +1 -0
  37. package/dist/agents/Suggestions.cjs +29 -0
  38. package/dist/agents/Suggestions.d.ts +28 -0
  39. package/dist/agents/Suggestions.d.ts.map +1 -0
  40. package/dist/agents/Suggestions.js +26 -0
  41. package/dist/agents/Suggestions.js.map +1 -0
  42. package/dist/agents/Workspace.cjs +103 -0
  43. package/dist/agents/Workspace.d.ts +104 -0
  44. package/dist/agents/Workspace.d.ts.map +1 -0
  45. package/dist/agents/Workspace.js +98 -0
  46. package/dist/agents/Workspace.js.map +1 -0
  47. package/dist/agents/bridge.cjs +201 -0
  48. package/dist/agents/bridge.d.ts +102 -0
  49. package/dist/agents/bridge.d.ts.map +1 -0
  50. package/dist/agents/bridge.js +197 -0
  51. package/dist/agents/bridge.js.map +1 -0
  52. package/dist/agents/index.cjs +64 -1
  53. package/dist/agents/index.d.ts +23 -0
  54. package/dist/agents/index.d.ts.map +1 -1
  55. package/dist/agents/index.js +23 -0
  56. package/dist/agents/index.js.map +1 -1
  57. package/dist/agents/log.cjs +75 -0
  58. package/dist/agents/log.d.ts +58 -0
  59. package/dist/agents/log.d.ts.map +1 -0
  60. package/dist/agents/log.js +65 -0
  61. package/dist/agents/log.js.map +1 -0
  62. package/dist/agents/tree.cjs +238 -0
  63. package/dist/agents/tree.d.ts +99 -0
  64. package/dist/agents/tree.d.ts.map +1 -0
  65. package/dist/agents/tree.js +226 -0
  66. package/dist/agents/tree.js.map +1 -0
  67. package/dist/backends/gui/3d-card.d.ts +6 -6
  68. package/dist/backends/gui/3d-marquee.d.ts +7 -8
  69. package/dist/backends/gui/3d-marquee.d.ts.map +1 -1
  70. package/dist/backends/gui/3d-pin.d.ts +1 -1
  71. package/dist/backends/gui/alert.d.ts +3 -3
  72. package/dist/backends/gui/android.d.ts +1 -1
  73. package/dist/backends/gui/animated-testimonials.d.ts +1 -1
  74. package/dist/backends/gui/animated-tooltip.d.ts +1 -1
  75. package/dist/backends/gui/announcement.d.ts +1 -1
  76. package/dist/backends/gui/banner.d.ts +1 -1
  77. package/dist/backends/gui/button.d.ts +1 -1
  78. package/dist/backends/gui/card.d.ts +7 -7
  79. package/dist/backends/gui/code-editor.cjs +2 -2
  80. package/dist/backends/gui/code-editor.d.ts +7 -1
  81. package/dist/backends/gui/code-editor.d.ts.map +1 -1
  82. package/dist/backends/gui/code-editor.js +2 -2
  83. package/dist/backends/gui/code-editor.js.map +1 -1
  84. package/dist/backends/gui/command.d.ts +5 -5
  85. package/dist/backends/gui/command.d.ts.map +1 -1
  86. package/dist/backends/gui/context-menu.d.ts +14 -14
  87. package/dist/backends/gui/context-menu.d.ts.map +1 -1
  88. package/dist/backends/gui/credit-card.d.ts +1 -1
  89. package/dist/backends/gui/desktop.d.ts +1 -1
  90. package/dist/backends/gui/dock.d.ts +3 -3
  91. package/dist/backends/gui/dropdown-menu.d.ts +16 -16
  92. package/dist/backends/gui/dropdown-menu.d.ts.map +1 -1
  93. package/dist/backends/gui/empty.d.ts +6 -6
  94. package/dist/backends/gui/field.d.ts +3 -3
  95. package/dist/backends/gui/gantt.d.ts +1 -1
  96. package/dist/backends/gui/grid-pattern.d.ts +1 -2
  97. package/dist/backends/gui/grid-pattern.d.ts.map +1 -1
  98. package/dist/backends/gui/image-zoom.d.ts +1 -1
  99. package/dist/backends/gui/iphone-15-pro.d.ts +1 -1
  100. package/dist/backends/gui/item.d.ts +9 -9
  101. package/dist/backends/gui/list.d.ts +2 -2
  102. package/dist/backends/gui/macos-dock.d.ts +2 -2
  103. package/dist/backends/gui/magnetic.d.ts +1 -1
  104. package/dist/backends/gui/marquee.d.ts +1 -15
  105. package/dist/backends/gui/marquee.d.ts.map +1 -1
  106. package/dist/backends/gui/menu-dock.d.ts +1 -1
  107. package/dist/backends/gui/menubar.d.ts +15 -15
  108. package/dist/backends/gui/menubar.d.ts.map +1 -1
  109. package/dist/backends/gui/message-dock.d.ts +1 -1
  110. package/dist/backends/gui/motion-highlight.d.ts +1 -12
  111. package/dist/backends/gui/motion-highlight.d.ts.map +1 -1
  112. package/dist/backends/gui/pagination.d.ts +4 -4
  113. package/dist/backends/gui/qr-code.d.ts +1 -2
  114. package/dist/backends/gui/qr-code.d.ts.map +1 -1
  115. package/dist/backends/gui/scroll-area.d.ts +3 -14
  116. package/dist/backends/gui/scroll-area.d.ts.map +1 -1
  117. package/dist/backends/gui/sheet.d.ts +3 -3
  118. package/dist/backends/gui/sheet.d.ts.map +1 -1
  119. package/dist/backends/gui/status.d.ts +1 -1
  120. package/dist/backends/gui/table.d.ts +8 -8
  121. package/dist/backends/gui/toaster.d.ts +1 -15
  122. package/dist/backends/gui/toaster.d.ts.map +1 -1
  123. package/dist/backends/gui/toggle.d.ts +1 -1
  124. package/dist/backends/gui/video-player.d.ts +1 -1
  125. package/dist/chat/Composer.cjs +60 -9
  126. package/dist/chat/Composer.d.ts +42 -2
  127. package/dist/chat/Composer.d.ts.map +1 -1
  128. package/dist/chat/Composer.js +61 -11
  129. package/dist/chat/Composer.js.map +1 -1
  130. package/dist/chat/EmptyPrompt.cjs +27 -0
  131. package/dist/chat/EmptyPrompt.d.ts +30 -0
  132. package/dist/chat/EmptyPrompt.d.ts.map +1 -0
  133. package/dist/chat/EmptyPrompt.js +24 -0
  134. package/dist/chat/EmptyPrompt.js.map +1 -0
  135. package/dist/chat/SessionRail.cjs +97 -0
  136. package/dist/chat/SessionRail.d.ts +97 -0
  137. package/dist/chat/SessionRail.d.ts.map +1 -0
  138. package/dist/chat/SessionRail.js +94 -0
  139. package/dist/chat/SessionRail.js.map +1 -0
  140. package/dist/chat/Thread.d.ts +2 -8
  141. package/dist/chat/Thread.d.ts.map +1 -1
  142. package/dist/chat/index.cjs +8 -1
  143. package/dist/chat/index.d.ts +3 -1
  144. package/dist/chat/index.d.ts.map +1 -1
  145. package/dist/chat/index.js +3 -1
  146. package/dist/chat/index.js.map +1 -1
  147. package/dist/gallery.cjs +28 -1
  148. package/dist/gallery.d.ts.map +1 -1
  149. package/dist/gallery.html +71 -3
  150. package/dist/gallery.js +30 -3
  151. package/dist/gallery.js.map +1 -1
  152. package/dist/product/BranchSelect.cjs +27 -0
  153. package/dist/product/BranchSelect.d.ts +27 -0
  154. package/dist/product/BranchSelect.d.ts.map +1 -0
  155. package/dist/product/BranchSelect.js +23 -0
  156. package/dist/product/BranchSelect.js.map +1 -0
  157. package/dist/product/ChipSelect.cjs +267 -0
  158. package/dist/product/ChipSelect.d.ts +71 -0
  159. package/dist/product/ChipSelect.d.ts.map +1 -0
  160. package/dist/product/ChipSelect.js +265 -0
  161. package/dist/product/ChipSelect.js.map +1 -0
  162. package/dist/product/RepoSelect.cjs +75 -0
  163. package/dist/product/RepoSelect.d.ts +63 -0
  164. package/dist/product/RepoSelect.d.ts.map +1 -0
  165. package/dist/product/RepoSelect.js +69 -0
  166. package/dist/product/RepoSelect.js.map +1 -0
  167. package/dist/product/chipSelect.logic.cjs +147 -0
  168. package/dist/product/chipSelect.logic.d.ts +92 -0
  169. package/dist/product/chipSelect.logic.d.ts.map +1 -0
  170. package/dist/product/chipSelect.logic.js +138 -0
  171. package/dist/product/chipSelect.logic.js.map +1 -0
  172. package/dist/product/index.cjs +23 -1
  173. package/dist/product/index.d.ts +4 -0
  174. package/dist/product/index.d.ts.map +1 -1
  175. package/dist/product/index.js +7 -0
  176. package/dist/product/index.js.map +1 -1
  177. package/dist/styles.css +68 -0
  178. package/package.json +2 -4
@@ -1,5 +1,5 @@
1
1
  import type { ComponentProps } from 'react';
2
- declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
2
+ declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
3
3
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
4
4
  fullscreen?: boolean | undefined;
5
5
  }, import("@hanzogui/web").StaticConfigPublic>;
@@ -12,17 +12,17 @@
12
12
  */
13
13
  import { type ComponentProps } from 'react';
14
14
  export type AlertVariant = 'default' | 'destructive';
15
- declare const AlertFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
15
+ declare const AlertFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
16
16
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
17
17
  fullscreen?: boolean | undefined;
18
18
  variant?: "default" | "destructive" | undefined;
19
19
  }, import("@hanzogui/web").StaticConfigPublic>;
20
- declare const AlertTitleText: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
20
+ declare const AlertTitleText: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
21
21
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
22
22
  unstyled?: boolean | undefined;
23
23
  variant?: "default" | "destructive" | undefined;
24
24
  }, import("@hanzogui/web").StaticConfigPublic>;
25
- declare const AlertDescriptionText: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
25
+ declare const AlertDescriptionText: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
26
26
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
27
27
  unstyled?: boolean | undefined;
28
28
  variant?: "default" | "destructive" | undefined;
@@ -1,6 +1,6 @@
1
1
  import type { ComponentProps } from 'react';
2
2
  export type AndroidSize = 'sm' | 'default' | 'lg' | 'xl';
3
- declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
3
+ declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
4
4
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
5
5
  fullscreen?: boolean | undefined;
6
6
  size?: "default" | "lg" | "sm" | "xl" | undefined;
@@ -7,7 +7,7 @@ export type Testimonial = {
7
7
  company?: string;
8
8
  avatar?: string;
9
9
  };
10
- declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
10
+ declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
11
11
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
12
12
  fullscreen?: boolean | undefined;
13
13
  }, import("@hanzogui/web").StaticConfigPublic>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
2
+ declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
3
3
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
4
4
  fullscreen?: boolean | undefined;
5
5
  }, import("@hanzogui/web").StaticConfigPublic>;
@@ -12,7 +12,7 @@
12
12
  * over the host's.
13
13
  */
14
14
  import { type ComponentProps, type ReactNode } from 'react';
15
- declare const AnnouncementFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
15
+ declare const AnnouncementFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
16
16
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
17
17
  fullscreen?: boolean | undefined;
18
18
  }, import("@hanzogui/web").StaticConfigPublic>;
@@ -19,7 +19,7 @@
19
19
  */
20
20
  import { type ComponentProps } from 'react';
21
21
  export type BannerVariant = 'default' | 'info' | 'success' | 'warning' | 'error';
22
- declare const BannerFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
22
+ declare const BannerFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
23
23
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
24
24
  fullscreen?: boolean | undefined;
25
25
  variant?: "default" | "error" | "info" | "success" | "warning" | undefined;
@@ -2,7 +2,7 @@ import { type ComponentProps, type MouseEventHandler, type ReactNode } from 'rea
2
2
  import type { Microdata } from './microdata.js';
3
3
  export type ButtonVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link' | 'primary' | 'linkFG' | 'linkMuted';
4
4
  export type ButtonSize = 'default' | 'sm' | 'lg' | 'icon' | 'icon-sm' | 'icon-lg';
5
- declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
5
+ declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
6
6
  chromeless?: "all" | boolean | undefined;
7
7
  circular?: boolean | undefined;
8
8
  disabled?: boolean | undefined;
@@ -1,31 +1,31 @@
1
1
  import type { ComponentProps } from 'react';
2
2
  import { type AspectRatioProps } from './aspect-ratio.js';
3
3
  import type { Microdata } from './microdata.js';
4
- declare const CardFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
4
+ declare const CardFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
5
5
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
6
6
  fullscreen?: boolean | undefined;
7
7
  }, import("@hanzogui/web").StaticConfigPublic>;
8
- declare const HeaderFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
8
+ declare const HeaderFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
9
9
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
10
10
  fullscreen?: boolean | undefined;
11
11
  }, import("@hanzogui/web").StaticConfigPublic>;
12
- declare const TitleFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
12
+ declare const TitleFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
13
13
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
14
14
  unstyled?: boolean | undefined;
15
15
  }, import("@hanzogui/web").StaticConfigPublic>;
16
- declare const DescriptionFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
16
+ declare const DescriptionFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
17
17
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
18
18
  unstyled?: boolean | undefined;
19
19
  }, import("@hanzogui/web").StaticConfigPublic>;
20
- declare const ActionFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
20
+ declare const ActionFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
21
21
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
22
22
  fullscreen?: boolean | undefined;
23
23
  }, import("@hanzogui/web").StaticConfigPublic>;
24
- declare const ContentFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
24
+ declare const ContentFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
25
25
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
26
26
  fullscreen?: boolean | undefined;
27
27
  }, import("@hanzogui/web").StaticConfigPublic>;
28
- declare const FooterFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
28
+ declare const FooterFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
29
29
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
30
30
  fullscreen?: boolean | undefined;
31
31
  }, import("@hanzogui/web").StaticConfigPublic>;
@@ -122,7 +122,7 @@ const PALETTE = {
122
122
  const INDENT = ' ';
123
123
  /** Line height as a multiple of the font size. */
124
124
  const LEADING = 1.5;
125
- function CodeEditor({ value, defaultValue = '', language = 'javascript', height = '400px', theme = 'auto', onChange, onMount, readOnly = false, lineNumbers = true, minimap: _minimap, wordWrap = 'on', fontSize = 14, showCopyButton = true, showLanguageSelector = true, availableLanguages = LANGUAGES, ...props }) {
125
+ function CodeEditor({ value, defaultValue = '', language = 'javascript', height = '400px', theme = 'auto', onChange, onMount, readOnly = false, lineNumbers = true, minimap: _minimap, wordWrap = 'on', fontSize = 14, showCopyButton = true, showLanguageSelector = true, availableLanguages = LANGUAGES, label = 'Code', ...props }) {
126
126
  const [typed, setTyped] = React.useState(defaultValue);
127
127
  const text = value ?? typed;
128
128
  const [selected, setSelected] = React.useState(language);
@@ -182,7 +182,7 @@ function CodeEditor({ value, defaultValue = '', language = 'javascript', height
182
182
  textAlign: 'right',
183
183
  transform: `translateY(${-scrollTop}px)`,
184
184
  ...(named && { color: named.gutter }),
185
- }, children: gutter }) })), (0, jsx_runtime_1.jsx)(gui_1.TextArea, { ref: field, ...(0, slot_1.slot)('code-editor-textarea'), value: text, onChangeText: change, onKeyDown: key, readOnly: readOnly, unstyled: true, flex: 1, minH: 0, borderWidth: 0, rounded: 0, px: "$2", py: control_1.RISER, fontFamily: "$mono", color: "$color", bg: "transparent", style: {
185
+ }, children: gutter }) })), (0, jsx_runtime_1.jsx)(gui_1.TextArea, { ref: field, ...(0, slot_1.slot)('code-editor-textarea'), "aria-label": label, value: text, onChangeText: change, onKeyDown: key, readOnly: readOnly, unstyled: true, flex: 1, minH: 0, borderWidth: 0, rounded: 0, px: "$2", py: control_1.RISER, fontFamily: "$mono", color: "$color", bg: "transparent", style: {
186
186
  fontSize,
187
187
  lineHeight,
188
188
  whiteSpace: wrap ? 'pre-wrap' : 'pre',
@@ -38,6 +38,12 @@ export interface CodeEditorProps extends Omit<YStackProps, 'children' | 'height'
38
38
  showCopyButton?: boolean;
39
39
  showLanguageSelector?: boolean;
40
40
  availableLanguages?: readonly string[];
41
+ /**
42
+ * The field's accessible name. A text field with none is announced as
43
+ * "edit text" with nothing to say what it holds; a file's path is the usual
44
+ * answer. Defaults to "Code".
45
+ */
46
+ label?: string;
41
47
  }
42
- export declare function CodeEditor({ value, defaultValue, language, height, theme, onChange, onMount, readOnly, lineNumbers, minimap: _minimap, wordWrap, fontSize, showCopyButton, showLanguageSelector, availableLanguages, ...props }: CodeEditorProps): React.JSX.Element;
48
+ export declare function CodeEditor({ value, defaultValue, language, height, theme, onChange, onMount, readOnly, lineNumbers, minimap: _minimap, wordWrap, fontSize, showCopyButton, showLanguageSelector, availableLanguages, label, ...props }: CodeEditorProps): React.JSX.Element;
43
49
  //# sourceMappingURL=code-editor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"code-editor.d.ts","sourceRoot":"","sources":["../../../src/backends/gui/code-editor.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAyC,KAAK,WAAW,EAAE,MAAM,YAAY,CAAA;AAEpF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;AACvD,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,KAAK,GAAG,gBAAgB,GAAG,SAAS,CAAA;AAoE5E,MAAM,WAAW,eAAgB,S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,QAAa,EACb,cAAqB,EACrB,oBAA2B,EAC3B,kBAA8B,EAC9B,KAAc,EACd,GAAG,KAAK,EACT,EAAE,eAAe,qBAsLjB"}
@@ -86,7 +86,7 @@ const PALETTE = {
86
86
  const INDENT = ' ';
87
87
  /** Line height as a multiple of the font size. */
88
88
  const LEADING = 1.5;
89
- export function CodeEditor({ value, defaultValue = '', language = 'javascript', height = '400px', theme = 'auto', onChange, onMount, readOnly = false, lineNumbers = true, minimap: _minimap, wordWrap = 'on', fontSize = 14, showCopyButton = true, showLanguageSelector = true, availableLanguages = LANGUAGES, ...props }) {
89
+ export function CodeEditor({ value, defaultValue = '', language = 'javascript', height = '400px', theme = 'auto', onChange, onMount, readOnly = false, lineNumbers = true, minimap: _minimap, wordWrap = 'on', fontSize = 14, showCopyButton = true, showLanguageSelector = true, availableLanguages = LANGUAGES, label = 'Code', ...props }) {
90
90
  const [typed, setTyped] = React.useState(defaultValue);
91
91
  const text = value ?? typed;
92
92
  const [selected, setSelected] = React.useState(language);
@@ -146,7 +146,7 @@ export function CodeEditor({ value, defaultValue = '', language = 'javascript',
146
146
  textAlign: 'right',
147
147
  transform: `translateY(${-scrollTop}px)`,
148
148
  ...(named && { color: named.gutter }),
149
- }, children: gutter }) })), _jsx(TextArea, { ref: field, ...slot('code-editor-textarea'), value: text, onChangeText: change, onKeyDown: key, readOnly: readOnly, unstyled: true, flex: 1, minH: 0, borderWidth: 0, rounded: 0, px: "$2", py: RISER, fontFamily: "$mono", color: "$color", bg: "transparent", style: {
149
+ }, children: gutter }) })), _jsx(TextArea, { ref: field, ...slot('code-editor-textarea'), "aria-label": label, value: text, onChangeText: change, onKeyDown: key, readOnly: readOnly, unstyled: true, flex: 1, minH: 0, borderWidth: 0, rounded: 0, px: "$2", py: RISER, fontFamily: "$mono", color: "$color", bg: "transparent", style: {
150
150
  fontSize,
151
151
  lineHeight,
152
152
  whiteSpace: wrap ? 'pre-wrap' : 'pre',
@@ -1 +1 @@
1
- {"version":3,"file":"code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AClC,GACD,IACK,IACF,CACV,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"code-editor.js","sourceRoot":"","sources":["../../../src/backends/gui/code-editor.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAoB,MAAM,YAAY,CAAA;AACpF,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA;AACtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AACjC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AAKjC,4EAA4E;AAC5E,MAAM,SAAS,GAAG;IAChB,YAAY;IACZ,YAAY;IACZ,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,KAAK;IACL,GAAG;IACH,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,OAAO;IACP,QAAQ;IACR,MAAM;IACN,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,KAAK;IACL,MAAM;IACN,KAAK;IACL,UAAU;IACV,OAAO;IACP,WAAW;CACH,CAAA;AAEV,MAAM,KAAK,GAA2B;IACpC,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,IAAI;IACZ,GAAG,EAAE,KAAK;IACV,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ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AAM,EAAE,MAAM;4BACd,GAAG,CAAC,KAAK,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC;yBAClC,GACD,IACK,IACF,CACV,CAAA;AACH,CAAC"}
@@ -40,7 +40,7 @@ export type CommandProps = Omit<ComponentProps<typeof YStack>, 'onSelect'> & {
40
40
  /** Hovering an item no longer selects it. */
41
41
  disablePointerSelection?: boolean;
42
42
  };
43
- declare const Command: import("react").ForwardRefExoticComponent<Omit<CommandProps, "ref"> & RefAttributes<GuiElement>>;
43
+ declare const Command: import("react").ForwardRefExoticComponent<Omit<CommandProps, "ref"> & RefAttributes<any>>;
44
44
  /**
45
45
  * Dialog props, plus the palette's OWN behaviour forwarded to the `Command`
46
46
  * inside it.
@@ -73,11 +73,11 @@ export type CommandInputProps = Omit<ComponentProps<typeof Input>, 'value' | 'on
73
73
  value?: string;
74
74
  onValueChange?: (search: string) => void;
75
75
  };
76
- declare const CommandInput: import("react").ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & RefAttributes<GuiElement>>;
76
+ declare const CommandInput: import("react").ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & RefAttributes<any>>;
77
77
  export type CommandListProps = ComponentProps<typeof ScrollView>;
78
78
  declare const CommandList: FC<CommandListProps & RefAttributes<GuiElement>>;
79
79
  export type CommandEmptyProps = ComponentProps<typeof YStack>;
80
- declare const CommandEmpty: import("react").ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/core").RNGuiViewNonStyleProps, "elevation" | "fullscreen" | keyof import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithThemeValues<Omit<import("@hanzogui/web").StackStyleBase, import("@hanzogui/web").Longhands>> & {
80
+ declare const CommandEmpty: import("react").ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/core").RNGuiViewNonStyleProps, keyof import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithThemeValues<Omit<import("@hanzogui/web").StackStyleBase, import("@hanzogui/web").Longhands>> & {
81
81
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
82
82
  fullscreen?: boolean | undefined;
83
83
  } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<Omit<import("@hanzogui/web").StackStyleBase, import("@hanzogui/web").Longhands>> & {
@@ -86,11 +86,11 @@ declare const CommandEmpty: import("react").ForwardRefExoticComponent<Omit<Omit<
86
86
  } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase, {
87
87
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
88
88
  fullscreen?: boolean | undefined;
89
- }>> & RefAttributes<GuiElement>, "ref"> & RefAttributes<GuiElement>>;
89
+ }>> & RefAttributes<any>, "ref"> & RefAttributes<any>>;
90
90
  export type CommandGroupProps = ComponentProps<typeof YStack> & {
91
91
  heading?: ReactNode;
92
92
  };
93
- declare const CommandGroup: import("react").ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & RefAttributes<GuiElement>>;
93
+ declare const CommandGroup: import("react").ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & RefAttributes<any>>;
94
94
  export type CommandSeparatorProps = ComponentProps<typeof Separator> & {
95
95
  /** Keep the rule while a search is active. */
96
96
  alwaysRender?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/backends/gui/command.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAYL,KAAK,cAAc,EAEnB,KAAK,EAAE,EACP,KAAK,SAAS,EACd,KAAK,aAAa,EACnB,MAAM,OAAO,CAAA;AACd,OAAO,EACL,MAAM,EAMN,KAAK,EACL,QAAQ,EACR,UAAU,EACV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MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,GAAG,aAAa,CAAC,UAAU,CAAC,CAM3E,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IAC3F,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACnC,CAAA;AAED,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,GAAG,aAAa,CAAC,UAAU,CAAC,CAsCjE,CAAA;AAED,kFAAkF;AAClF,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAA;AAErE,QAAA,MAAM,eAAe,UAAW,oBAAoB,gCASnD,CAAA;AAED,OAAO,EACL,OAAO,EACP,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,GACjB,CAAA"}
@@ -64,30 +64,30 @@ export type ContextMenuItemProps = Omit<React.ComponentProps<typeof GuiContextMe
64
64
  inset?: boolean;
65
65
  variant?: 'default' | 'destructive';
66
66
  };
67
- declare const ContextMenuItem: React.ForwardRefExoticComponent<Omit<ContextMenuItemProps, "ref"> & React.RefAttributes<GuiElement>>;
67
+ declare const ContextMenuItem: React.ForwardRefExoticComponent<Omit<ContextMenuItemProps, "ref"> & React.RefAttributes<any>>;
68
68
  declare const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
69
69
  unstyled?: boolean | undefined;
70
- }>, "scope" | keyof import("@hanzo/gui").MenuCheckboxItemProps> & import("@hanzo/gui").MenuCheckboxItemProps & {
70
+ }>, keyof import("@hanzo/gui").MenuCheckboxItemProps> & import("@hanzo/gui").MenuCheckboxItemProps & {
71
71
  scope?: string;
72
- } & React.RefAttributes<GuiElement>, "ref"> & {
72
+ } & React.RefAttributes<any>, "ref"> & {
73
73
  scope?: string;
74
- } & React.RefAttributes<GuiElement> & Partial<Omit<Omit<import("@hanzo/gui").NativeMenuItemProps, "onSelect"> & {
74
+ } & React.RefAttributes<any> & Partial<Omit<Omit<import("@hanzo/gui").NativeMenuItemProps, "onSelect"> & {
75
75
  checked?: boolean;
76
76
  onCheckedChange?: (checked: boolean) => void;
77
77
  value?: 'mixed' | 'on' | 'off' | boolean;
78
78
  onValueChange?: (state: 'mixed' | 'on' | 'off', prevState: 'mixed' | 'on' | 'off') => void;
79
79
  key: string;
80
- }, "scope" | keyof import("@hanzo/gui").MenuCheckboxItemProps | keyof React.RefAttributes<GuiElement>>>, "ref"> & React.RefAttributes<GuiElement>>;
80
+ }, string | number | symbol>>, "ref"> & React.RefAttributes<any>>;
81
81
  declare const ContextMenuRadioItem: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
82
82
  unstyled?: boolean | undefined;
83
- }>, "scope" | keyof import("@hanzo/gui").MenuRadioItemProps> & import("@hanzo/gui").MenuRadioItemProps & {
83
+ }>, keyof import("@hanzo/gui").MenuRadioItemProps> & import("@hanzo/gui").MenuRadioItemProps & {
84
84
  scope?: string;
85
- } & React.RefAttributes<GuiElement>, "ref"> & {
85
+ } & React.RefAttributes<any>, "ref"> & {
86
86
  scope?: string;
87
- } & React.RefAttributes<GuiElement> & Partial<Omit<any, "scope" | keyof import("@hanzo/gui").MenuRadioItemProps | keyof React.RefAttributes<GuiElement>>>, "ref"> & React.RefAttributes<GuiElement>>;
88
- declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzo/gui").MenuSubTriggerProps & {
87
+ } & React.RefAttributes<any> & Partial<Omit<any, string | number | symbol>>, "ref"> & React.RefAttributes<any>>;
88
+ declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("@hanzo/gui").MenuSubTriggerProps & {
89
89
  scope?: string;
90
- } & React.RefAttributes<GuiElement>, "ref"> & {
90
+ } & React.RefAttributes<any>, "ref"> & {
91
91
  children: React.ReactNode;
92
92
  textValue?: string;
93
93
  onSelect?: (event?: Event) => void;
@@ -100,16 +100,16 @@ declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<Omit<i
100
100
  key: string;
101
101
  }, "inset"> & {
102
102
  inset?: boolean;
103
- } & React.RefAttributes<GuiElement>>;
103
+ }, "ref"> & React.RefAttributes<any>>;
104
104
  declare const ContextMenuLabel: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
105
105
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
106
106
  unstyled?: boolean | undefined;
107
- }>, keyof import("@hanzo/gui").MenuLabelProps> & import("@hanzo/gui").MenuLabelProps & React.RefAttributes<import("@hanzogui/web").GuiTextElement> & Partial<Omit<import("@hanzo/gui").NativeMenuLabelProps, "adjustsFontSizeToFit" | "allowFontScaling" | "android_hyphenationFrequency" | "color" | "dataDetectorType" | "dynamicTypeRamp" | "elevation" | "ellipsis" | "ellipsizeMode" | "fontFamily" | "fontSize" | "fontStyle" | "fontVariant" | "fontWeight" | "includeFontPadding" | "letterSpacing" | "lineBreakMode" | "lineBreakStrategyIOS" | "lineHeight" | "maxFontSizeMultiplier" | "minimumFontScale" | "numberOfLines" | "pressRetentionOffset" | "selectable" | "selectionColor" | "size" | "suppressHighlighting" | "textAlign" | "textAlignVertical" | "textBreakStrategy" | "textDecorationColor" | "textDecorationDistance" | "textDecorationLine" | "textDecorationStyle" | "textOverflow" | "textShadow" | "textShadowColor" | "textShadowOffset" | "textShadowRadius" | "textTransform" | "whiteSpace" | "wordWrap" | "writingDirection" | keyof import("@hanzo/gui").MenuLabelProps | keyof React.RefAttributes<import("@hanzogui/web").GuiTextElement>>>, "inset"> & {
107
+ }>, keyof import("@hanzo/gui").MenuLabelProps> & import("@hanzo/gui").MenuLabelProps & React.RefAttributes<any> & Partial<Omit<import("@hanzo/gui").NativeMenuLabelProps, string | number | symbol>>, "inset"> & {
108
108
  inset?: boolean;
109
- }, "ref"> & React.RefAttributes<GuiElement>>;
109
+ }, "ref"> & React.RefAttributes<any>>;
110
110
  declare const ContextMenuSeparator: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
111
111
  unstyled?: boolean | undefined;
112
- }>, keyof import("@hanzo/gui").MenuSeparatorProps> & import("@hanzo/gui").MenuSeparatorProps & React.RefAttributes<GuiElement> & Partial<Omit<import("@hanzo/gui").NativeMenuSeparatorProps, keyof import("@hanzo/gui").MenuSeparatorProps | keyof React.RefAttributes<GuiElement>>>, "ref"> & React.RefAttributes<GuiElement>>;
112
+ }>, keyof import("@hanzo/gui").MenuSeparatorProps> & import("@hanzo/gui").MenuSeparatorProps & React.RefAttributes<any> & Partial<Omit<import("@hanzo/gui").NativeMenuSeparatorProps, string | number | symbol>>, "ref"> & React.RefAttributes<any>>;
113
113
  /** Right-aligned shortcut hint. gui `Text`, not a raw `<span>`, so it renders on native. */
114
114
  declare function ContextMenuShortcut(props: React.ComponentProps<typeof Text>): React.JSX.Element;
115
115
  export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuRadioGroup, };
@@ -1 +1 @@
1
- {"version":3,"file":"context-menu.d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C,qBAWpE;AAED,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,GACtB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { ComponentProps } from 'react';
2
2
  export type CreditCardVariant = 'default' | 'minimal';
3
- declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
3
+ declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
4
4
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
5
5
  fullscreen?: boolean | undefined;
6
6
  variant?: "default" | "minimal" | undefined;
@@ -89,7 +89,7 @@ export interface KeyboardShortcut {
89
89
  }
90
90
  /** Registers global ⌘/Ctrl-chord shortcuts for the lifetime of the caller. */
91
91
  export declare function useKeyboardShortcuts(shortcuts: KeyboardShortcut[]): void;
92
- declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
92
+ declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
93
93
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
94
94
  fullscreen?: boolean | undefined;
95
95
  }, import("@hanzogui/web").StaticConfigPublic>;
@@ -1,6 +1,6 @@
1
1
  import { type ComponentProps, type ReactNode } from 'react';
2
2
  export type DockPosition = 'bottom' | 'left' | 'right';
3
- declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
3
+ declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
4
4
  edge?: "bottom" | "left" | "right" | undefined;
5
5
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
6
6
  fullscreen?: boolean | undefined;
@@ -15,7 +15,7 @@ export type DockProps = Omit<ComponentProps<typeof Frame>, 'edge' | 'position' |
15
15
  children?: ReactNode;
16
16
  };
17
17
  declare function Dock({ className, position, magnification, distance, children, ...props }: DockProps): import("react").JSX.Element;
18
- declare const ItemFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
18
+ declare const ItemFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
19
19
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
20
20
  fullscreen?: boolean | undefined;
21
21
  }, import("@hanzogui/web").StaticConfigPublic>;
@@ -30,7 +30,7 @@ export type DockItemProps = Omit<ComponentProps<typeof ItemFrame>, 'className' |
30
30
  distance?: number;
31
31
  };
32
32
  declare function DockItem({ className, children, onClick, tooltip, magnification: itemMagnification, distance: itemDistance, ...props }: DockItemProps): import("react").JSX.Element;
33
- declare const SeparatorFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
33
+ declare const SeparatorFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
34
34
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
35
35
  fullscreen?: boolean | undefined;
36
36
  }, import("@hanzogui/web").StaticConfigPublic>;
@@ -17,7 +17,7 @@
17
17
  * (gui portals re-root the subtree, so React theme context does not flow).
18
18
  */
19
19
  import * as React from "react";
20
- import { Menu, Text, type GuiElement } from "@hanzo/gui";
20
+ import { Menu, Text } from "@hanzo/gui";
21
21
  import type { MenuItemSpec } from "../../product/menu/items.js";
22
22
  export type DropdownMenuProps = Omit<React.ComponentProps<typeof Menu>, "offset"> & {
23
23
  offset?: number;
@@ -50,36 +50,36 @@ type ContentProps = React.ComponentProps<typeof Menu.Content> & {
50
50
  */
51
51
  align?: 'start' | 'center' | 'end';
52
52
  };
53
- declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<ContentProps, "ref"> & React.RefAttributes<GuiElement>>;
53
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<ContentProps, "ref"> & React.RefAttributes<any>>;
54
54
  declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<import("@hanzo/gui").MenuSubContentProps & {
55
55
  scope?: string;
56
- } & React.RefAttributes<GuiElement> & Partial<Omit<import("@hanzo/gui").NativeMenuSubContentProps, keyof import("@hanzo/gui").MenuSubContentProps | keyof React.RefAttributes<GuiElement>>>, "ref"> & React.RefAttributes<GuiElement>>;
56
+ } & React.RefAttributes<any> & Partial<Omit<import("@hanzo/gui").NativeMenuSubContentProps, string | number | symbol>>, "ref"> & React.RefAttributes<any>>;
57
57
  type ItemProps = Omit<React.ComponentProps<typeof Menu.Item>, "variant"> & {
58
58
  inset?: boolean;
59
59
  variant?: "default" | "destructive";
60
60
  };
61
- declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<GuiElement>>;
61
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<any>>;
62
62
  declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
63
63
  unstyled?: boolean | undefined;
64
- }>, "scope" | keyof import("@hanzo/gui").MenuCheckboxItemProps> & import("@hanzo/gui").MenuCheckboxItemProps & {
64
+ }>, keyof import("@hanzo/gui").MenuCheckboxItemProps> & import("@hanzo/gui").MenuCheckboxItemProps & {
65
65
  scope?: string;
66
- } & React.RefAttributes<GuiElement> & Partial<Omit<Omit<import("@hanzo/gui").NativeMenuItemProps, "onSelect"> & {
66
+ } & React.RefAttributes<any> & Partial<Omit<Omit<import("@hanzo/gui").NativeMenuItemProps, "onSelect"> & {
67
67
  checked?: boolean;
68
68
  onCheckedChange?: (checked: boolean) => void;
69
69
  value?: 'mixed' | 'on' | 'off' | boolean;
70
70
  onValueChange?: (state: 'mixed' | 'on' | 'off', prevState: 'mixed' | 'on' | 'off') => void;
71
71
  key: string;
72
- }, "scope" | keyof import("@hanzo/gui").MenuCheckboxItemProps | keyof React.RefAttributes<GuiElement>>>, "ref"> & React.RefAttributes<GuiElement>>;
72
+ }, string | number | symbol>>, "ref"> & React.RefAttributes<any>>;
73
73
  declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
74
74
  unstyled?: boolean | undefined;
75
- }>, "scope" | keyof import("@hanzo/gui").MenuRadioItemProps> & import("@hanzo/gui").MenuRadioItemProps & {
75
+ }>, keyof import("@hanzo/gui").MenuRadioItemProps> & import("@hanzo/gui").MenuRadioItemProps & {
76
76
  scope?: string;
77
- } & React.RefAttributes<GuiElement> & Partial<Omit<{
77
+ } & React.RefAttributes<any> & Partial<Omit<{
78
78
  children: React.ReactNode;
79
- }, "scope" | keyof import("@hanzo/gui").MenuRadioItemProps | keyof React.RefAttributes<GuiElement>>>, "ref"> & React.RefAttributes<GuiElement>>;
79
+ }, string | number | symbol>>, "ref"> & React.RefAttributes<any>>;
80
80
  declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<import("@hanzo/gui").MenuSubTriggerProps & {
81
81
  scope?: string;
82
- } & React.RefAttributes<GuiElement> & Partial<Omit<{
82
+ } & React.RefAttributes<any> & Partial<Omit<{
83
83
  children: React.ReactNode;
84
84
  textValue?: string;
85
85
  onSelect?: (event?: Event) => void;
@@ -90,18 +90,18 @@ declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<impor
90
90
  key: string;
91
91
  } & {
92
92
  key: string;
93
- }, "scope" | keyof import("@hanzo/gui").MenuSubTriggerProps | keyof React.RefAttributes<GuiElement>>> & {
93
+ }, string | number | symbol>> & {
94
94
  inset?: boolean;
95
- }, "ref"> & React.RefAttributes<GuiElement>>;
95
+ }, "ref"> & React.RefAttributes<any>>;
96
96
  declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
97
97
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
98
98
  unstyled?: boolean | undefined;
99
- }>, keyof import("@hanzo/gui").MenuLabelProps> & import("@hanzo/gui").MenuLabelProps & React.RefAttributes<import("@hanzogui/web").GuiTextElement> & Partial<Omit<import("@hanzo/gui").NativeMenuLabelProps, "adjustsFontSizeToFit" | "allowFontScaling" | "android_hyphenationFrequency" | "color" | "dataDetectorType" | "dynamicTypeRamp" | "elevation" | "ellipsis" | "ellipsizeMode" | "fontFamily" | "fontSize" | "fontStyle" | "fontVariant" | "fontWeight" | "includeFontPadding" | "letterSpacing" | "lineBreakMode" | "lineBreakStrategyIOS" | "lineHeight" | "maxFontSizeMultiplier" | "minimumFontScale" | "numberOfLines" | "pressRetentionOffset" | "selectable" | "selectionColor" | "size" | "suppressHighlighting" | "textAlign" | "textAlignVertical" | "textBreakStrategy" | "textDecorationColor" | "textDecorationDistance" | "textDecorationLine" | "textDecorationStyle" | "textOverflow" | "textShadow" | "textShadowColor" | "textShadowOffset" | "textShadowRadius" | "textTransform" | "whiteSpace" | "wordWrap" | "writingDirection" | keyof import("@hanzo/gui").MenuLabelProps | keyof React.RefAttributes<import("@hanzogui/web").GuiTextElement>>> & {
99
+ }>, keyof import("@hanzo/gui").MenuLabelProps> & import("@hanzo/gui").MenuLabelProps & React.RefAttributes<any> & Partial<Omit<import("@hanzo/gui").NativeMenuLabelProps, string | number | symbol>> & {
100
100
  inset?: boolean;
101
- }, "ref"> & React.RefAttributes<GuiElement>>;
101
+ }, "ref"> & React.RefAttributes<any>>;
102
102
  declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
103
103
  unstyled?: boolean | undefined;
104
- }>, keyof import("@hanzo/gui").MenuSeparatorProps> & import("@hanzo/gui").MenuSeparatorProps & React.RefAttributes<GuiElement> & Partial<Omit<import("@hanzo/gui").NativeMenuSeparatorProps, keyof import("@hanzo/gui").MenuSeparatorProps | keyof React.RefAttributes<GuiElement>>>, "ref"> & React.RefAttributes<GuiElement>>;
104
+ }>, keyof import("@hanzo/gui").MenuSeparatorProps> & import("@hanzo/gui").MenuSeparatorProps & React.RefAttributes<any> & Partial<Omit<import("@hanzo/gui").NativeMenuSeparatorProps, string | number | symbol>>, "ref"> & React.RefAttributes<any>>;
105
105
  /** Right-aligned shortcut hint. gui `Text`, not a raw `<span>`, so it renders on native. */
106
106
  declare function DropdownMenuShortcut(props: React.ComponentProps<typeof Text>): React.JSX.Element;
107
107
  export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../src/backends/gui/dropdown-menu.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAkB,KAAK,UAAU,EAAE,MAAM,YAAY,CAAA;AAIxE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAoE5D,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EACjC,QAAQ,CACT,GAAG;IACF,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;OAKG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAA;IAC5B,KAAK,CAAC,EAAE,YAAY,EAAE,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,iBAAS,YAAY,CAAC,EACpB,MAAuB,EACvB,OAAO,EACP,KAAK,EACL,QAAgB,EAChB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,qBAqBnB;AAoDD,QAAA,MAAM,mBAAmB,EAAE,OAAO,IAAI,CAAC,OAAsB,CAAA;AAC7D,QAAA,MAAM,iBAAiB,EAAE,OAAO,IAAI,CAAC,KAAkB,CAAA;AACvD,QAAA,MAAM,kBAAkB,EAAE,OAAO,IAAI,CAAC,MAAoB,CAAA;AAC1D,QAAA,MAAM,eAAe,EAAE,OAAO,IAAI,CAAC,GAAc,CAAA;AACjD,QAAA,MAAM,sBAAsB,EAAE,OAAO,IAAI,CAAC,UAA4B,CAAA;AAGtE,KAAK,YAAY,GAA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0BvB,CAAA;AAEF,QAAA,MAAM,sBAAsB;;0JAY1B,CAAA;AAGF,KAAK,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,GAAG;IACzE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAA;CACpC,CAAA;AAED,QAAA,MAAM,gBAAgB,oFAsBpB,CAAA;AAEF,QAAA,MAAM,wBAAwB;;;;;;;;;;iEAmB5B,CAAA;AAEF,QAAA,MAAM,qBAAqB;;;;;;iEAmBzB,CAAA;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;YAE+B,OAAO;qCAehE,CAAA;AAGF,QAAA,MAAM,iBAAiB;;;;YAE+B,OAAO;qCAiB3D,CAAA;AAEF,QAAA,MAAM,qBAAqB;;oPAezB,CAAA;AAEF,4FAA4F;AAC5F,iBAAS,oBAAoB,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,qBAWrE;AAED,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,GACvB,CAAA"}
@@ -1,27 +1,27 @@
1
1
  import type { ComponentProps } from 'react';
2
- declare const EmptyFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
2
+ declare const EmptyFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
3
3
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
4
4
  fullscreen?: boolean | undefined;
5
5
  }, import("@hanzogui/web").StaticConfigPublic>;
6
- declare const HeaderFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
6
+ declare const HeaderFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
7
7
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
8
8
  fullscreen?: boolean | undefined;
9
9
  }, import("@hanzogui/web").StaticConfigPublic>;
10
10
  export type EmptyMediaVariant = 'default' | 'icon';
11
- declare const MediaFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
11
+ declare const MediaFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
12
12
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
13
13
  fullscreen?: boolean | undefined;
14
14
  variant?: "default" | "icon" | undefined;
15
15
  }, import("@hanzogui/web").StaticConfigPublic>;
16
- declare const TitleFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
16
+ declare const TitleFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
17
17
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
18
18
  unstyled?: boolean | undefined;
19
19
  }, import("@hanzogui/web").StaticConfigPublic>;
20
- declare const DescriptionFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
20
+ declare const DescriptionFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
21
21
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
22
22
  unstyled?: boolean | undefined;
23
23
  }, import("@hanzogui/web").StaticConfigPublic>;
24
- declare const ContentFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
24
+ declare const ContentFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, any, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
25
25
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
26
26
  fullscreen?: boolean | undefined;
27
27
  }, import("@hanzogui/web").StaticConfigPublic>;