@hanzo/ui 8.27.13 → 8.27.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/backends/gui/3d-card.d.ts +6 -6
- package/dist/backends/gui/3d-marquee.d.ts +8 -7
- package/dist/backends/gui/3d-marquee.d.ts.map +1 -1
- package/dist/backends/gui/3d-pin.d.ts +1 -1
- package/dist/backends/gui/alert.d.ts +3 -3
- package/dist/backends/gui/android.d.ts +1 -1
- package/dist/backends/gui/animated-testimonials.d.ts +1 -1
- package/dist/backends/gui/animated-tooltip.d.ts +1 -1
- package/dist/backends/gui/announcement.d.ts +1 -1
- package/dist/backends/gui/banner.d.ts +1 -1
- package/dist/backends/gui/button.d.ts +1 -1
- package/dist/backends/gui/card.d.ts +7 -7
- package/dist/backends/gui/command.d.ts +5 -5
- package/dist/backends/gui/command.d.ts.map +1 -1
- package/dist/backends/gui/context-menu.d.ts +14 -14
- package/dist/backends/gui/context-menu.d.ts.map +1 -1
- package/dist/backends/gui/credit-card.d.ts +1 -1
- package/dist/backends/gui/desktop.d.ts +1 -1
- package/dist/backends/gui/dock.d.ts +3 -3
- package/dist/backends/gui/dropdown-menu.d.ts +16 -16
- package/dist/backends/gui/dropdown-menu.d.ts.map +1 -1
- package/dist/backends/gui/empty.d.ts +6 -6
- package/dist/backends/gui/field.d.ts +3 -3
- package/dist/backends/gui/gantt.d.ts +1 -1
- package/dist/backends/gui/glimpse.cjs +2 -2
- package/dist/backends/gui/glimpse.d.ts +8 -1
- package/dist/backends/gui/glimpse.d.ts.map +1 -1
- package/dist/backends/gui/glimpse.js +2 -2
- package/dist/backends/gui/glimpse.js.map +1 -1
- package/dist/backends/gui/grid-pattern.d.ts +2 -1
- package/dist/backends/gui/grid-pattern.d.ts.map +1 -1
- package/dist/backends/gui/image-zoom.d.ts +1 -1
- package/dist/backends/gui/iphone-15-pro.d.ts +1 -1
- package/dist/backends/gui/item.d.ts +9 -9
- package/dist/backends/gui/list.d.ts +2 -2
- package/dist/backends/gui/macos-dock.d.ts +2 -2
- package/dist/backends/gui/magnetic.d.ts +1 -1
- package/dist/backends/gui/marquee.d.ts +15 -1
- package/dist/backends/gui/marquee.d.ts.map +1 -1
- package/dist/backends/gui/menu-dock.d.ts +1 -1
- package/dist/backends/gui/menubar.d.ts +15 -15
- package/dist/backends/gui/menubar.d.ts.map +1 -1
- package/dist/backends/gui/message-dock.d.ts +1 -1
- package/dist/backends/gui/motion-highlight.d.ts +12 -1
- package/dist/backends/gui/motion-highlight.d.ts.map +1 -1
- package/dist/backends/gui/pagination.d.ts +4 -4
- package/dist/backends/gui/qr-code.d.ts +2 -1
- package/dist/backends/gui/qr-code.d.ts.map +1 -1
- package/dist/backends/gui/scroll-area.d.ts +14 -3
- package/dist/backends/gui/scroll-area.d.ts.map +1 -1
- package/dist/backends/gui/sheet.d.ts +3 -3
- package/dist/backends/gui/sheet.d.ts.map +1 -1
- package/dist/backends/gui/status.d.ts +1 -1
- package/dist/backends/gui/table.d.ts +8 -8
- package/dist/backends/gui/toaster.d.ts +15 -1
- package/dist/backends/gui/toaster.d.ts.map +1 -1
- package/dist/backends/gui/toggle.d.ts +1 -1
- package/dist/backends/gui/video-player.d.ts +1 -1
- package/dist/chat/Thread.d.ts +8 -2
- package/dist/chat/Thread.d.ts.map +1 -1
- package/dist/gallery.html +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -149,8 +149,8 @@ on itself: `data-hz-name="SaveButton"` outranks everything.
|
|
|
149
149
|
|
|
150
150
|
| Concern | Package | There is exactly one |
|
|
151
151
|
|---|---|---|
|
|
152
|
-
| Client + wire | [`@hanzo/event`](
|
|
153
|
-
| Capture engine | [`@hanzo/observe`](
|
|
152
|
+
| Client + wire | [`@hanzo/event`](../event) | endpoint `POST /v1/event`, batched, beacon-on-unload |
|
|
153
|
+
| Capture engine | [`@hanzo/observe`](../observe) | delegated listeners, semantic annotation, redaction |
|
|
154
154
|
| Provider + consent | `@hanzogui/telemetry` | `<TelemetryProvider/>`, which `analytics` renders |
|
|
155
155
|
|
|
156
156
|
`analytics` is a **prop, not a default**. Mounting a component library must
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { type CSSProperties, type ComponentProps, type ElementType } from 'react';
|
|
2
|
-
declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer,
|
|
2
|
+
declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
6
|
+
declare const HeaderFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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
|
-
declare const TitleFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer,
|
|
10
|
+
declare const TitleFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
|
|
11
11
|
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
12
12
|
unstyled?: boolean | undefined;
|
|
13
13
|
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
14
|
-
declare const DescriptionFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer,
|
|
14
|
+
declare const DescriptionFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
|
|
15
15
|
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
16
16
|
unstyled?: boolean | undefined;
|
|
17
17
|
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
18
|
-
declare const ContentFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer,
|
|
18
|
+
declare const ContentFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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>;
|
|
22
|
-
declare const FooterFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer,
|
|
22
|
+
declare const FooterFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
23
23
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
24
24
|
fullscreen?: boolean | undefined;
|
|
25
25
|
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type GuiElement } from '@hanzo/gui';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
export type Marquee3DVariant = 'default' | 'neon' | 'rainbow' | 'metallic' | 'fire' | 'glass';
|
|
3
4
|
export type Marquee3DSize = 'sm' | 'default' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
@@ -56,15 +57,15 @@ export declare const Marquee3D: React.ForwardRefExoticComponent<Omit<Omit<React.
|
|
|
56
57
|
/** Length of each fade, px. */
|
|
57
58
|
gradientWidth?: number;
|
|
58
59
|
style?: React.CSSProperties;
|
|
59
|
-
} & React.RefAttributes<
|
|
60
|
+
} & React.RefAttributes<GuiElement>>;
|
|
60
61
|
type PresetProps = Omit<Marquee3DProps, 'variant' | 'size'>;
|
|
61
62
|
/** The five named looks, each a `Marquee3D` pinned to a variant and size; every other prop stays open. */
|
|
62
63
|
export declare const Marquee3DPreset: {
|
|
63
|
-
Hero: React.ForwardRefExoticComponent<PresetProps & React.RefAttributes<
|
|
64
|
-
Neon: React.ForwardRefExoticComponent<PresetProps & React.RefAttributes<
|
|
65
|
-
Metallic: React.ForwardRefExoticComponent<PresetProps & React.RefAttributes<
|
|
66
|
-
Fire: React.ForwardRefExoticComponent<PresetProps & React.RefAttributes<
|
|
67
|
-
Glass: React.ForwardRefExoticComponent<PresetProps & React.RefAttributes<
|
|
64
|
+
Hero: React.ForwardRefExoticComponent<PresetProps & React.RefAttributes<GuiElement>>;
|
|
65
|
+
Neon: React.ForwardRefExoticComponent<PresetProps & React.RefAttributes<GuiElement>>;
|
|
66
|
+
Metallic: React.ForwardRefExoticComponent<PresetProps & React.RefAttributes<GuiElement>>;
|
|
67
|
+
Fire: React.ForwardRefExoticComponent<PresetProps & React.RefAttributes<GuiElement>>;
|
|
68
|
+
Glass: React.ForwardRefExoticComponent<PresetProps & React.RefAttributes<GuiElement>>;
|
|
68
69
|
};
|
|
69
70
|
export type Marquee3DFloatingProps = Marquee3DProps & {
|
|
70
71
|
/** Peak lift of each glyph, px. */
|
|
@@ -108,6 +109,6 @@ export declare const Marquee3DFloating: React.ForwardRefExoticComponent<Omit<Omi
|
|
|
108
109
|
floatIntensity?: number;
|
|
109
110
|
/** Seconds per bob. */
|
|
110
111
|
floatSpeed?: number;
|
|
111
|
-
} & React.RefAttributes<
|
|
112
|
+
} & React.RefAttributes<GuiElement>>;
|
|
112
113
|
export {};
|
|
113
114
|
//# sourceMappingURL=3d-marquee.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3d-marquee.d.ts","sourceRoot":"","sources":["../../../src/backends/gui/3d-marquee.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"3d-marquee.d.ts","sourceRoot":"","sources":["../../../src/backends/gui/3d-marquee.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAgC,KAAK,UAAU,EAAE,MAAM,YAAY,CAAA;AAC1E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,CAAA;AAC7F,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAAA;AAC1E,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,CAAA;AACjE,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAAA;AAgF1E,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IAC/F,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,WAAW,CAAC,EAAE,oBAAoB,CAAA;IAClC,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,+BAA+B;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,+FAA+F;IA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,kBAAkB;kBAChB,oBAAoB;IAClC,0BAA0B;YAClB,MAAM;mBACC,OAAO;IACtB,+BAA+B;cACrB,OAAO;IACjB,sDAAsD;aAC7C,MAAM;IACf,+FAA+F;eACpF,OAAO;IAClB,4DAA4D;UACtD,MAAM;cACF,MAAM;cACN,MAAM;cACN,MAAM;IAChB,mCAAmC;eACxB,OAAO;oBACF,MAAM;IACtB,+BAA+B;oBACf,MAAM;YACd,KAAK,CAAC,aAAa;;IA8M3B,mCAAmC;qBAClB,MAAM;IACvB,uBAAuB;iBACV,MAAM;oCAoCpB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
|
-
declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer,
|
|
2
|
+
declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
15
|
+
declare const AlertFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
20
|
+
declare const AlertTitleText: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, 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,
|
|
25
|
+
declare const AlertDescriptionText: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, 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,
|
|
3
|
+
declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
10
|
+
declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
2
|
+
declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
15
|
+
declare const AnnouncementFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
22
|
+
declare const BannerFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
5
|
+
declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
4
|
+
declare const CardFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
8
|
+
declare const HeaderFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
12
|
+
declare const TitleFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, 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,
|
|
16
|
+
declare const DescriptionFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, 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,
|
|
20
|
+
declare const ActionFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
24
|
+
declare const ContentFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
28
|
+
declare const FooterFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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>;
|
|
@@ -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<
|
|
43
|
+
declare const Command: import("react").ForwardRefExoticComponent<Omit<CommandProps, "ref"> & RefAttributes<GuiElement>>;
|
|
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<
|
|
76
|
+
declare const CommandInput: import("react").ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & RefAttributes<GuiElement>>;
|
|
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, 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, "elevation" | "fullscreen" | 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<
|
|
89
|
+
}>> & RefAttributes<GuiElement>, "ref"> & RefAttributes<GuiElement>>;
|
|
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<
|
|
93
|
+
declare const CommandGroup: import("react").ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & RefAttributes<GuiElement>>;
|
|
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,SAAS,EACT,WAAW,EAGX,MAAM,EAEN,KAAK,UAAU,EAChB,MAAM,YAAY,CAAA;AAGnB,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAEjE,YAAY,EAAE,aAAa,EAAE,CAAA;AAsD7B,MAAM,MAAM,YAAY,GAAG,IAAI,CA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M,iBAAiB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,SAAS,CAAA;CAAE,CAAA;AAEvF,QAAA,MAAM,YAAY,uGAiCjB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IACrE,8CAA8C;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAA;AAED,QAAA,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<
|
|
67
|
+
declare const ContextMenuItem: React.ForwardRefExoticComponent<Omit<ContextMenuItemProps, "ref"> & React.RefAttributes<GuiElement>>;
|
|
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
|
-
}>, keyof import("@hanzo/gui").MenuCheckboxItemProps> & import("@hanzo/gui").MenuCheckboxItemProps & {
|
|
70
|
+
}>, "scope" | keyof import("@hanzo/gui").MenuCheckboxItemProps> & import("@hanzo/gui").MenuCheckboxItemProps & {
|
|
71
71
|
scope?: string;
|
|
72
|
-
} & React.RefAttributes<
|
|
72
|
+
} & React.RefAttributes<GuiElement>, "ref"> & {
|
|
73
73
|
scope?: string;
|
|
74
|
-
} & React.RefAttributes<
|
|
74
|
+
} & React.RefAttributes<GuiElement> & 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
|
-
},
|
|
80
|
+
}, "scope" | keyof import("@hanzo/gui").MenuCheckboxItemProps | keyof React.RefAttributes<GuiElement>>>, "ref"> & React.RefAttributes<GuiElement>>;
|
|
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
|
-
}>, keyof import("@hanzo/gui").MenuRadioItemProps> & import("@hanzo/gui").MenuRadioItemProps & {
|
|
83
|
+
}>, "scope" | keyof import("@hanzo/gui").MenuRadioItemProps> & import("@hanzo/gui").MenuRadioItemProps & {
|
|
84
84
|
scope?: string;
|
|
85
|
-
} & React.RefAttributes<
|
|
85
|
+
} & React.RefAttributes<GuiElement>, "ref"> & {
|
|
86
86
|
scope?: string;
|
|
87
|
-
} & React.RefAttributes<
|
|
88
|
-
declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<Omit<
|
|
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 & {
|
|
89
89
|
scope?: string;
|
|
90
|
-
} & React.RefAttributes<
|
|
90
|
+
} & React.RefAttributes<GuiElement>, "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<O
|
|
|
100
100
|
key: string;
|
|
101
101
|
}, "inset"> & {
|
|
102
102
|
inset?: boolean;
|
|
103
|
-
}
|
|
103
|
+
} & React.RefAttributes<GuiElement>>;
|
|
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<
|
|
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"> & {
|
|
108
108
|
inset?: boolean;
|
|
109
|
-
}, "ref"> & React.RefAttributes<
|
|
109
|
+
}, "ref"> & React.RefAttributes<GuiElement>>;
|
|
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<
|
|
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>>;
|
|
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.ts","sourceRoot":"","sources":["../../../src/backends/gui/context-menu.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,IAAI,EAAU,KAAK,UAAU,EAAE,MAAM,YAAY,CAAA;AAgEzF,QAAA,MAAM,WAAW,EAAE,OAAO,cAA+B,CAAA;AACzD,QAAA,MAAM,kBAAkB,EAAE,OAAO,cAAc,CAAC,OAAgC,CAAA;AAChF,QAAA,MAAM,gBAAgB,EAAE,OAAO,cAAc,CAAC,KAA4B,CAAA;AAC1E,QAAA,MAAM,iBAAiB,EAAE,OAAO,cAAc,CAAC,MAA8B,CAAA;AAC7E,QAAA,MAAM,cAAc,EAAE,OAAO,cAAc,CAAC,GAAwB,CAAA;AACpE,QAAA,MAAM,qBAAqB,EAAE,OAAO,cAAc,CAAC,UAAsC,CAAA;AAGzF,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,OAAO,CAAC,CAAA;AACzF,MAAM,MAAM,0BAA0B,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,UAAU,CAAC,CAAA;AAE/F;;;;;;;;;;GAUG;AACH,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,yBAAyB,CACvD,uBAAuB,GA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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,
|
|
3
|
+
declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
92
|
+
declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
3
|
+
declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
18
|
+
declare const ItemFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
33
|
+
declare const SeparatorFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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 } from "@hanzo/gui";
|
|
20
|
+
import { Menu, Text, type GuiElement } 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<
|
|
53
|
+
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<ContentProps, "ref"> & React.RefAttributes<GuiElement>>;
|
|
54
54
|
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<import("@hanzo/gui").MenuSubContentProps & {
|
|
55
55
|
scope?: string;
|
|
56
|
-
} & React.RefAttributes<
|
|
56
|
+
} & React.RefAttributes<GuiElement> & Partial<Omit<import("@hanzo/gui").NativeMenuSubContentProps, keyof import("@hanzo/gui").MenuSubContentProps | keyof React.RefAttributes<GuiElement>>>, "ref"> & React.RefAttributes<GuiElement>>;
|
|
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<
|
|
61
|
+
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<GuiElement>>;
|
|
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
|
-
}>, keyof import("@hanzo/gui").MenuCheckboxItemProps> & import("@hanzo/gui").MenuCheckboxItemProps & {
|
|
64
|
+
}>, "scope" | keyof import("@hanzo/gui").MenuCheckboxItemProps> & import("@hanzo/gui").MenuCheckboxItemProps & {
|
|
65
65
|
scope?: string;
|
|
66
|
-
} & React.RefAttributes<
|
|
66
|
+
} & React.RefAttributes<GuiElement> & 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
|
-
},
|
|
72
|
+
}, "scope" | keyof import("@hanzo/gui").MenuCheckboxItemProps | keyof React.RefAttributes<GuiElement>>>, "ref"> & React.RefAttributes<GuiElement>>;
|
|
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
|
-
}>, keyof import("@hanzo/gui").MenuRadioItemProps> & import("@hanzo/gui").MenuRadioItemProps & {
|
|
75
|
+
}>, "scope" | keyof import("@hanzo/gui").MenuRadioItemProps> & import("@hanzo/gui").MenuRadioItemProps & {
|
|
76
76
|
scope?: string;
|
|
77
|
-
} & React.RefAttributes<
|
|
77
|
+
} & React.RefAttributes<GuiElement> & Partial<Omit<{
|
|
78
78
|
children: React.ReactNode;
|
|
79
|
-
},
|
|
79
|
+
}, "scope" | keyof import("@hanzo/gui").MenuRadioItemProps | keyof React.RefAttributes<GuiElement>>>, "ref"> & React.RefAttributes<GuiElement>>;
|
|
80
80
|
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<import("@hanzo/gui").MenuSubTriggerProps & {
|
|
81
81
|
scope?: string;
|
|
82
|
-
} & React.RefAttributes<
|
|
82
|
+
} & React.RefAttributes<GuiElement> & 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
|
-
},
|
|
93
|
+
}, "scope" | keyof import("@hanzo/gui").MenuSubTriggerProps | keyof React.RefAttributes<GuiElement>>> & {
|
|
94
94
|
inset?: boolean;
|
|
95
|
-
}, "ref"> & React.RefAttributes<
|
|
95
|
+
}, "ref"> & React.RefAttributes<GuiElement>>;
|
|
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<
|
|
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>>> & {
|
|
100
100
|
inset?: boolean;
|
|
101
|
-
}, "ref"> & React.RefAttributes<
|
|
101
|
+
}, "ref"> & React.RefAttributes<GuiElement>>;
|
|
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<
|
|
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>>;
|
|
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,
|
|
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,CA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@ -1,27 +1,27 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
|
-
declare const EmptyFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer,
|
|
2
|
+
declare const EmptyFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
6
|
+
declare const HeaderFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
11
|
+
declare const MediaFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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,
|
|
16
|
+
declare const TitleFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, 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,
|
|
20
|
+
declare const DescriptionFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiTextElement, 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,
|
|
24
|
+
declare const ContentFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, 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>;
|