@hmiproject/helio-sdk
    Preparing search index...

    @hmiproject/helio-sdk

    Overview of the HELIO SDK Contents

    CSS

    className

    Creates dynamic CSS class name.

    cx

    Merges multiple classNames

    keyframes

    Creates a CSS keyframes animation.

    Components

    AdjustContainerLevel_unstable

    Changes the container nesting depth for rendered child elements.

    Dialog
    RenderChildRoutes
    RenderDynamicProperty

    Displays a given DisplayDynamicPropertyRef.

    RenderInstance

    Renders an instance with a given instance id.

    RenderInstances

    Renders a list of instances.

    RenderText

    Functions

    createAction

    Creates a HELIO Action.

    createDynamicProperty

    Creates a HELIO Dynamic Property.

    createElement

    Creates a HELIO element.

    createIcon

    Creates a HELIO icon.

    createLibraryExtension

    Creates a HELIO library extension.

    createPropsSchema

    Creates a migratable schema of properties to be used in elements, actions or dynamic properties.

    Hooks

    ContainerAppearance

    The resolved visual appearance of the surface the element's content currently sits on — the visible surrounding container.

    ContainerLayer

    The layer the surrounding container is rendered in.

    RenderMode

    The mode in which the application is currently displaying.

    ServerStateInfo
    UseContainerResult
    UseServerStateOptions
    UseServerStorageSetValue

    Callback for writing a new value of TValue to the server.

    UseServerStorageValue

    The current value, or undefined while loading.

    useAction

    Prepares an Action Ref for execution.

    useContainer_unstable

    Describes the surrounding container the element's content sits on — the visible container — so the content can blend in with, or deliberately react to, its surroundings.

    useDataVariable

    Prepares a dynamic property that is expected to result in a Data Variable.

    useDesignTokens

    Returns all Design Tokens as a single object.

    useDynamicProperty

    Prepares an DynamicPropertyRef for usage.

    useInstanceResolver_unstable

    Might be removed in future versions or change behavior

    useLocale

    Returns the currently active application locale.

    useRawExternalAttributes

    Low-level API to read external attributes passed to the application.

    useRenderMode

    Returns the current mode in which the application is rendering.

    useSelectableElement

    Makes a DOM element selectable in the IDE.

    useServerNow

    Produces the current time on the server, updated every second.

    useServerState

    Stores a JSON value on the server and returns a tuple of the current value and a setter function.

    useText
    useTime

    Allows access to time information.

    useToast
    useZoom

    Provides the current zoom level of the application.

    Namespaces

    Namespace

    Namespace in reverse domain name notation.

    createNamespace

    Creates a namespace for library extension.

    qualifiedName

    Returns a qualified name within the given namespace.

    Other

    ActionRef
    AdjustContainerLevelProps
    BasicTraitRef
    ButtonProps
    ButtonVariant
    ClassPropsOf
    ControlTraitConfig
    CreateActionOptions
    CreateActionResult
    CreateActionUseActionResult
    CreateDynamicPropertyOptions
    CreateDynamicPropertyResult
    CreateElementResult
    CreateIconOptions
    CreateIconResult
    CreateLibraryExtensionOptions
    CreateTextsResult
    DataVariableDisplayRange
    DesignTokenNames
    DesignTokens

    Mapping of all available token names to their type

    DialogProps
    DisplayActionRef
    DisplayDynamicPropertyRef

    Internal type that might change without warning and should be treated as opaque.

    DisplayInstance
    DynamicPropertyRef

    Internal type that might change without warning and should be treated as opaque.

    EnumEditor

    Hint for which control the editor uses to display enum options.

    IconComponentProps
    Icons
    Icons
    IconSize
    InstanceRefListSchema

    Internal type that might change without warning and should be treated as opaque.

    InstanceRefSchema

    Description of a reference to a Class instantiation

    LibraryExtension
    MetaReturnType
    MetaType
    OpaqueFileRef

    File Reference.

    OpaqueFileRef

    File Reference.

    PageTraitConfig
    PropCondition

    Condition on a sibling prop of the same schema level, used by visibleIf and enabledIf. The condition matches while the sibling prop's value equals equals (or is contained in oneOf); notEquals and notOneOf are the negated counterparts.

    PropertyValueType
    PropOption
    PropsCategory
    PropsSchema
    PropsSchemaBuilder
    RenderChildRoutesProps
    RenderDynamicPropertyChildrenFunction
    RenderDynamicPropertyProps
    RenderInstanceProps
    RenderInstancesProps
    RenderTextProps
    ResolvedDynamicPropertyOptions
    RichTraitRef
    SchemaDef
    StorageScopeKind
    TextsDef
    TraitRef
    TypographySizes

    The typography subset a size token surfaces: the concrete values a typography size (e.g. typographySize05) resolves to. All values are length strings (pixel strings as defaults, CSS variable references inside HELIO).

    UseActionHookResult
    UseDataVariableHookResult
    UseDataVariableOptions
    UseDynamicPropertyOptions
    UseDynamicPropertyResult
    UseHookDynamicPropertyResult
    UseRawExternalAttributesResult
    UseSelectableElementResult
    UseServerNowResult
    UseServerStateResult
    UseTimeResult
    UseToastResult
    UseZoomResult
    ValueReturnType
    ValueType
    WidgetTraitConfig
    actions
    condition

    Helpers for declaring visibleIf/enabledIf conditions on props in a PropsSchema.

    dynamicProperties
    meta
    props

    Helpers for declaring props in a PropsSchema

    values
    Action
    Boolean

    Declares a prop that can hold a boolean value.

    Children

    Declares a prop that can hold references to other HELIO instances.

    createTexts
    DynamicProperty

    Declares a prop that can hold an DynamicProperty value.

    Enum

    Declares a prop that can hold a value from a set of options.

    fileUrl

    Returns the URL from an OpaqueFileRef.

    isActionRef
    isDynamicPropertyRef
    isInstanceRef
    isInstanceRefList
    List

    Declares a prop that holds an ordered list of values of a single item type.

    Number

    Declares a prop that can hold a numeric value.

    Object

    Declares a prop that groups a set of nested props into a single object value.

    String

    Declares a prop that can hold a string value.

    useTokens_unstable

    API and behavior might change at any point.

    Traits

    BufferedChangesTrait

    Makes an element have the option for buffering changes locally.

    ControlTrait

    Makes an element appear and behave as a HELIO Control.

    PageTrait

    Makes an element appear and behave as a HELIO Page.

    traits
    WidgetTrait

    Makes an element appear and behave as a HELIO Widget.

    createBasicTrait

    Creates a new trait in the given namespace.

    UI

    ButtonGroupOptionType

    A single button of a ButtonGroup.

    ButtonGroupProps
    ButtonGroupTypeProps

    The selection behavior of a ButtonGroup: either a single value can be active at a time, or multiple values can be active simultaneously.

    CheckboxCheckedType

    The checked state of a Checkbox. In addition to the boolean true and false states, a checkbox can be 'indeterminate'.

    CheckboxProps

    A single selectable option of a Dropdown.

    IconProps
    IconRef

    Reference to a built-in HELIO icon.

    NumberInputProps
    RadioGroupOptionType

    A single selectable option of a RadioGroup.

    RadioGroupProps
    SwitchProps
    TextInputProps
    Button

    Component that displays a clickable button using the currently active HELIO theme.

    ButtonGroup

    Component that displays a group of toggleable buttons, using the currently active HELIO theme. Supports activating a single value or multiple values at once via the type prop.

    Checkbox

    Component that displays a checkbox using the currently active HELIO theme.

    Component that displays a dropdown to select one of the given options, using the currently active HELIO theme.

    Icon

    Displays an icon from the HELIO library.

    NumberInput

    Component that displays a numeric input field using the currently active HELIO theme.

    RadioGroup

    Component that displays a group of radio buttons to select one of the given options, using the currently active HELIO theme.

    Switch

    Component that displays a switch using the currently active HELIO theme.

    TextInput

    Component that displays a text input field using the currently active HELIO theme.