app-studio 0.7.18 → 0.8.1
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 +87 -33
- package/dist/native/index.cjs +3360 -0
- package/dist/native/index.cjs.map +1 -0
- package/dist/native/index.d.mts +251 -0
- package/dist/native/index.d.ts +251 -0
- package/dist/native/index.js +3268 -0
- package/dist/native/index.js.map +1 -0
- package/dist/viewAnimation-B4BIoOwQ.d.mts +2246 -0
- package/dist/viewAnimation-B4BIoOwQ.d.ts +2246 -0
- package/dist/web/app-studio.umd.production.min.global.js +28 -0
- package/dist/web/app-studio.umd.production.min.global.js.map +1 -0
- package/dist/web/index.cjs +6109 -0
- package/dist/web/index.cjs.map +1 -0
- package/dist/web/index.d.mts +638 -0
- package/dist/web/index.d.ts +638 -0
- package/dist/web/index.js +6008 -0
- package/dist/web/index.js.map +1 -0
- package/docs/Animation.md +2 -0
- package/docs/Components.md +12 -0
- package/docs/Design.md +2 -0
- package/docs/Events.md +2 -0
- package/docs/Hooks.md +2 -0
- package/docs/IframeSupport.md +2 -0
- package/docs/Native.md +428 -0
- package/docs/Providers.md +2 -0
- package/docs/README.md +14 -1
- package/docs/Responsive.md +2 -0
- package/docs/Styling.md +2 -0
- package/docs/Theming.md +53 -0
- package/package.json +76 -14
- package/dist/app-studio.cjs.development.js +0 -6754
- package/dist/app-studio.cjs.development.js.map +0 -1
- package/dist/app-studio.cjs.production.min.js +0 -2
- package/dist/app-studio.cjs.production.min.js.map +0 -1
- package/dist/app-studio.esm.js +0 -6650
- package/dist/app-studio.esm.js.map +0 -1
- package/dist/app-studio.umd.development.js +0 -6757
- package/dist/app-studio.umd.development.js.map +0 -1
- package/dist/app-studio.umd.production.min.js +0 -2
- package/dist/app-studio.umd.production.min.js.map +0 -1
- package/dist/components/Form.d.ts +0 -17
- package/dist/components/Image.d.ts +0 -7
- package/dist/components/Skeleton.d.ts +0 -3
- package/dist/components/Text/Text.props.d.ts +0 -27
- package/dist/components/Text/Text.type.d.ts +0 -3
- package/dist/components/Text/Text.utils.d.ts +0 -2
- package/dist/components/Text/Text.view.d.ts +0 -20
- package/dist/components/Text.d.ts +0 -5
- package/dist/components/View.d.ts +0 -16
- package/dist/components/Wrapper.d.ts +0 -4
- package/dist/element/Animation.d.ts +0 -1164
- package/dist/element/Element.d.ts +0 -4
- package/dist/element/Element.types.d.ts +0 -123
- package/dist/element/css.d.ts +0 -50
- package/dist/element/utils.d.ts +0 -4
- package/dist/hooks/useActive.d.ts +0 -2
- package/dist/hooks/useClickOutside.d.ts +0 -6
- package/dist/hooks/useElementPosition.d.ts +0 -39
- package/dist/hooks/useFocus.d.ts +0 -2
- package/dist/hooks/useHover.d.ts +0 -2
- package/dist/hooks/useIframeStyles.d.ts +0 -41
- package/dist/hooks/useInView.d.ts +0 -11
- package/dist/hooks/useKeyPress.d.ts +0 -1
- package/dist/hooks/useMount.d.ts +0 -1
- package/dist/hooks/useOnScreen.d.ts +0 -6
- package/dist/hooks/useResponsive.d.ts +0 -59
- package/dist/hooks/useScroll.d.ts +0 -49
- package/dist/hooks/useWindowSize.d.ts +0 -4
- package/dist/index.d.ts +0 -33
- package/dist/index.js +0 -8
- package/dist/providers/Analytics.d.ts +0 -9
- package/dist/providers/Responsive.d.ts +0 -58
- package/dist/providers/StyleRegistry.d.ts +0 -32
- package/dist/providers/Theme.d.ts +0 -46
- package/dist/providers/WindowSize.d.ts +0 -11
- package/dist/stories/AnimateOn.stories.d.ts +0 -30
- package/dist/stories/Animation.stories.d.ts +0 -35
- package/dist/stories/BorderColor.stories.d.ts +0 -4
- package/dist/stories/Color.stories.d.ts +0 -4
- package/dist/stories/ColorAlpha.stories.d.ts +0 -5
- package/dist/stories/Component.stories.d.ts +0 -7
- package/dist/stories/CrossBrowserCompatibility.stories.d.ts +0 -6
- package/dist/stories/CssCascadeOrder.stories.d.ts +0 -10
- package/dist/stories/EmptyBeforeExample.stories.d.ts +0 -7
- package/dist/stories/EventHandlers.stories.d.ts +0 -6
- package/dist/stories/GradientColors.stories.d.ts +0 -6
- package/dist/stories/GroupPeer.stories.d.ts +0 -7
- package/dist/stories/Hooks.stories.d.ts +0 -17
- package/dist/stories/IframeCSSSupport.stories.d.ts +0 -28
- package/dist/stories/IframeSupport.stories.d.ts +0 -20
- package/dist/stories/Image.stories.d.ts +0 -6
- package/dist/stories/Scroll.stories.d.ts +0 -9
- package/dist/stories/ScrollAnimation.stories.d.ts +0 -36
- package/dist/stories/ScrollTimeline.stories.d.ts +0 -6
- package/dist/stories/Skeleton.stories.d.ts +0 -5
- package/dist/stories/Text.stories.d.ts +0 -18
- package/dist/stories/VendorPrefix.stories.d.ts +0 -6
- package/dist/stories/View.stories.d.ts +0 -10
- package/dist/stories/ViewAnimation.stories.d.ts +0 -33
- package/dist/test/CssVariablesTest.d.ts +0 -3
- package/dist/test/LowercaseVendorPrefixTest.d.ts +0 -3
- package/dist/test/VendorPrefixTest.d.ts +0 -3
- package/dist/test/WebkitTextStrokeTest.d.ts +0 -3
- package/dist/types/scrollAnimation.types.d.ts +0 -75
- package/dist/utils/colors.d.ts +0 -21
- package/dist/utils/constants.d.ts +0 -24
- package/dist/utils/cssProperties.d.ts +0 -8
- package/dist/utils/env.d.ts +0 -15
- package/dist/utils/hash.d.ts +0 -4
- package/dist/utils/shadow.d.ts +0 -10
- package/dist/utils/style.d.ts +0 -22
- package/dist/utils/typography.d.ts +0 -45
- package/dist/utils/vendorPrefixes.d.ts +0 -19
- package/dist/utils/viewAnimation.d.ts +0 -138
|
@@ -0,0 +1,638 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import react__default, { ReactNode, CSSProperties, HTMLAttributes, RefObject } from 'react';
|
|
3
|
+
import { C as ColorSingleton, a as ColorPalette, A as AnimationProps, S as Shadow, V as ViewStyleProps, I as ImageStyleProps, T as TextStyleProps } from '../viewAnimation-B4BIoOwQ.js';
|
|
4
|
+
export { b as AnalyticsConfig, c as AnalyticsContext, d as AnalyticsProvider, e as Animation, B as BlurAnimationOptions, f as ColorConfig, R as RotateAnimationOptions, g as ScaleAnimationOptions, h as Shadows, i as SlideAnimationOptions, j as Typography, k as ViewAnimationConfig, l as ViewAnimationFillMode, m as ViewAnimationOptions, n as ViewAnimationRange, o as ViewAnimationTimingFunction, p as animateOnView, q as blurInOnView, r as blurOutOnView, s as createViewAnimation, t as defaultColors, u as defaultDarkColors, v as defaultDarkPalette, w as defaultLightColors, x as defaultLightPalette, y as fadeInOnView, z as fadeOutOnView, D as flipXOnView, E as flipYOnView, F as getWindowInitialProps, G as hasColorToken, H as isBrowser, J as isDev, K as isMobile, L as isProd, M as isSSR, N as replaceColorTokens, O as revealOnView, P as rotateInOnView, Q as scaleDownOnView, U as scaleUpOnView, W as slideDownOnView, X as slideLeftOnView, Y as slideRightOnView, Z as slideUpOnView, _ as useAnalytics, $ as viewAnimationPresets } from '../viewAnimation-B4BIoOwQ.js';
|
|
5
|
+
|
|
6
|
+
interface Colors {
|
|
7
|
+
main: ColorSingleton;
|
|
8
|
+
palette: ColorPalette;
|
|
9
|
+
}
|
|
10
|
+
interface Theme {
|
|
11
|
+
primary?: string;
|
|
12
|
+
secondary?: string;
|
|
13
|
+
success?: string;
|
|
14
|
+
error?: string;
|
|
15
|
+
warning?: string;
|
|
16
|
+
disabled?: string;
|
|
17
|
+
loading?: string;
|
|
18
|
+
canvas?: string;
|
|
19
|
+
surface?: string;
|
|
20
|
+
text?: string;
|
|
21
|
+
muted?: string;
|
|
22
|
+
border?: string;
|
|
23
|
+
onPrimary?: string;
|
|
24
|
+
info?: string;
|
|
25
|
+
[extra: string]: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
interface Override {
|
|
28
|
+
colors?: Colors;
|
|
29
|
+
theme?: Theme;
|
|
30
|
+
themeMode?: 'light' | 'dark';
|
|
31
|
+
}
|
|
32
|
+
interface ThemeContextProps {
|
|
33
|
+
getColor: (name: string, override?: Override) => string;
|
|
34
|
+
getColorHex: (name: string, override?: Override) => string;
|
|
35
|
+
getColorRGBA: (name: string, alphaOrOverride?: number | Override, override?: Override) => string;
|
|
36
|
+
getColorScheme: (name: string, override?: Override) => string | undefined;
|
|
37
|
+
getContrastColor: (name: string, override?: Override) => 'black' | 'white';
|
|
38
|
+
theme: Theme;
|
|
39
|
+
colors: Colors;
|
|
40
|
+
themeMode: 'light' | 'dark';
|
|
41
|
+
setThemeMode: (mode: 'light' | 'dark') => void;
|
|
42
|
+
}
|
|
43
|
+
declare const defaultThemeMain: Theme;
|
|
44
|
+
declare const ThemeContext: react__default.Context<ThemeContextProps>;
|
|
45
|
+
declare const useTheme: () => ThemeContextProps;
|
|
46
|
+
declare const deepMerge: (target: any, source: any) => any;
|
|
47
|
+
interface ThemeProviderProps {
|
|
48
|
+
theme?: Partial<Theme>;
|
|
49
|
+
dark?: Partial<Colors>;
|
|
50
|
+
light?: Partial<Colors>;
|
|
51
|
+
mode?: 'light' | 'dark';
|
|
52
|
+
children: ReactNode;
|
|
53
|
+
strict?: boolean;
|
|
54
|
+
targetWindow?: Window;
|
|
55
|
+
/**
|
|
56
|
+
* When `true`, the wrapper renders as `display: contents` (no background,
|
|
57
|
+
* color, sizing, or transition). Useful when nesting a ThemeProvider inside
|
|
58
|
+
* an existing themed subtree — the inner provider only contributes its CSS
|
|
59
|
+
* variables and `data-theme` attribute. Automatically inferred when a parent
|
|
60
|
+
* ThemeProvider exists in the React tree.
|
|
61
|
+
*/
|
|
62
|
+
transparentWrapper?: boolean;
|
|
63
|
+
}
|
|
64
|
+
declare const ThemeProvider: ({ theme: themeOverride, mode: initialMode, dark: darkOverride, light: lightOverride, children, strict, targetWindow, transparentWrapper, }: ThemeProviderProps) => react__default.ReactElement;
|
|
65
|
+
|
|
66
|
+
interface CssProps extends CSSProperties {
|
|
67
|
+
paddingHorizontal?: number | string;
|
|
68
|
+
marginHorizontal?: number | string;
|
|
69
|
+
paddingVertical?: number | string;
|
|
70
|
+
marginVertical?: number | string;
|
|
71
|
+
widthHeight?: number | string;
|
|
72
|
+
animate?: AnimationProps[] | AnimationProps;
|
|
73
|
+
animateIn?: AnimationProps[] | AnimationProps;
|
|
74
|
+
animateOut?: AnimationProps[] | AnimationProps;
|
|
75
|
+
animateOn?: 'View' | 'Mount' | 'Both' | 'Scroll';
|
|
76
|
+
shadow?: boolean | number | Shadow;
|
|
77
|
+
blend?: boolean;
|
|
78
|
+
_hover?: CSSProperties | string;
|
|
79
|
+
_active?: CSSProperties | string;
|
|
80
|
+
_focus?: CSSProperties | string;
|
|
81
|
+
_visited?: CSSProperties | string;
|
|
82
|
+
_disabled?: CSSProperties | string;
|
|
83
|
+
_enabled?: CSSProperties | string;
|
|
84
|
+
_checked?: CSSProperties | string;
|
|
85
|
+
_unchecked?: CSSProperties | string;
|
|
86
|
+
_invalid?: CSSProperties | string;
|
|
87
|
+
_valid?: CSSProperties | string;
|
|
88
|
+
_required?: CSSProperties | string;
|
|
89
|
+
_optional?: CSSProperties | string;
|
|
90
|
+
_selected?: CSSProperties | string;
|
|
91
|
+
_target?: CSSProperties | string;
|
|
92
|
+
_firstChild?: CSSProperties | string;
|
|
93
|
+
_lastChild?: CSSProperties | string;
|
|
94
|
+
_onlyChild?: CSSProperties | string;
|
|
95
|
+
_firstOfType?: CSSProperties | string;
|
|
96
|
+
_lastOfType?: CSSProperties | string;
|
|
97
|
+
_empty?: CSSProperties | string;
|
|
98
|
+
_focusVisible?: CSSProperties | string;
|
|
99
|
+
_focusWithin?: CSSProperties | string;
|
|
100
|
+
_placeholder?: CSSProperties | string;
|
|
101
|
+
_groupHover?: CSSProperties | string;
|
|
102
|
+
_groupFocus?: CSSProperties | string;
|
|
103
|
+
_groupActive?: CSSProperties | string;
|
|
104
|
+
_groupDisabled?: CSSProperties | string;
|
|
105
|
+
_peerHover?: CSSProperties | string;
|
|
106
|
+
_peerFocus?: CSSProperties | string;
|
|
107
|
+
_peerActive?: CSSProperties | string;
|
|
108
|
+
_peerDisabled?: CSSProperties | string;
|
|
109
|
+
_peerChecked?: CSSProperties | string;
|
|
110
|
+
_before?: CSSProperties;
|
|
111
|
+
_after?: CSSProperties;
|
|
112
|
+
_firstLetter?: CSSProperties;
|
|
113
|
+
_firstLine?: CSSProperties;
|
|
114
|
+
_selection?: CSSProperties;
|
|
115
|
+
_backdrop?: CSSProperties;
|
|
116
|
+
_marker?: CSSProperties;
|
|
117
|
+
WebkitUserDrag?: CSSProperties['userSelect'];
|
|
118
|
+
webkitUserDrag?: CSSProperties['userSelect'];
|
|
119
|
+
}
|
|
120
|
+
interface ElementProps extends CssProps, Omit<ViewStyleProps, keyof HTMLAttributes<HTMLElement> | 'children' | 'style' | 'pointerEvents'>, Omit<HTMLAttributes<HTMLElement>, 'color' | 'style' | 'content' | 'translate'> {
|
|
121
|
+
on?: Record<string, CssProps>;
|
|
122
|
+
media?: Record<string, CssProps>;
|
|
123
|
+
only?: string[];
|
|
124
|
+
css?: CSSProperties | any;
|
|
125
|
+
onPress?: any;
|
|
126
|
+
onClick?: any;
|
|
127
|
+
className?: string;
|
|
128
|
+
blend?: boolean;
|
|
129
|
+
type?: string;
|
|
130
|
+
as?: keyof JSX.IntrinsicElements;
|
|
131
|
+
style?: CSSProperties;
|
|
132
|
+
widthHeight?: number | string;
|
|
133
|
+
children?: React.ReactNode;
|
|
134
|
+
before?: React.ReactNode;
|
|
135
|
+
after?: React.ReactNode;
|
|
136
|
+
/**
|
|
137
|
+
* Component-scoped theme override. Remaps `theme-*` tokens used by this
|
|
138
|
+
* component (and its style props) to different color tokens, without
|
|
139
|
+
* affecting the global ThemeProvider. Each value is a color token string
|
|
140
|
+
* (`color-red-500`, `theme-secondary`) or a raw color (`#ff0000`).
|
|
141
|
+
*/
|
|
142
|
+
theme?: Partial<Theme>;
|
|
143
|
+
animateOn?: 'View' | 'Mount' | 'Both' | 'Scroll';
|
|
144
|
+
_hover?: CssProps | string;
|
|
145
|
+
_active?: CssProps | string;
|
|
146
|
+
_focus?: CssProps | string;
|
|
147
|
+
_visited?: CssProps | string;
|
|
148
|
+
_disabled?: CssProps | string;
|
|
149
|
+
_enabled?: CssProps | string;
|
|
150
|
+
_checked?: CssProps | string;
|
|
151
|
+
_unchecked?: CssProps | string;
|
|
152
|
+
_invalid?: CssProps | string;
|
|
153
|
+
_valid?: CssProps | string;
|
|
154
|
+
_required?: CssProps | string;
|
|
155
|
+
_optional?: CssProps | string;
|
|
156
|
+
_selected?: CssProps | string;
|
|
157
|
+
_target?: CssProps | string;
|
|
158
|
+
_firstChild?: CssProps | string;
|
|
159
|
+
_lastChild?: CssProps | string;
|
|
160
|
+
_onlyChild?: CssProps | string;
|
|
161
|
+
_firstOfType?: CssProps | string;
|
|
162
|
+
_lastOfType?: CssProps | string;
|
|
163
|
+
_empty?: CssProps | string;
|
|
164
|
+
_focusVisible?: CssProps | string;
|
|
165
|
+
_focusWithin?: CssProps | string;
|
|
166
|
+
_placeholder?: CssProps | string;
|
|
167
|
+
_groupHover?: CssProps | string;
|
|
168
|
+
_groupFocus?: CssProps | string;
|
|
169
|
+
_groupActive?: CssProps | string;
|
|
170
|
+
_groupDisabled?: CssProps | string;
|
|
171
|
+
_peerHover?: CssProps | string;
|
|
172
|
+
_peerFocus?: CssProps | string;
|
|
173
|
+
_peerActive?: CssProps | string;
|
|
174
|
+
_peerDisabled?: CssProps | string;
|
|
175
|
+
_peerChecked?: CssProps | string;
|
|
176
|
+
_before?: CssProps;
|
|
177
|
+
_after?: CssProps;
|
|
178
|
+
_firstLetter?: CssProps;
|
|
179
|
+
_firstLine?: CssProps;
|
|
180
|
+
_selection?: CssProps;
|
|
181
|
+
_backdrop?: CssProps;
|
|
182
|
+
_marker?: CssProps;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
declare const Element$1: react__default.MemoExoticComponent<react__default.ForwardRefExoticComponent<ElementProps & react__default.RefAttributes<HTMLElement>>>;
|
|
186
|
+
|
|
187
|
+
interface ViewProps extends Omit<ViewStyleProps, keyof ElementProps>, ElementProps {
|
|
188
|
+
onPress?: (..._args: any) => void;
|
|
189
|
+
}
|
|
190
|
+
declare const View: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ViewProps & react__default.RefAttributes<HTMLElement>>;
|
|
191
|
+
declare const Horizontal: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ViewProps & react__default.RefAttributes<HTMLElement>>;
|
|
192
|
+
declare const Center: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ViewProps & react__default.RefAttributes<HTMLElement>>;
|
|
193
|
+
declare const Vertical: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ViewProps & react__default.RefAttributes<HTMLElement>>;
|
|
194
|
+
declare const HorizontalResponsive: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ViewProps & react__default.RefAttributes<HTMLElement>>;
|
|
195
|
+
declare const VerticalResponsive: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ViewProps & react__default.RefAttributes<HTMLElement>>;
|
|
196
|
+
declare const Scroll: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ViewProps & react__default.RefAttributes<HTMLElement>>;
|
|
197
|
+
declare const SafeArea: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ViewProps & react__default.RefAttributes<HTMLElement>>;
|
|
198
|
+
declare const Div: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ViewProps & react__default.RefAttributes<HTMLElement>>;
|
|
199
|
+
declare const Span: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ViewProps & react__default.RefAttributes<HTMLElement>>;
|
|
200
|
+
|
|
201
|
+
interface ImageProps extends Omit<ImageStyleProps, keyof ElementProps>, Omit<Partial<HTMLImageElement>, keyof ElementProps>, ElementProps {
|
|
202
|
+
}
|
|
203
|
+
declare const Image: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ImageProps & react__default.RefAttributes<HTMLElement>>;
|
|
204
|
+
declare const ImageBackground: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ImageProps & react__default.RefAttributes<HTMLElement>>;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* The Text component is a simple component that renders a text string or paragraphs as a DOM element in the UI. It is a <p> tag by default.
|
|
208
|
+
*/
|
|
209
|
+
declare const Text: react__default.ForwardRefExoticComponent<Omit<any, "ref"> & react__default.RefAttributes<HTMLElement>>;
|
|
210
|
+
|
|
211
|
+
interface TextProps extends Omit<TextStyleProps, keyof ElementProps>, Omit<ElementProps, 'maxLines'> {
|
|
212
|
+
children?: React.ReactNode;
|
|
213
|
+
backgroundColor?: string;
|
|
214
|
+
toUpperCase?: boolean;
|
|
215
|
+
/**
|
|
216
|
+
* Background color used to automatically compute a readable text color
|
|
217
|
+
*/
|
|
218
|
+
bgColor?: string;
|
|
219
|
+
isItalic?: boolean;
|
|
220
|
+
isStriked?: boolean;
|
|
221
|
+
isUnderlined?: boolean;
|
|
222
|
+
isSub?: boolean;
|
|
223
|
+
isSup?: boolean;
|
|
224
|
+
maxLines?: number;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
interface CommonProps extends ElementProps, Omit<ViewStyleProps, keyof ElementProps> {
|
|
228
|
+
}
|
|
229
|
+
interface FormProps extends CommonProps, Omit<Partial<HTMLFormElement>, keyof ElementProps>, ElementProps {
|
|
230
|
+
}
|
|
231
|
+
interface ButtonProps extends CommonProps, Omit<Partial<HTMLButtonElement>, keyof CommonProps> {
|
|
232
|
+
children?: react__default.ReactNode;
|
|
233
|
+
onClick?: (..._args: any) => void;
|
|
234
|
+
}
|
|
235
|
+
interface InputProps extends ElementProps, CommonProps, Omit<Partial<HTMLInputElement>, keyof ElementProps> {
|
|
236
|
+
/**
|
|
237
|
+
* Visible label rendered alongside the input. Form-library wrappers (Switch,
|
|
238
|
+
* TextField, Checkbox, …) consume this. Not a native HTML attribute on
|
|
239
|
+
* <input>, but conventionally part of the form-control prop surface.
|
|
240
|
+
*/
|
|
241
|
+
label?: react__default.ReactNode;
|
|
242
|
+
/**
|
|
243
|
+
* Helper text rendered below the input (hint / error / explanation).
|
|
244
|
+
*/
|
|
245
|
+
helperText?: react__default.ReactNode;
|
|
246
|
+
/**
|
|
247
|
+
* Error state — usually a string for the error message, or a boolean toggle.
|
|
248
|
+
*/
|
|
249
|
+
error?: boolean | string;
|
|
250
|
+
}
|
|
251
|
+
declare const Form: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & FormProps & react__default.RefAttributes<HTMLElement>>;
|
|
252
|
+
declare const Input: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & InputProps & react__default.RefAttributes<HTMLElement>>;
|
|
253
|
+
declare const Button: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & ButtonProps & react__default.RefAttributes<HTMLElement>>;
|
|
254
|
+
|
|
255
|
+
declare const Skeleton: react__default.MemoExoticComponent<({ duration, timingFunction, iterationCount, ...props }: AnimationProps & any) => react__default.JSX.Element>;
|
|
256
|
+
|
|
257
|
+
type StyleContext = 'base-shorthand' | 'base-side' | 'base-cross' | 'base' | 'pseudo' | 'media' | 'modifier' | 'override-shorthand' | 'override-side' | 'override-cross' | 'override';
|
|
258
|
+
/**
|
|
259
|
+
* Utility functions for animation handling
|
|
260
|
+
*/
|
|
261
|
+
declare const AnimationUtils: {
|
|
262
|
+
parseDuration(duration: string): number;
|
|
263
|
+
formatDuration(ms: number): string;
|
|
264
|
+
processAnimations(animations: any[], manager?: UtilityClassManager): {
|
|
265
|
+
animationRange?: string | undefined;
|
|
266
|
+
animationTimeline?: string | undefined;
|
|
267
|
+
animationName: string;
|
|
268
|
+
animationDuration: string;
|
|
269
|
+
animationTimingFunction: string;
|
|
270
|
+
animationDelay: string;
|
|
271
|
+
animationIterationCount: string;
|
|
272
|
+
animationDirection: string;
|
|
273
|
+
animationFillMode: string;
|
|
274
|
+
animationPlayState: string;
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
declare class UtilityClassManager {
|
|
278
|
+
private styleSheets;
|
|
279
|
+
private classCache;
|
|
280
|
+
private propertyShorthand;
|
|
281
|
+
private mainDocument;
|
|
282
|
+
constructor(propertyShorthand: Record<string, string>, maxCacheSize?: number);
|
|
283
|
+
private initStyleSheets;
|
|
284
|
+
private getDocumentRules;
|
|
285
|
+
addDocument(targetDocument: Document): void;
|
|
286
|
+
private clearStylesFromDocument;
|
|
287
|
+
private escapeClassName;
|
|
288
|
+
private serverRules;
|
|
289
|
+
injectRule(cssRule: string, context?: StyleContext): void;
|
|
290
|
+
getServerStyles(): string;
|
|
291
|
+
private getAllRegisteredDocuments;
|
|
292
|
+
private addToCache;
|
|
293
|
+
getClassNames(property: string, value: any, context: StyleContext | undefined, modifier: string | undefined, getColor: (color: string) => string, mediaQueries?: string[]): string[];
|
|
294
|
+
removeDocument(targetDocument: Document): void;
|
|
295
|
+
clearCache(): void;
|
|
296
|
+
private clearStyleSheet;
|
|
297
|
+
regenerateStyles(targetDocument: Document): void;
|
|
298
|
+
regenerateAllStyles(): void;
|
|
299
|
+
private injectRuleToDocument;
|
|
300
|
+
printStyles(targetDocument: Document): void;
|
|
301
|
+
}
|
|
302
|
+
declare const propertyShorthand: Record<string, string>;
|
|
303
|
+
declare const utilityClassManager: UtilityClassManager;
|
|
304
|
+
declare const extractUtilityClasses: (props: ElementProps, getColor: (color: string) => string, mediaQueries: Record<string, string>, devices: Record<string, string[]>, manager?: UtilityClassManager) => string[];
|
|
305
|
+
|
|
306
|
+
type ResponsiveConfig = Record<string, number>;
|
|
307
|
+
type ScreenOrientation = 'landscape' | 'portrait';
|
|
308
|
+
type DeviceType = 'mobile' | 'tablet' | 'desktop';
|
|
309
|
+
type DeviceConfig = Record<string, string[]>;
|
|
310
|
+
type QueryConfig = Record<string, string>;
|
|
311
|
+
type BreakpointConfig = {
|
|
312
|
+
breakpoints: ResponsiveConfig;
|
|
313
|
+
devices: DeviceConfig;
|
|
314
|
+
mediaQueries: QueryConfig;
|
|
315
|
+
currentBreakpoint: keyof ResponsiveConfig;
|
|
316
|
+
currentDevice: DeviceType;
|
|
317
|
+
orientation: ScreenOrientation;
|
|
318
|
+
};
|
|
319
|
+
type WindowDimensions = {
|
|
320
|
+
width: number;
|
|
321
|
+
height: number;
|
|
322
|
+
};
|
|
323
|
+
type ScreenConfig = {
|
|
324
|
+
breakpoints: ResponsiveConfig;
|
|
325
|
+
devices: DeviceConfig;
|
|
326
|
+
mediaQueries: QueryConfig;
|
|
327
|
+
currentWidth: number;
|
|
328
|
+
currentHeight: number;
|
|
329
|
+
currentBreakpoint: keyof ResponsiveConfig;
|
|
330
|
+
currentDevice: DeviceType;
|
|
331
|
+
orientation: ScreenOrientation;
|
|
332
|
+
};
|
|
333
|
+
declare const debounce: (func: Function, wait: number) => (...args: any[]) => void;
|
|
334
|
+
declare const BreakpointContext: react__default.Context<BreakpointConfig>;
|
|
335
|
+
declare const WindowDimensionsContext: react__default.Context<WindowDimensions>;
|
|
336
|
+
/**
|
|
337
|
+
* Hook to access breakpoint information only.
|
|
338
|
+
* Components using this hook will NOT re-render on every resize,
|
|
339
|
+
* only when the breakpoint actually changes.
|
|
340
|
+
*/
|
|
341
|
+
declare const useBreakpointContext: () => BreakpointConfig;
|
|
342
|
+
/**
|
|
343
|
+
* Hook to access window dimensions.
|
|
344
|
+
* Components using this hook WILL re-render on every resize.
|
|
345
|
+
* Use sparingly - prefer useBreakpointContext when possible.
|
|
346
|
+
*/
|
|
347
|
+
declare const useWindowDimensionsContext: () => WindowDimensions;
|
|
348
|
+
declare const ResponsiveContext: react__default.Context<ScreenConfig>;
|
|
349
|
+
/**
|
|
350
|
+
* Legacy hook for backward compatibility.
|
|
351
|
+
* Prefer useBreakpointContext for better performance.
|
|
352
|
+
* @deprecated Use useBreakpointContext instead for better performance
|
|
353
|
+
*/
|
|
354
|
+
declare const useResponsiveContext: () => ScreenConfig;
|
|
355
|
+
interface ResponsiveProviderProps {
|
|
356
|
+
breakpoints?: ResponsiveConfig;
|
|
357
|
+
devices?: DeviceConfig;
|
|
358
|
+
children: ReactNode;
|
|
359
|
+
/** Optional target window to track (for iframe support). Defaults to global window. */
|
|
360
|
+
targetWindow?: Window;
|
|
361
|
+
}
|
|
362
|
+
declare const ResponsiveProvider: ({ breakpoints, devices, children, targetWindow, }: ResponsiveProviderProps) => react__default.JSX.Element;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Context to hold the style manager instance.
|
|
366
|
+
*/
|
|
367
|
+
interface StyleRegistryContextValue {
|
|
368
|
+
manager: UtilityClassManager;
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Hook to access the current style manager.
|
|
372
|
+
*/
|
|
373
|
+
declare const useStyleRegistry: () => StyleRegistryContextValue;
|
|
374
|
+
interface StyleRegistryProps {
|
|
375
|
+
registry?: UtilityClassManager;
|
|
376
|
+
children: react__default.ReactNode;
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* Provider to wrap the app and manage styles.
|
|
380
|
+
* When doing SSR, pass a new registry created via createStyleRegistry().
|
|
381
|
+
*/
|
|
382
|
+
declare const StyleRegistry: ({ registry, children }: StyleRegistryProps) => react__default.JSX.Element;
|
|
383
|
+
/**
|
|
384
|
+
* Helper to create a new style registry (UtilityClassManager) instance.
|
|
385
|
+
* Useful for SSR to create a fresh manager per request.
|
|
386
|
+
*/
|
|
387
|
+
declare const createStyleRegistry: () => UtilityClassManager;
|
|
388
|
+
/**
|
|
389
|
+
* React hook to get the CSS string from the registry.
|
|
390
|
+
* Note: This only works if you're using a fresh registry that collected styles.
|
|
391
|
+
*/
|
|
392
|
+
declare const useServerInsertedHTML: (registry: UtilityClassManager) => () => react__default.JSX.Element;
|
|
393
|
+
|
|
394
|
+
declare const WindowSizeContext: react__default.Context<{
|
|
395
|
+
width: number;
|
|
396
|
+
height: number;
|
|
397
|
+
}>;
|
|
398
|
+
interface WindowSizeProviderProps {
|
|
399
|
+
children: ReactNode;
|
|
400
|
+
/** Optional target window to track (for iframe support). Defaults to global window. */
|
|
401
|
+
targetWindow?: Window;
|
|
402
|
+
}
|
|
403
|
+
declare const WindowSizeProvider: ({ children, targetWindow, }: WindowSizeProviderProps) => react__default.JSX.Element;
|
|
404
|
+
|
|
405
|
+
declare function useActive<T extends HTMLElement = HTMLElement>(): [
|
|
406
|
+
React.RefObject<T>,
|
|
407
|
+
boolean
|
|
408
|
+
];
|
|
409
|
+
|
|
410
|
+
interface UseClickOutsideOptions {
|
|
411
|
+
/** Optional target window to use (for iframe support). Defaults to global window. */
|
|
412
|
+
targetWindow?: Window;
|
|
413
|
+
}
|
|
414
|
+
declare function useClickOutside<T extends HTMLElement = HTMLElement>(options?: UseClickOutsideOptions): [React.RefObject<T>, boolean];
|
|
415
|
+
|
|
416
|
+
interface RelativePlacement {
|
|
417
|
+
vertical: 'top' | 'bottom';
|
|
418
|
+
horizontal: 'left' | 'right';
|
|
419
|
+
}
|
|
420
|
+
interface ElementPosition {
|
|
421
|
+
position: RelativePlacement;
|
|
422
|
+
space: RelativePlacement;
|
|
423
|
+
}
|
|
424
|
+
interface UseElementPositionOptions {
|
|
425
|
+
/** Whether to track changes automatically. Default: true */
|
|
426
|
+
trackChanges?: boolean;
|
|
427
|
+
/** Throttle delay in milliseconds for updates. Default: 100 */
|
|
428
|
+
throttleMs?: number;
|
|
429
|
+
/** Whether to track on hover events. Default: true */
|
|
430
|
+
trackOnHover?: boolean;
|
|
431
|
+
/** Whether to track on scroll events. Default: false */
|
|
432
|
+
trackOnScroll?: boolean;
|
|
433
|
+
/** Whether to track on resize events. Default: false */
|
|
434
|
+
trackOnResize?: boolean;
|
|
435
|
+
/** Optional target window to use (for iframe support). Defaults to global window. */
|
|
436
|
+
targetWindow?: Window;
|
|
437
|
+
}
|
|
438
|
+
interface UseElementPositionReturn {
|
|
439
|
+
/** React ref to attach to the target HTML element. */
|
|
440
|
+
ref: React.RefObject<HTMLElement>;
|
|
441
|
+
/**
|
|
442
|
+
* The calculated viewport relation data, or null if not yet calculated
|
|
443
|
+
* or element not found.
|
|
444
|
+
*/
|
|
445
|
+
relation: ElementPosition | null;
|
|
446
|
+
/** Function to manually trigger an immediate recalculation. */
|
|
447
|
+
updateRelation: () => void;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* A React hook to determine an element's relative position within the viewport
|
|
451
|
+
* and where the most available space is around it within the viewport.
|
|
452
|
+
*/
|
|
453
|
+
declare function useElementPosition<T extends HTMLElement = HTMLElement>(options?: UseElementPositionOptions): UseElementPositionReturn;
|
|
454
|
+
|
|
455
|
+
declare function useFocus<T extends HTMLElement = HTMLElement>(): [
|
|
456
|
+
React.RefObject<T>,
|
|
457
|
+
boolean
|
|
458
|
+
];
|
|
459
|
+
|
|
460
|
+
declare function useHover<T extends HTMLElement = HTMLElement>(): [
|
|
461
|
+
React.RefObject<T>,
|
|
462
|
+
boolean
|
|
463
|
+
];
|
|
464
|
+
|
|
465
|
+
declare function useKeyPress(targetKey: string): boolean;
|
|
466
|
+
|
|
467
|
+
declare const useMount: (callback: () => void) => void;
|
|
468
|
+
|
|
469
|
+
interface UseOnScreenOptions extends IntersectionObserverInit {
|
|
470
|
+
/** Optional target window to use (for iframe support). Defaults to global window. */
|
|
471
|
+
targetWindow?: Window;
|
|
472
|
+
}
|
|
473
|
+
declare function useOnScreen<T extends HTMLElement = HTMLElement>(options?: UseOnScreenOptions): [React.RefObject<T>, boolean];
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Optimized hook for components that only need breakpoint information.
|
|
477
|
+
* This hook will NOT cause re-renders on every window resize,
|
|
478
|
+
* only when the breakpoint actually changes.
|
|
479
|
+
*
|
|
480
|
+
* Use this hook instead of useResponsive for better performance
|
|
481
|
+
* when you only need to check breakpoints or device type.
|
|
482
|
+
*
|
|
483
|
+
* @example
|
|
484
|
+
* const { screen, on, is, orientation } = useBreakpoint();
|
|
485
|
+
* if (on('mobile')) { ... }
|
|
486
|
+
* if (is('xs')) { ... }
|
|
487
|
+
*/
|
|
488
|
+
declare const useBreakpoint: () => {
|
|
489
|
+
screen: string;
|
|
490
|
+
orientation: ScreenOrientation;
|
|
491
|
+
on: (s: string) => boolean;
|
|
492
|
+
is: (s: string) => boolean;
|
|
493
|
+
breakpoints: ResponsiveConfig;
|
|
494
|
+
devices: DeviceConfig;
|
|
495
|
+
mediaQueries: QueryConfig;
|
|
496
|
+
currentBreakpoint: keyof ResponsiveConfig;
|
|
497
|
+
currentDevice: DeviceType;
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* Hook for components that need exact window dimensions.
|
|
501
|
+
* This hook WILL cause re-renders on every window resize.
|
|
502
|
+
* Use sparingly - prefer useBreakpoint when possible.
|
|
503
|
+
*
|
|
504
|
+
* @example
|
|
505
|
+
* const { width, height } = useWindowDimensions();
|
|
506
|
+
*/
|
|
507
|
+
declare const useWindowDimensions: () => WindowDimensions;
|
|
508
|
+
/**
|
|
509
|
+
* Combined hook that provides both breakpoint info and window dimensions.
|
|
510
|
+
* This hook WILL cause re-renders on every window resize.
|
|
511
|
+
*
|
|
512
|
+
* For better performance, use:
|
|
513
|
+
* - useBreakpoint() when you only need breakpoint/device info
|
|
514
|
+
* - useWindowDimensions() when you only need exact dimensions
|
|
515
|
+
*
|
|
516
|
+
* @example
|
|
517
|
+
* const { screen, on, currentWidth, currentHeight } = useResponsive();
|
|
518
|
+
*/
|
|
519
|
+
declare const useResponsive: () => {
|
|
520
|
+
screen: string;
|
|
521
|
+
orientation: ScreenOrientation;
|
|
522
|
+
on: (s: string) => boolean;
|
|
523
|
+
is: (s: string) => boolean;
|
|
524
|
+
breakpoints: ResponsiveConfig;
|
|
525
|
+
devices: DeviceConfig;
|
|
526
|
+
mediaQueries: QueryConfig;
|
|
527
|
+
currentWidth: number;
|
|
528
|
+
currentHeight: number;
|
|
529
|
+
currentBreakpoint: keyof ResponsiveConfig;
|
|
530
|
+
currentDevice: DeviceType;
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
interface ScrollPosition {
|
|
534
|
+
x: number;
|
|
535
|
+
y: number;
|
|
536
|
+
xProgress: number;
|
|
537
|
+
yProgress: number;
|
|
538
|
+
/**
|
|
539
|
+
* Position of the tracked element relative to the viewport top (if container is provided).
|
|
540
|
+
* Equivalent to getBoundingClientRect().top
|
|
541
|
+
*/
|
|
542
|
+
elementY?: number;
|
|
543
|
+
/**
|
|
544
|
+
* Progress of the element scrolling through the viewport (for sticky/reveal effects).
|
|
545
|
+
* Calculated as: -elementY / (elementHeight - viewportHeight)
|
|
546
|
+
* Varies from 0 (element hits top) to 1 (element finishes scrolling).
|
|
547
|
+
*/
|
|
548
|
+
elementProgress?: number;
|
|
549
|
+
}
|
|
550
|
+
interface UseScrollOptions {
|
|
551
|
+
container?: RefObject<HTMLElement>;
|
|
552
|
+
offset?: [number, number];
|
|
553
|
+
throttleMs?: number;
|
|
554
|
+
disabled?: boolean;
|
|
555
|
+
}
|
|
556
|
+
interface UseScrollAnimationOptions {
|
|
557
|
+
threshold?: number | number[];
|
|
558
|
+
rootMargin?: string;
|
|
559
|
+
root?: Element | null;
|
|
560
|
+
onIntersectionChange?: (isIntersecting: boolean, ratio: number) => void;
|
|
561
|
+
/** Target window for iframe support - automatically sets correct root */
|
|
562
|
+
targetWindow?: Window | null;
|
|
563
|
+
}
|
|
564
|
+
interface UseInfiniteScrollOptions {
|
|
565
|
+
threshold?: number;
|
|
566
|
+
isLoading?: boolean;
|
|
567
|
+
root?: Element | null;
|
|
568
|
+
rootMargin?: string;
|
|
569
|
+
debounceMs?: number;
|
|
570
|
+
}
|
|
571
|
+
declare const useScroll: ({ container, offset, throttleMs, disabled, }?: UseScrollOptions) => ScrollPosition;
|
|
572
|
+
declare const useScrollAnimation: (ref: RefObject<HTMLElement>, options?: UseScrollAnimationOptions) => {
|
|
573
|
+
isInView: boolean;
|
|
574
|
+
progress: number;
|
|
575
|
+
};
|
|
576
|
+
declare const useSmoothScroll: (targetWindow?: Window) => (element: HTMLElement | null, offset?: any) => void;
|
|
577
|
+
declare const useInfiniteScroll: (callback: () => void, options?: UseInfiniteScrollOptions) => {
|
|
578
|
+
sentinelRef: react.Dispatch<react.SetStateAction<HTMLDivElement | null>>;
|
|
579
|
+
};
|
|
580
|
+
declare const useScrollDirection: (threshold?: number, targetWindow?: Window) => "up" | "down";
|
|
581
|
+
|
|
582
|
+
declare const useWindowSize: () => {
|
|
583
|
+
width: number;
|
|
584
|
+
height: number;
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
interface InViewOptions extends IntersectionObserverInit {
|
|
588
|
+
triggerOnce?: boolean;
|
|
589
|
+
/** Optional target window to use (for iframe support). Defaults to global window. */
|
|
590
|
+
targetWindow?: Window;
|
|
591
|
+
}
|
|
592
|
+
declare function useInView(options?: InViewOptions): {
|
|
593
|
+
ref: react.RefObject<HTMLElement>;
|
|
594
|
+
inView: boolean;
|
|
595
|
+
};
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Hook to register an iframe's document with the style manager.
|
|
599
|
+
* This ensures that all CSS utility classes are automatically injected into the iframe.
|
|
600
|
+
*
|
|
601
|
+
* @param iframeRef - Reference to the iframe element
|
|
602
|
+
*
|
|
603
|
+
* @example
|
|
604
|
+
* ```tsx
|
|
605
|
+
* const iframeRef = useRef<HTMLIFrameElement>(null);
|
|
606
|
+
* useIframeStyles(iframeRef);
|
|
607
|
+
*
|
|
608
|
+
* return <iframe ref={iframeRef} src="/content" />;
|
|
609
|
+
* ```
|
|
610
|
+
*/
|
|
611
|
+
declare function useIframeStyles(iframeRef: React.RefObject<HTMLIFrameElement>): void;
|
|
612
|
+
/**
|
|
613
|
+
* Hook to get an iframe's window and document, and automatically register styles.
|
|
614
|
+
* This is a convenience hook that combines iframe access with style registration.
|
|
615
|
+
*
|
|
616
|
+
* @param iframeRef - Reference to the iframe element
|
|
617
|
+
* @returns Object containing iframeWindow, iframeDocument, and isLoaded flag
|
|
618
|
+
*
|
|
619
|
+
* @example
|
|
620
|
+
* ```tsx
|
|
621
|
+
* const iframeRef = useRef<HTMLIFrameElement>(null);
|
|
622
|
+
* const { iframeWindow, iframeDocument, isLoaded } = useIframe(iframeRef);
|
|
623
|
+
*
|
|
624
|
+
* return (
|
|
625
|
+
* <>
|
|
626
|
+
* <iframe ref={iframeRef} src="/content" />
|
|
627
|
+
* {isLoaded && <div>Iframe loaded!</div>}
|
|
628
|
+
* </>
|
|
629
|
+
* );
|
|
630
|
+
* ```
|
|
631
|
+
*/
|
|
632
|
+
declare function useIframe(iframeRef: React.RefObject<HTMLIFrameElement>): {
|
|
633
|
+
iframeWindow: Window | null;
|
|
634
|
+
iframeDocument: Document | null;
|
|
635
|
+
isLoaded: boolean;
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
export { AnimationUtils, type BreakpointConfig, BreakpointContext, Button, type ButtonProps, Center, ColorPalette, ColorSingleton, type Colors, type CssProps, type DeviceConfig, type DeviceType, Div, Element$1 as Element, type ElementPosition, type ElementProps, Form, type FormProps, Horizontal, HorizontalResponsive, Image, ImageBackground, type ImageProps, Input, type InputProps, type QueryConfig, type RelativePlacement, type ResponsiveConfig, ResponsiveContext, ResponsiveProvider, type ResponsiveProviderProps, SafeArea, type ScreenConfig, type ScreenOrientation, Scroll, type ScrollPosition, Shadow, Skeleton, Span, StyleRegistry, Text, type TextProps, type Theme, ThemeContext, ThemeProvider, type UseClickOutsideOptions, type UseElementPositionOptions, type UseElementPositionReturn, type UseInfiniteScrollOptions, type UseOnScreenOptions, type UseScrollAnimationOptions, type UseScrollOptions, UtilityClassManager, Vertical, VerticalResponsive, View, type ViewProps, type WindowDimensions, WindowDimensionsContext, WindowSizeContext, WindowSizeProvider, type WindowSizeProviderProps, createStyleRegistry, debounce, deepMerge, defaultThemeMain, extractUtilityClasses, propertyShorthand, useActive, useBreakpoint, useBreakpointContext, useClickOutside, useElementPosition, useFocus, useHover, useIframe, useIframeStyles, useInView, useInfiniteScroll, useKeyPress, useMount, useOnScreen, useResponsive, useResponsiveContext, useScroll, useScrollAnimation, useScrollDirection, useServerInsertedHTML, useSmoothScroll, useStyleRegistry, useTheme, useWindowDimensions, useWindowDimensionsContext, useWindowSize, utilityClassManager };
|