/** * ZUI - ZeppOS UI Library * A comprehensive UI component library for Amazfit smart watches * * Designed following ZeppOS 3.0 design principles: * - Natural: Self-evident and easy to understand * - Simple: Clear structure, short paths, minimal cognitive load * - Symbiosis: Hardware and software complement each other * * Optimized for Amazfit Balance (480×480 AMOLED circular display) * * @packageDocumentation */ export { Component, LayoutComponent, normalizePadding, createWidget, deleteWidget, WIDGET_TYPES, EventEmitter, globalEventBus, createScopedEmitter, createState, State, computed, effect, } from './core'; export type { DeviceInfo, ScreenConfig, Size, Rect, Point, Padding, PaddingInput, Alignment, JustifyContent, Direction, TextAlign, BaseProps, StyleProps, LayoutProps, EventCallback, TouchEvent, GestureEvent, ScrollEvent, CrownEvent, WidgetType, WidgetOptions, Widget, ComponentInstance, StateSubscription, StateSelector, StateUpdater, EasingFunction, EasingName, AnimationConfig, TransitionConfig, ThemeColors, ThemeTypography, ThemeSpacing, Theme, DeepPartial, LayoutComponentProps, } from './core'; export { hexToNumber, numberToHex, hexToRgb, rgbToHex, parseColor, adjustBrightness, getAlpha, withAlpha, getContrastRatio, systemColors, textColors, backgroundColors, stateModifiers, healthColors, auxiliaryColors, defaultColors, getColor, getPressedColor, getDisabledColor, meetsContrastRequirement, fontFamilies, fontSizes, fontSizesByResolution, fontWeights, LINE_HEIGHT_MULTIPLIER, calculateLineHeight, textScrollConfig, applyTextCase, defaultTypography, getTextStyle, getFontSizesForResolution, calculateMinFontSize, needsScrolling, createTextStyleOptions, spacingScale, cardSpacing, listSpacing, buttonSpacing, inputSpacing, titleBarSpacing, safeArea, defaultSpacing, getSpacing, createPadding, createMargin, getContentArea, getCircularContentArea, TOUCH_TARGET_MIN, ensureTouchTarget, iconSizes, appIconConfig, ICON_SAFE_AREA, systemIcons, getIconSize, getIconContentSize, getIconPath, createIcon, validateIcon, buttonIconSizes, getButtonIconSize, defaultTheme, getTheme, setTheme, subscribeToTheme, createTheme, createThemeWithPrimaryColor, getThemeColor, getThemeSpacing, getThemeTypography, getThemeIconSize, getThemeBorderRadius, ThemeProvider, lightThemeOverrides, createLightTheme, theme, } from './theme'; export type { FontSizeKey, FontWeightKey, FontFamilyKey, TextStyle, TextCase, SpacingKey, IconSize, IconConfig, SystemIconName, } from './theme'; export { cubicBezier, linear, easeIn, easeOut, easeInOut, easeInQuad, easeOutQuad, easeInOutQuad, easeInCubic, easeOutCubic, easeInOutCubic, easeOutBounce, easeOutElastic, easingFunctions, getEasing, animationDurations, getDuration, getDecelerationDuration, Animator, animator, fadeIn, fadeOut, scale, pressedAnimation, releasedAnimation, toastEnter, toastExit, } from './animations'; export type { AnimationDuration, Animation, AnimatorOptions } from './animations'; export { Container, createContainer, Stack, createStack, VStack, HStack, ScrollView, createScrollView, CircularLayout, createCircularLayout, } from './layout'; export type { ContainerProps, StackProps, ScrollViewProps, CircularLayoutProps, } from './layout'; export { Text, createText, Title, Body, Caption, Button, createButton, PrimaryButton, SecondaryButton, DestructiveButton, FloatingButton, Switch, createSwitch, Stepper, createStepper, ListItem, createListItem, SectionHeader, createSectionHeader, TitleBar, createTitleBar, Toast, createToast, showToast, dismissToast, clearToastQueue, Loading, createLoading, showLoading, hideLoading, } from './components'; export type { TextProps, ButtonProps, ButtonVariant, ButtonSize, SwitchProps, StepperProps, ListItemProps, ListItemAccessory, SectionHeaderProps, TitleBarProps, ToastProps, LoadingProps, } from './components'; export declare const VERSION = "1.0.0"; /** * ZUI provides the following main exports: * * **Layout Components:** * - `Container` - Base container with padding, background, border radius * - `Stack` / `VStack` / `HStack` - Arrange children in a line * - `ScrollView` - Scrollable container * - `CircularLayout` - Layout optimized for circular displays * * **Display Components:** * - `Text` - Text display with typography presets * - `Title` / `Body` / `Caption` - Pre-styled text shortcuts * * **Input Components:** * - `Button` - Interactive button with variants * - `Switch` - Toggle switch with accessibility support * * **Feedback Components:** * - `Toast` - Lightweight notification * - `Loading` - Loading indicator * * **Theme System:** * - `theme` - Access current theme values * - `createTheme` - Create custom themes * - `systemColors`, `textColors`, `backgroundColors` - Color tokens * - `fontSizes`, `fontWeights` - Typography tokens * - `spacingScale` - Spacing tokens * * **State Management:** * - `createState` - Create reactive state * - `computed` - Create derived values * - `effect` - Run side effects on state change * * **Animations:** * - `animator` - Global animation controller * - `fadeIn`, `fadeOut`, `scale` - Animation helpers * - `easeIn`, `easeOut`, `easeInOut` - Easing functions */ //# sourceMappingURL=index.d.ts.map