From 979c91c5b6b99ae43746ff0880a27ed5ca13caea Mon Sep 17 00:00:00 2001 From: wangchun17 Date: Mon, 18 Oct 2021 15:45:23 +0800 Subject: [PATCH] fixed 0d6ac3c from https://gitee.com/wangchun17/interface_sdk-js/pulls/139 chunn.wang@huawei.com Signed-off-by: wangchun17 Change-Id: I54aac5e345467e0a624e4857cd0abadeb932c437 --- BUILD.gn | 3 + api/common/@internal/featureability.d.ts | 6 +- api/common/@internal/global.d.ts | 10 + api/common/@internal/viewmodel.d.ts | 22 + api/common/@system.app.d.ts | 24 + api/common/@system.router.d.ts | 22 +- api/common/@system.sensor.d.ts | 198 +- api/common/@system.vibrator.d.ts | 18 +- api/form/action/form-schema.json | 36 +- api/form/css/cssConfig.json | 372 +-- api/form/hml/basic/block.json | 12 +- api/form/hml/basic/button.json | 96 +- api/form/hml/basic/calendar.json | 96 +- api/form/hml/basic/chart.json | 92 +- api/form/hml/basic/clock.json | 68 +- api/form/hml/basic/divider.json | 72 +- api/form/hml/basic/image.json | 92 +- api/form/hml/basic/input.json | 96 +- api/form/hml/basic/progress.json | 88 +- api/form/hml/basic/span.json | 70 +- api/form/hml/basic/text.json | 78 +- api/form/hml/container/badge.json | 832 +++--- api/form/hml/container/div.json | 76 +- api/form/hml/container/list-item.json | 90 +- api/form/hml/container/list.json | 128 +- api/form/hml/container/stack.json | 68 +- api/form/hml/container/swiper.json | 100 +- api/form/hml/custom/element.json | 12 +- api/liteWearable/@internal/console.d.ts | 46 + .../@internal/featureability.d.ts | 102 + api/liteWearable/@internal/global.d.ts | 52 + api/liteWearable/@internal/index.d.ts | 19 + api/liteWearable/@internal/viewmodel.d.ts | 118 + api/liteWearable/@system.app.d.ts | 81 + api/liteWearable/@system.battery.d.ts | 59 + api/liteWearable/@system.brightness.d.ts | 182 ++ api/liteWearable/@system.configuration.d.ts | 46 + api/liteWearable/@system.device.d.ts | 135 + api/liteWearable/@system.file.d.ts | 570 ++++ api/liteWearable/@system.geolocation.d.ts | 159 ++ api/liteWearable/@system.router.d.ts | 47 + api/liteWearable/@system.sensor.d.ts | 255 ++ api/liteWearable/@system.storage.d.ts | 150 ++ api/liteWearable/@system.vibrator.d.ts | 63 + api/phone/@internal/console.d.ts | 10 +- api/phone/@internal/featureability.d.ts | 204 ++ api/phone/@internal/global.d.ts | 84 + api/phone/@internal/index.d.ts | 0 api/phone/@internal/viewmodel.d.ts | 1403 ++++++++-- api/phone/@ohos.process.d.ts | 0 api/phone/@ohos.url.d.ts | 0 api/phone/@ohos.util.d.ts | 0 api/phone/@system.app.d.ts | 21 + api/phone/@system.battery.d.ts | 114 +- api/phone/@system.bluetooth.d.ts | 156 +- api/phone/@system.brightness.d.ts | 360 +-- api/phone/@system.configuration.d.ts | 92 +- api/phone/@system.device.d.ts | 266 +- api/phone/@system.geolocation.d.ts | 312 +-- api/phone/@system.mediaquery.d.ts | 126 +- api/phone/@system.notification.d.ts | 136 +- api/phone/@system.prompt.d.ts | 276 +- api/phone/@system.router.d.ts | 19 +- api/phone/@system.sensor.d.ts | 630 +++-- api/phone/@system.vibrator.d.ts | 95 +- api/smartVision/@internal/console.d.ts | 46 + api/smartVision/@internal/global.d.ts | 52 + api/smartVision/@internal/index.d.ts | 18 + api/smartVision/@internal/viewmodel.d.ts | 118 + api/smartVision/@system.app.d.ts | 49 + api/smartVision/@system.cipher.d.ts | 166 ++ api/smartVision/@system.device.d.ts | 83 + api/smartVision/@system.file.d.ts | 570 ++++ api/smartVision/@system.router.d.ts | 47 + api/smartVision/@system.storage.d.ts | 159 ++ api/tablet/@internal/console.d.ts | 46 + api/tablet/@internal/featureability.d.ts | 204 ++ api/tablet/@internal/global.d.ts | 172 ++ api/tablet/@internal/index.d.ts | 19 + api/tablet/@internal/viewmodel.d.ts | 2316 +++++++++++++++++ api/tablet/@system.app.d.ts | 95 + api/tablet/@system.battery.d.ts | 59 + api/tablet/@system.bluetooth.d.ts | 79 + api/tablet/@system.brightness.d.ts | 180 ++ api/tablet/@system.configuration.d.ts | 46 + api/tablet/@system.device.d.ts | 135 + api/tablet/@system.fetch.d.ts | 93 + api/tablet/@system.file.d.ts | 505 ++++ api/tablet/@system.geolocation.d.ts | 156 ++ api/tablet/@system.mediaquery.d.ts | 66 + api/tablet/@system.network.d.ts | 81 + api/tablet/@system.notification.d.ts | 67 + api/tablet/@system.package.d.ts | 57 + api/tablet/@system.prompt.d.ts | 138 + api/tablet/@system.request.d.ts | 227 ++ api/tablet/@system.router.d.ts | 178 ++ api/tablet/@system.sensor.d.ts | 689 +++++ api/tablet/@system.storage.d.ts | 145 ++ api/tablet/@system.vibrator.d.ts | 63 + api/tv/@internal/console.d.ts | 46 + api/tv/@internal/featureability.d.ts | 204 ++ api/tv/@internal/global.d.ts | 172 ++ api/tv/@internal/index.d.ts | 19 + api/tv/@internal/viewmodel.d.ts | 2284 ++++++++++++++++ api/tv/@system.app.d.ts | 76 + api/tv/@system.bluetooth.d.ts | 79 + api/tv/@system.brightness.d.ts | 184 ++ api/tv/@system.configuration.d.ts | 46 + api/tv/@system.device.d.ts | 134 + api/tv/@system.fetch.d.ts | 97 + api/tv/@system.file.d.ts | 507 ++++ api/tv/@system.geolocation.d.ts | 151 ++ api/tv/@system.mediaquery.d.ts | 66 + api/tv/@system.network.d.ts | 81 + api/tv/@system.notification.d.ts | 67 + api/tv/@system.package.d.ts | 57 + api/tv/@system.prompt.d.ts | 98 + api/tv/@system.request.d.ts | 227 ++ api/tv/@system.router.d.ts | 120 + api/tv/@system.storage.d.ts | 145 ++ api/wearable/@internal/console.d.ts | 46 + api/wearable/@internal/featureability.d.ts | 204 ++ api/wearable/@internal/global.d.ts | 172 ++ api/wearable/@internal/index.d.ts | 19 + api/wearable/@internal/viewmodel.d.ts | 2183 ++++++++++++++++ api/wearable/@system.app.d.ts | 108 + api/wearable/@system.battery.d.ts | 57 + api/wearable/@system.bluetooth.d.ts | 79 + api/wearable/@system.brightness.d.ts | 184 ++ api/wearable/@system.configuration.d.ts | 47 + api/wearable/@system.device.d.ts | 135 + api/wearable/@system.fetch.d.ts | 93 + api/wearable/@system.file.d.ts | 507 ++++ api/wearable/@system.geolocation.d.ts | 156 ++ api/wearable/@system.mediaquery.d.ts | 66 + api/wearable/@system.network.d.ts | 81 + api/wearable/@system.notification.d.ts | 69 + api/wearable/@system.package.d.ts | 57 + api/wearable/@system.prompt.d.ts | 98 + api/wearable/@system.request.d.ts | 227 ++ api/wearable/@system.router.d.ts | 120 + api/wearable/@system.sensor.d.ts | 714 +++++ api/wearable/@system.storage.d.ts | 145 ++ api/wearable/@system.vibrator.d.ts | 63 + 144 files changed, 24252 insertions(+), 2627 deletions(-) create mode 100644 api/liteWearable/@internal/console.d.ts create mode 100644 api/liteWearable/@internal/featureability.d.ts create mode 100644 api/liteWearable/@internal/global.d.ts create mode 100644 api/liteWearable/@internal/index.d.ts create mode 100644 api/liteWearable/@internal/viewmodel.d.ts create mode 100644 api/liteWearable/@system.app.d.ts create mode 100644 api/liteWearable/@system.battery.d.ts create mode 100644 api/liteWearable/@system.brightness.d.ts create mode 100644 api/liteWearable/@system.configuration.d.ts create mode 100644 api/liteWearable/@system.device.d.ts create mode 100644 api/liteWearable/@system.file.d.ts create mode 100644 api/liteWearable/@system.geolocation.d.ts create mode 100644 api/liteWearable/@system.router.d.ts create mode 100644 api/liteWearable/@system.sensor.d.ts create mode 100644 api/liteWearable/@system.storage.d.ts create mode 100644 api/liteWearable/@system.vibrator.d.ts mode change 100755 => 100644 api/phone/@internal/console.d.ts create mode 100644 api/phone/@internal/featureability.d.ts mode change 100755 => 100644 api/phone/@internal/global.d.ts mode change 100755 => 100644 api/phone/@internal/index.d.ts mode change 100755 => 100644 api/phone/@internal/viewmodel.d.ts mode change 100755 => 100644 api/phone/@ohos.process.d.ts mode change 100755 => 100644 api/phone/@ohos.url.d.ts mode change 100755 => 100644 api/phone/@ohos.util.d.ts create mode 100644 api/smartVision/@internal/console.d.ts create mode 100644 api/smartVision/@internal/global.d.ts create mode 100644 api/smartVision/@internal/index.d.ts create mode 100644 api/smartVision/@internal/viewmodel.d.ts create mode 100644 api/smartVision/@system.app.d.ts create mode 100644 api/smartVision/@system.cipher.d.ts create mode 100644 api/smartVision/@system.device.d.ts create mode 100644 api/smartVision/@system.file.d.ts create mode 100644 api/smartVision/@system.router.d.ts create mode 100644 api/smartVision/@system.storage.d.ts create mode 100644 api/tablet/@internal/console.d.ts create mode 100644 api/tablet/@internal/featureability.d.ts create mode 100644 api/tablet/@internal/global.d.ts create mode 100644 api/tablet/@internal/index.d.ts create mode 100644 api/tablet/@internal/viewmodel.d.ts create mode 100644 api/tablet/@system.app.d.ts create mode 100644 api/tablet/@system.battery.d.ts create mode 100644 api/tablet/@system.bluetooth.d.ts create mode 100644 api/tablet/@system.brightness.d.ts create mode 100644 api/tablet/@system.configuration.d.ts create mode 100644 api/tablet/@system.device.d.ts create mode 100644 api/tablet/@system.fetch.d.ts create mode 100644 api/tablet/@system.file.d.ts create mode 100644 api/tablet/@system.geolocation.d.ts create mode 100644 api/tablet/@system.mediaquery.d.ts create mode 100644 api/tablet/@system.network.d.ts create mode 100644 api/tablet/@system.notification.d.ts create mode 100644 api/tablet/@system.package.d.ts create mode 100644 api/tablet/@system.prompt.d.ts create mode 100644 api/tablet/@system.request.d.ts create mode 100644 api/tablet/@system.router.d.ts create mode 100644 api/tablet/@system.sensor.d.ts create mode 100644 api/tablet/@system.storage.d.ts create mode 100644 api/tablet/@system.vibrator.d.ts create mode 100644 api/tv/@internal/console.d.ts create mode 100644 api/tv/@internal/featureability.d.ts create mode 100644 api/tv/@internal/global.d.ts create mode 100644 api/tv/@internal/index.d.ts create mode 100644 api/tv/@internal/viewmodel.d.ts create mode 100644 api/tv/@system.app.d.ts create mode 100644 api/tv/@system.bluetooth.d.ts create mode 100644 api/tv/@system.brightness.d.ts create mode 100644 api/tv/@system.configuration.d.ts create mode 100644 api/tv/@system.device.d.ts create mode 100644 api/tv/@system.fetch.d.ts create mode 100644 api/tv/@system.file.d.ts create mode 100644 api/tv/@system.geolocation.d.ts create mode 100644 api/tv/@system.mediaquery.d.ts create mode 100644 api/tv/@system.network.d.ts create mode 100644 api/tv/@system.notification.d.ts create mode 100644 api/tv/@system.package.d.ts create mode 100644 api/tv/@system.prompt.d.ts create mode 100644 api/tv/@system.request.d.ts create mode 100644 api/tv/@system.router.d.ts create mode 100644 api/tv/@system.storage.d.ts create mode 100644 api/wearable/@internal/console.d.ts create mode 100644 api/wearable/@internal/featureability.d.ts create mode 100644 api/wearable/@internal/global.d.ts create mode 100644 api/wearable/@internal/index.d.ts create mode 100644 api/wearable/@internal/viewmodel.d.ts create mode 100644 api/wearable/@system.app.d.ts create mode 100644 api/wearable/@system.battery.d.ts create mode 100644 api/wearable/@system.bluetooth.d.ts create mode 100644 api/wearable/@system.brightness.d.ts create mode 100644 api/wearable/@system.configuration.d.ts create mode 100644 api/wearable/@system.device.d.ts create mode 100644 api/wearable/@system.fetch.d.ts create mode 100644 api/wearable/@system.file.d.ts create mode 100644 api/wearable/@system.geolocation.d.ts create mode 100644 api/wearable/@system.mediaquery.d.ts create mode 100644 api/wearable/@system.network.d.ts create mode 100644 api/wearable/@system.notification.d.ts create mode 100644 api/wearable/@system.package.d.ts create mode 100644 api/wearable/@system.prompt.d.ts create mode 100644 api/wearable/@system.request.d.ts create mode 100644 api/wearable/@system.router.d.ts create mode 100644 api/wearable/@system.sensor.d.ts create mode 100644 api/wearable/@system.storage.d.ts create mode 100644 api/wearable/@system.vibrator.d.ts diff --git a/BUILD.gn b/BUILD.gn index f7d21c2b71..8386556495 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -82,9 +82,11 @@ ohos_copy("ets_component") { "api/@internal/component/ets/radio.d.ts", "api/@internal/component/ets/rating.d.ts", "api/@internal/component/ets/rect.d.ts", + "api/@internal/component/ets/refresh.d.ts", "api/@internal/component/ets/row.d.ts", "api/@internal/component/ets/row_split.d.ts", "api/@internal/component/ets/scroll.d.ts", + "api/@internal/component/ets/search.d.ts", "api/@internal/component/ets/shape.d.ts", "api/@internal/component/ets/slider.d.ts", "api/@internal/component/ets/span.d.ts", @@ -99,6 +101,7 @@ ohos_copy("ets_component") { "api/@internal/component/ets/textinput.d.ts", "api/@internal/component/ets/toggle.d.ts", "api/@internal/component/ets/video.d.ts", + "api/@internal/component/ets/web.d.ts", ] outputs = [ target_out_dir + "/$target_name/{{source_file_part}}" ] module_source_dir = target_out_dir + "/$target_name" diff --git a/api/common/@internal/featureability.d.ts b/api/common/@internal/featureability.d.ts index ea3d073280..ef50dbd427 100644 --- a/api/common/@internal/featureability.d.ts +++ b/api/common/@internal/featureability.d.ts @@ -299,7 +299,7 @@ export declare class FeatureAbility { * @returns A Promise object is returned, which contains the result data returned by the AA. The result is a JSON string. * @devices tv, phone, tablet, wearable */ - static callAbility(param: CallAbilityParam): Promise; + static callAbility(param: CallAbilityParam): Promise; /** * Start FA migration. @@ -318,7 +318,7 @@ export declare class FeatureAbility { static subscribeAbilityEvent( param: SubscribeAbilityEventParam, func: Function - ): Promise; + ): Promise; /** * Unsubscribes from events of an AA. @@ -328,7 +328,7 @@ export declare class FeatureAbility { */ static unsubscribeAbilityEvent( param: SubscribeAbilityEventParam - ): Promise; + ): Promise; /** * Sends messages to the destination device. diff --git a/api/common/@internal/global.d.ts b/api/common/@internal/global.d.ts index 48b7de3015..5bedb79596 100644 --- a/api/common/@internal/global.d.ts +++ b/api/common/@internal/global.d.ts @@ -51,6 +51,16 @@ export declare function clearInterval(intervalID?: number): void; */ export declare function clearTimeout(timeoutID?: number): void; +/** + * Get the java interface instance. The java instance needs to register, otherwise it cannot be obtained. + * After obtaining the instance, you can call the function with the same name on the Java side. + * @param name Java interface name, including package path, such as com.example.test.timeinterfaceimpl. + * @returns A promise object is returned. The resolve callback is the object of PA. The reject callback returns the object containing code and error data + * @devices tv, phone, tablet, wearable, liteWearable, smartVision + * @since 3 + */ +export declare function createLocalParticleAbility(name?: string): any; + /** * Sets a vsync after which a function will be executed. * @param handler Indicates the function to be called when the vsync trigger. diff --git a/api/common/@internal/viewmodel.d.ts b/api/common/@internal/viewmodel.d.ts index bf5b3631b0..959a86b037 100644 --- a/api/common/@internal/viewmodel.d.ts +++ b/api/common/@internal/viewmodel.d.ts @@ -14,6 +14,8 @@ */ import { Image, ImageData } from "./global"; +import { WebGLContextAttributes, WebGLRenderingContext } from "../webgl/webgl"; +import { WebGL2RenderingContext } from "../webgl/webgl2"; /** * @devices tv, phone, tablet, wearable @@ -2185,6 +2187,26 @@ export interface CanvasElement extends Element { */ getContext(type: string, options?: ContextAttrOptions): CanvasRenderingContext2D; + /** + * Obtains the context of webgl canvas drawing. + * Only parameters related to webgl canvas drawing are supported. + * The return value is a webgl drawing object that provides specific webgl drawing operations. + * @param type identifier defining the drawing context associated to the canvas. + * @param options use this context attributes to creating rendering context. + * @devices tv, phone, tablet, wearable + */ + getContext(type: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext; + + /** + * Obtains the context of webgl2 canvas drawing. + * Only parameters related to webgl2 canvas drawing are supported. + * The return value is a webgl2 drawing object that provides specific webgl2 drawing operations. + * @param type identifier defining the drawing context associated to the canvas. + * @param options use this context attributes to creating rendering context. + * @devices tv, phone, tablet, wearable + */ + getContext(type: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext; + /** * Creates a data URI that contains the image display. * @param type A DOMString indicating the image format. The default type is image/png. diff --git a/api/common/@system.app.d.ts b/api/common/@system.app.d.ts index 9fb44ddfa1..e27ce0ba5a 100644 --- a/api/common/@system.app.d.ts +++ b/api/common/@system.app.d.ts @@ -125,4 +125,28 @@ export default class App { * @devices phone, tablet */ static requestFullWindow(options?: RequestFullWindowOptions): void; + + /** + * Set image cache capacity of decoded image count. + * If not set, the application will not cache any decoded image. + * @param value capacity of decoded image count + * @devices tv, phone, tablet, wearable + */ + static setImageCacheCount(value: number): void; + + /** + * Set image cache capacity of raw image data size in Bytes before decode. + * If not set, the application will not cache any raw image data. + * @param value capacity of raw image data size in Bytes. + * @devices tv, phone, tablet, wearable + */ + static setImageRawDataCacheSize(value: number): void; + + /** + * Set image file cache size in Bytes on disk before decode. + * If not set, the application will not cache 100MB image files on disk. + * @param value capacity of image file size in Bytes. + * @devices tv, phone, tablet, wearable + */ + static setImageFileCacheSize(value: number): void; } diff --git a/api/common/@system.router.d.ts b/api/common/@system.router.d.ts index 30350be898..b1ae225573 100644 --- a/api/common/@system.router.d.ts +++ b/api/common/@system.router.d.ts @@ -39,6 +39,26 @@ export interface RouterOptions { params?: Object; } +/** + * @devices tv, phone, tablet, wearable + */ +export interface BackRouterOptions { + /** + * Returns to the page of the specified path. + * If the page with the specified path does not exist in the page stack, router.back() is called by default. + * @devices tv, phone, tablet, wearable + * @since 7 + */ + uri?: string; + + /** + * Data that needs to be passed to the destination page during navigation. + * @devices tv, phone, tablet, wearable, liteWearable, smartVision + * @since 7 + */ + params?: Object; +} + /** * @devices tv, phone, tablet, wearable */ @@ -149,7 +169,7 @@ export default class Router { * @devices tv, phone, tablet, wearable * @since 7 */ - static back(options?: RouterOptions): void; + static back(options?: BackRouterOptions): void; /** * Obtains information about the current page params. diff --git a/api/common/@system.sensor.d.ts b/api/common/@system.sensor.d.ts index 2555167033..0fad549f00 100644 --- a/api/common/@system.sensor.d.ts +++ b/api/common/@system.sensor.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 Huawei Device Co., Ltd. + * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -14,7 +14,11 @@ */ /** - * @devices phone, tablet, wearable, liteWearable + * @SysCap SystemCapability.Sensors.Sensor + * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @permission ohos.permission.ACCELEROMETER + * @since 3 */ export interface AccelerometerResponse { /** @@ -40,7 +44,11 @@ export interface AccelerometerResponse { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @permission ohos.permission.ACCELEROMETER + * @since 3 */ export interface subscribeAccelerometerOptions { /** @@ -71,7 +79,10 @@ export interface subscribeAccelerometerOptions { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @since 3 */ export interface CompassResponse { /** @@ -83,7 +94,10 @@ export interface CompassResponse { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @since 3 */ export interface SubscribeCompassOptions { /** @@ -102,7 +116,10 @@ export interface SubscribeCompassOptions { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet + * @import import sensor from '@system.sensor'; + * @since 3 */ export interface ProximityResponse { /** @@ -114,7 +131,10 @@ export interface ProximityResponse { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet + * @import import sensor from '@system.sensor'; + * @since 3 */ export interface SubscribeProximityOptions { /** @@ -133,7 +153,10 @@ export interface SubscribeProximityOptions { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @since 3 */ export interface LightResponse { /** @@ -145,7 +168,10 @@ export interface LightResponse { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @since 3 */ export interface SubscribeLightOptions { /** @@ -164,7 +190,11 @@ export interface SubscribeLightOptions { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable, liteWearable + * @import import sensor from '@system.sensor'; + * @permission ohos.permission.ACTIVITY_MOTION + * @since 3 */ export interface StepCounterResponse { /** @@ -177,26 +207,33 @@ export interface StepCounterResponse { } /** - * @devices phone, tablet, liteWearable + * @SysCap SystemCapability.Sensors.Sensor + * @devices phone, tablet, wearable, liteWearable + * @import import sensor from '@system.sensor'; + * @permission ohos.permission.ACTIVITY_MOTION + * @since 3 */ export interface SubscribeStepCounterOptions { /** * Called when step counter sensor data changes. - * @devices phone, tablet, liteWearable + * @devices phone, tablet, wearable, liteWearable * @since 3 */ success: (data: StepCounterResponse) => void; /** * Called when the listening fails. - * @devices phone, tablet, liteWearable + * @devices phone, tablet, wearable, liteWearable * @since 3 */ fail?: (data: string, code: number) => void; } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable, liteWearable + * @import import sensor from '@system.sensor'; + * @since 3 */ export interface BarometerResponse { /** @@ -208,7 +245,10 @@ export interface BarometerResponse { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable, liteWearable + * @import import sensor from '@system.sensor'; + * @since 3 */ export interface SubscribeBarometerOptions { /** @@ -227,7 +267,11 @@ export interface SubscribeBarometerOptions { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices wearable, liteWearable + * @import import sensor from '@system.sensor'; + * @permission ohos.permission.READ_HEALTH_DATA + * @since 3 */ export interface HeartRateResponse { /** @@ -240,7 +284,11 @@ export interface HeartRateResponse { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices wearable, liteWearable + * @import import sensor from '@system.sensor'; + * @permission ohos.permission.READ_HEALTH_DATA + * @since 3 */ export interface SubscribeHeartRateOptions { /** @@ -259,64 +307,76 @@ export interface SubscribeHeartRateOptions { } /** - * @devices liteWearable + * @SysCap SystemCapability.Sensors.Sensor + * @devices wearable, liteWearable + * @import import sensor from '@system.sensor'; + * @since 3 */ export interface OnBodyStateResponse { /** * Whether the sensor is worn. - * @devices liteWearable + * @devices wearable, liteWearable * @since 3 */ value: boolean; } /** - * @devices liteWearable + * @SysCap SystemCapability.Sensors.Sensor + * @devices wearable, liteWearable + * @import import sensor from '@system.sensor'; + * @since 3 */ export interface SubscribeOnBodyStateOptions { /** * Called when the wearing status changes. - * @devices liteWearable + * @devices wearable, liteWearable * @since 3 */ success: (data: OnBodyStateResponse) => void; /** * Called when the listening fails. - * @devices liteWearable + * @devices wearable, liteWearable * @since 3 */ fail?: (data: string, code: number) => void; } /** - * @devices liteWearable + * @SysCap SystemCapability.Sensors.Sensor + * @devices wearable, liteWearable + * @import import sensor from '@system.sensor'; + * @since 3 */ export interface GetOnBodyStateOptions { /** * Called when the sensor wearing state is obtained - * @devices liteWearable + * @devices wearable, liteWearable * @since 3 */ success: (data: OnBodyStateResponse) => void; /** * Called when the sensor wearing state fails to be obtained - * @devices liteWearable + * @devices wearable, liteWearable * @since 3 */ fail?: (data: string, code: number) => void; /** * Called when the execution is completed - * @devices liteWearable + * @devices wearable, liteWearable * @since 3 */ complete?: () => void; } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @since 6 */ export interface DeviceOrientationResponse { /** @@ -342,7 +402,10 @@ export interface DeviceOrientationResponse { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @since 6 */ export interface SubscribeDeviceOrientationOptions { /** @@ -373,7 +436,11 @@ export interface SubscribeDeviceOrientationOptions { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @permission ohos.permission.GYROSCOPE + * @since 6 */ export interface GyroscopeResponse { /** @@ -399,7 +466,11 @@ export interface GyroscopeResponse { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @permission ohos.permission.GYROSCOPE + * @since 6 */ export interface SubscribeGyroscopeOptions { /** @@ -430,7 +501,10 @@ export interface SubscribeGyroscopeOptions { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @since 7 */ export interface GravityResponse { /** @@ -456,7 +530,10 @@ export interface GravityResponse { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @since 7 */ export interface SubscribeGravityOptions { /** @@ -487,7 +564,10 @@ export interface SubscribeGravityOptions { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @since 7 */ export interface MagneticResponse { /** @@ -513,7 +593,10 @@ export interface MagneticResponse { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @import import sensor from '@system.sensor'; + * @since 7 */ export interface SubscribeMagneticOptions { /** @@ -544,7 +627,10 @@ export interface SubscribeMagneticOptions { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet + * @import import sensor from '@system.sensor'; + * @since 7 */ export interface HallResponse { /** @@ -556,7 +642,10 @@ export interface HallResponse { } /** + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet + * @import import sensor from '@system.sensor'; + * @since 7 */ export interface SubscribeHallOptions { /** @@ -587,20 +676,29 @@ export interface SubscribeHallOptions { } /** - * @devices phone, tablet, wearable + * @SysCap SystemCapability.Sensors.Sensor + * @devices phone, tablet, wearable, liteWearable + * @import import sensor from '@system.sensor'; + * @since 7 */ export default class Sensor { /** * Listens to acceleration sensor data changes. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @permission ohos.permission.ACCELEROMETER + * @since 3 */ static subscribeAccelerometer(options: subscribeAccelerometerOptions): void; /** * Cancels listening to acceleration sensor data. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @permission ohos.permission.ACCELEROMETER + * @since 3 */ static unsubscribeAccelerometer(): void; @@ -608,13 +706,17 @@ export default class Sensor { * Listens to compass sensor data changes. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @since 3 */ static subscribeCompass(options: SubscribeCompassOptions): void; /** * Cancels listening to compass sensor data. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @since 3 */ static unsubscribeCompass(): void; @@ -622,14 +724,18 @@ export default class Sensor { * Listens to distance sensor data changes. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet + * @since 3 */ static subscribeProximity(options: SubscribeProximityOptions): void; /** * Cancels listening to distance sensor data. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet + * @since 3 */ static unsubscribeProximity(): void; @@ -637,13 +743,17 @@ export default class Sensor { * Listens to ambient light sensor data changes. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @since 3 */ static subscribeLight(options: SubscribeLightOptions): void; /** * Cancels listening to ambient light sensor data. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @since 3 */ static unsubscribeLight(): void; @@ -651,13 +761,19 @@ export default class Sensor { * Listens to step counter sensor data changes. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable, liteWearable + * @permission ohos.permission.ACTIVITY_MOTION + * @since 3 */ static subscribeStepCounter(options: SubscribeStepCounterOptions): void; /** * Cancels listening to step counter sensor data. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable, liteWearable + * @permission ohos.permission.ACTIVITY_MOTION + * @since 3 */ static unsubscribeStepCounter(): void; @@ -665,13 +781,17 @@ export default class Sensor { * Listens to barometer sensor data changes. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable, liteWearable + * @since 3 */ static subscribeBarometer(options: SubscribeBarometerOptions): void; /** * Cancels listening to barometer sensor data. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable, liteWearable + * @since 3 */ static unsubscribeBarometer(): void; @@ -679,13 +799,19 @@ export default class Sensor { * Listens to changes of heart rate sensor data. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices wearable, liteWearable + * @permission ohos.permission.READ_HEALTH_DATA + * @since 3 */ static subscribeHeartRate(options: SubscribeHeartRateOptions): void; /** * Cancels listening to heart rate sensor data. + * @SysCap SystemCapability.Sensors.Sensor * @devices wearable, liteWearable + * @permission ohos.permission.READ_HEALTH_DATA + * @since 3 */ static unsubscribeHeartRate(): void; @@ -693,27 +819,44 @@ export default class Sensor { * Listens to whether a sensor is worn. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices wearable, liteWearable + * @since 3 */ static subscribeOnBodyState(options: SubscribeOnBodyStateOptions): void; /** * Cancels listening to whether the sensor is worn. + * @SysCap SystemCapability.Sensors.Sensor * @devices wearable, liteWearable + * @since 3 */ static unsubscribeOnBodyState(): void; + /** + * Obtains the sensor wearing state. + * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor + * @devices wearable, liteWearable + * @since 3 + */ + static getOnBodyState(options: GetOnBodyStateOptions): void; + /** * Listens to device orientation sensor data changes. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @since 6 */ static subscribeDeviceOrientation(options: SubscribeDeviceOrientationOptions): void; /** * Cancels listening to device orientation sensor data. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @since 6 */ static unsubscribeDeviceOrientation(): void; @@ -721,13 +864,19 @@ export default class Sensor { * Listens to gyroscope sensor data changes. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @permission ohos.permission.GYROSCOPE + * @since 6 */ static subscribeGyroscope(options: SubscribeGyroscopeOptions): void; /** * Cancels listening to gyroscope sensor data. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @permission ohos.permission.GYROSCOPE + * @since 6 */ static unsubscribeGyroscope(): void; @@ -735,13 +884,17 @@ export default class Sensor { * Listens to gravity sensor data changes. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @since 7 */ static subscribeGravity(options: SubscribeGravityOptions): void; /** * Cancels listening to gravity sensor data. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @since 7 */ static unsubscribeGravity(): void; @@ -749,13 +902,17 @@ export default class Sensor { * Listens to magnetic sensor data changes. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @since 7 */ static subscribeMagnetic(options: SubscribeMagneticOptions): void; /** * Cancels listening to magnetic sensor data. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @since 7 */ static unsubscribeMagnetic(): void; @@ -763,20 +920,17 @@ export default class Sensor { * Listens to hall sensor data changes. * If this API is called multiple times, the last call takes effect. * @param options Options. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @since 7 */ static subscribeHall(options: SubscribeHallOptions): void; /** * Cancels listening to hall sensor data. + * @SysCap SystemCapability.Sensors.Sensor * @devices phone, tablet, wearable + * @since 7 */ static unsubscribeHall(): void; - - /** - * Obtains the sensor wearing state. - * @param options Options. - * @devices wearable, liteWearable - */ - static getOnBodyState(options: GetOnBodyStateOptions): void; } diff --git a/api/common/@system.vibrator.d.ts b/api/common/@system.vibrator.d.ts index c7e45c54a3..903806100e 100644 --- a/api/common/@system.vibrator.d.ts +++ b/api/common/@system.vibrator.d.ts @@ -14,7 +14,11 @@ */ /** - * @devices phone, tablet, wearable, liteWearable + * @SysCap SystemCapability.Sensors.MiscDevice + * @devices phone, tablet, wearable, liteWearable + * @import import vibrator from '@system.vibrator'; + * @permission ohos.permission.VIBRATE + * @since 3 */ export interface VibrateOptions { /** @@ -27,34 +31,40 @@ export interface VibrateOptions { /** * Called when success to trigger vibration. - * @devices liteWearable + * @devices phone, tablet, wearable, liteWearable * @since 3 */ success: () => void; /** * Called when fail to trigger vibration. - * @devices liteWearable + * @devices phone, tablet, wearable, liteWearable * @since 3 */ fail?: (data: string, code: number) => void; /** * Called when the execution is completed. - * @devices liteWearable + * @devices phone, tablet, wearable, liteWearable * @since 3 */ complete?: () => void; } /** + * @SysCap SystemCapability.Sensors.MiscDevice * @devices phone, tablet, wearable, liteWearable + * @import import vibrator from '@system.vibrator'; + * @permission ohos.permission.VIBRATE + * @since 3 */ export default class Vibrator { /** * Triggers vibration. * @param options Options. * @devices phone, tablet, wearable, liteWearable + * @permission ohos.permission.VIBRATE + * @since 3 */ static vibrate(options?: VibrateOptions): void; } diff --git a/api/form/action/form-schema.json b/api/form/action/form-schema.json index cc2104a42b..2dddb6b49b 100644 --- a/api/form/action/form-schema.json +++ b/api/form/action/form-schema.json @@ -1,18 +1,18 @@ -{ - "type": "object", - "additionalProperties": false, - "properties":{ - "data": { - "type": "object", - "description": "Defines variables." - }, - "actions": { - "type": "object", - "description": "Defines events." - }, - "apiVersion": { - "type": "object", - "description": "Defines api version compatibility information." - } - } -} +{ + "type": "object", + "additionalProperties": false, + "properties":{ + "data": { + "type": "object", + "description": "Defines variables." + }, + "actions": { + "type": "object", + "description": "Defines events." + }, + "apiVersion": { + "type": "object", + "description": "Defines api version compatibility information." + } + } +} diff --git a/api/form/css/cssConfig.json b/api/form/css/cssConfig.json index b2ab859a27..2403ca4c57 100644 --- a/api/form/css/cssConfig.json +++ b/api/form/css/cssConfig.json @@ -2,7 +2,7 @@ "properties": [ { "name": "column-span", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -39,7 +39,7 @@ "description": [ { "name": "Component width. If this attribute is not set, the width required for the element content is used", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "restrictions": [ @@ -63,7 +63,7 @@ "description": [ { "name": "Component height. If this attribute is not set, the height required for the element content is used", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "restrictions": [ @@ -77,7 +77,7 @@ "syntax": [ { "name": "{1,4} || {1,4}", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "version": [ @@ -88,13 +88,13 @@ "description": [ { "name": "The attribute can have one to four values: 1. If you set a value, it specifies the padding for four sides; 2. If you set two values, the first value specifies the top and bottom padding, and the second value specifies the left and right padding; 3. If you set three values, the first value specifies the top padding, the second value specifies the left and right padding, and the third value specifies the bottom padding; 4. If you set four values, they respectively specify the padding for top, right, bottom, and left sides (in clockwise order)", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "restrictions": [ { "name": ["length", "percentage"], - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, @@ -103,7 +103,7 @@ "syntax": [ { "name": " || ", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "version": [ @@ -119,7 +119,7 @@ "restrictions": [ { "name": ["length", "percentage"], - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, @@ -128,7 +128,7 @@ "syntax": [ { "name": " || ", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "version": [ @@ -144,7 +144,7 @@ "restrictions": [ { "name": ["length", "percentage"], - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, @@ -153,7 +153,7 @@ "syntax": [ { "name": " || ", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "version": [ @@ -169,7 +169,7 @@ "restrictions": [ { "name": ["length", "percentage"], - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, @@ -178,7 +178,7 @@ "syntax": [ { "name": " || ", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "version": [ @@ -194,17 +194,17 @@ "restrictions": [ { "name": ["length", "percentage"], - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, { "name": "padding-start", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": " || ", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "version": [ @@ -220,17 +220,17 @@ "restrictions": [ { "name": ["length", "percentage"], - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, { "name": "padding-end", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": " || ", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "version": [ @@ -246,7 +246,7 @@ "restrictions": [ { "name": ["length", "percentage"], - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, @@ -367,7 +367,7 @@ }, { "name": "margin-start", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": " || " @@ -391,7 +391,7 @@ }, { "name": "margin-end", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": " || " @@ -415,7 +415,7 @@ }, { "name": "border", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": " || || " @@ -439,7 +439,7 @@ }, { "name": "border-style", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -729,7 +729,7 @@ }, { "name": "border-left-style", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -759,7 +759,7 @@ }, { "name": "border-top-style", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -789,7 +789,7 @@ }, { "name": "border-right-style", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -819,7 +819,7 @@ }, { "name": "border-bottom-style", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -849,7 +849,7 @@ }, { "name": "border-left", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -873,7 +873,7 @@ }, { "name": "border-top", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -897,7 +897,7 @@ }, { "name": "border-right", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -921,7 +921,7 @@ }, { "name": "border-bottom", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -958,7 +958,7 @@ "syntax": [ { "name": "", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "restrictions": [ @@ -969,7 +969,7 @@ }, { "name": "border-left-width", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -993,7 +993,7 @@ }, { "name": "border-top-width", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1017,7 +1017,7 @@ }, { "name": "border-right-width", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1041,7 +1041,7 @@ }, { "name": "border-bottom-width", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1088,7 +1088,7 @@ }, { "name": "border-left-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1112,7 +1112,7 @@ }, { "name": "border-top-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1136,7 +1136,7 @@ }, { "name": "border-right-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1160,7 +1160,7 @@ }, { "name": "border-bottom-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1192,7 +1192,7 @@ "description": [ { "name": "Attribute to set the radius of round borders of an element. This attribute cannot be used to set the width, color, or style of a specific border. To set the width or color, you need to set border-width, border-color, or border-style for all the borders at the same time.", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "syntax": [ @@ -1208,7 +1208,7 @@ }, { "name": "border-top-left-radius", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1232,7 +1232,7 @@ }, { "name": "border-top-right-radius", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1256,7 +1256,7 @@ }, { "name": "border-bottom-left-radius", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1280,7 +1280,7 @@ }, { "name": "border-bottom-right-radius", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1651,7 +1651,7 @@ }, { "name": "background", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1693,7 +1693,7 @@ }, { "name": "background-image", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -1712,7 +1712,7 @@ }, { "name": "background-size", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "values": [ { "name": "contain" @@ -1747,7 +1747,7 @@ }, { "name": "background-repeat", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "#" @@ -1771,7 +1771,7 @@ }, { "name": "background-position", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "#" @@ -1795,7 +1795,7 @@ }, { "name": "opacity", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -1822,11 +1822,11 @@ "values": [ { "name": "flex", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "none", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "version": [ @@ -1847,7 +1847,7 @@ }, { "name": "visibility", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "values": [ { "name": "visible", @@ -1876,7 +1876,7 @@ }, { "name": "flex", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -1900,7 +1900,7 @@ }, { "name": "flex-grow", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -1924,7 +1924,7 @@ }, { "name": "flex-shrink", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -1948,7 +1948,7 @@ }, { "name": "flex-basis", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -1972,7 +1972,7 @@ }, { "name": "position", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "values": [ { "name": "fixed" @@ -2048,7 +2048,7 @@ }, { "name": "right", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": " || " @@ -2072,7 +2072,7 @@ }, { "name": "bottom", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": " || " @@ -2096,7 +2096,7 @@ }, { "name": "transform-origin", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "values": [ { "name": "0px 0px" @@ -2126,7 +2126,7 @@ "values": [ { "name": "translate()", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "translateX()" @@ -2136,26 +2136,26 @@ }, { "name": "scale()", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "scaleX()", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "scaleY()", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "rotate()" }, { "name": "rotateX('angle')", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "rotateY('angle')", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "syntax": [ @@ -2276,7 +2276,7 @@ "restrictions": [ { "name": ["number", "enum"], - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, @@ -2293,7 +2293,7 @@ }, { "name": "ease", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "ease-in" @@ -2306,39 +2306,39 @@ }, { "name": "fast-out-slow-in", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "linear-out-slow-in", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "fast-out-linear-in", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "friction", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "extreme-deceleration", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "sharp", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "rhythm", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "smooth", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "cubic-bezier", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "version": [ @@ -2390,7 +2390,7 @@ }, { "name": "shared-transition-effect", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "values": [ { "name": "exchange" @@ -2417,7 +2417,7 @@ }, { "name": "shared-transition-name", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -2436,7 +2436,7 @@ }, { "name": "shared-transition-timing-function", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "values": [ { "name": "friction" @@ -2460,7 +2460,7 @@ }, { "name": "transition-enter", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -2479,7 +2479,7 @@ }, { "name": "transition-exit", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -2498,7 +2498,7 @@ }, { "name": "transition-duration", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -2517,7 +2517,7 @@ }, { "name": "transition-timing-function", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "values": [ { "name": "friction" @@ -2649,7 +2649,7 @@ "values": [ { "name": "stretch", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "flex-start" @@ -2690,7 +2690,7 @@ "values": [ { "name": "center", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "flex-start" @@ -2700,11 +2700,11 @@ }, { "name": "space-between", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "space-around", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "version": [ @@ -2725,7 +2725,7 @@ }, { "name": "grid-template-columns", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -2749,7 +2749,7 @@ }, { "name": "grid-template-rows", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -2773,7 +2773,7 @@ }, { "name": "grid-columns-gap", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -2797,7 +2797,7 @@ }, { "name": "grid-rows-gap", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -2821,7 +2821,7 @@ }, { "name": "grid-row-start", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -2845,7 +2845,7 @@ }, { "name": "grid-row-end", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -2869,7 +2869,7 @@ }, { "name": "grid-column-start", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -2893,7 +2893,7 @@ }, { "name": "grid-column-end", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -2917,7 +2917,7 @@ }, { "name": "grid-auto-flow", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3029,7 +3029,7 @@ }, { "name": "divider-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3053,7 +3053,7 @@ }, { "name": "divider-height", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3077,7 +3077,7 @@ }, { "name": "divider-length", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3101,7 +3101,7 @@ }, { "name": "divider-origin", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3125,7 +3125,7 @@ }, { "name": "columns", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3149,7 +3149,7 @@ }, { "name": "item-extent", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": " || " @@ -3173,7 +3173,7 @@ }, { "name": "fade-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3197,7 +3197,7 @@ }, { "name": "indicator-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3221,7 +3221,7 @@ }, { "name": "indicator-selected-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3245,7 +3245,7 @@ }, { "name": "indicator-size", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3269,7 +3269,7 @@ }, { "name": "indicator-top", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": " || " @@ -3293,7 +3293,7 @@ }, { "name": "indicator-left", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": " || " @@ -3317,7 +3317,7 @@ }, { "name": "indicator-right", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": " || " @@ -3341,7 +3341,7 @@ }, { "name": "indicator-bottom", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": " || " @@ -3365,7 +3365,7 @@ }, { "name": "progress-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3389,7 +3389,7 @@ }, { "name": "object-fit", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "fill | contain | cover | none | scale-down" @@ -3435,7 +3435,7 @@ }, { "name": "match-text-direction", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "true | false" @@ -3467,7 +3467,7 @@ }, { "name": "fit-original-size", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "true | false" @@ -3591,7 +3591,7 @@ }, { "name": "secondary-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3615,7 +3615,7 @@ }, { "name": "scale-width", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3639,7 +3639,7 @@ }, { "name": "scale-number", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -3801,7 +3801,7 @@ }, { "name": "allow-scale", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "[ true | false ]" @@ -3856,7 +3856,7 @@ }, { "name": "font-style", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "values": [ { "name": "normal" @@ -3883,7 +3883,7 @@ }, { "name": "font-weight", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "{1,2}" @@ -3954,7 +3954,7 @@ }, { "name": "text-decoration", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "values": [ { "name": "underline", @@ -3987,32 +3987,32 @@ }, { "name": "text-align", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "values": [ { "name": "left", "description": "The text is left-aligned", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "center", "description": "The text is center-aligned", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "right", "description": "The text is right-aligned", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "start", "description": "The text is aligned with the direction in which the text is written", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] }, { "name": "end", "description": "The text in aligned with the opposite direction in which the text is written", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "version": [ @@ -4038,7 +4038,7 @@ "name": "" } ], - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -4057,7 +4057,7 @@ }, { "name": "text-overflow", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "[ clip | ellipsis | ]{1,2}" @@ -4319,7 +4319,7 @@ }, { "name": "max-lines", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "[ | ]" @@ -4348,7 +4348,7 @@ }, { "name": "min-font-size", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4372,7 +4372,7 @@ }, { "name": "max-font-size", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4396,7 +4396,7 @@ }, { "name": "font-size-step", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4420,7 +4420,7 @@ }, { "name": "prefer-font-sizes", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4444,7 +4444,7 @@ }, { "name": "adapt-height", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "true | false" @@ -4476,7 +4476,7 @@ }, { "name": "star-background", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4500,7 +4500,7 @@ }, { "name": "star-foreground", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4524,7 +4524,7 @@ }, { "name": "star-secondary", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4553,7 +4553,7 @@ }, { "name": "rtl-flip", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "[ true | false ]" @@ -4585,7 +4585,7 @@ }, { "name": "line-cap", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "[ butt | square | round ]" @@ -4623,7 +4623,7 @@ }, { "name": "placeholder-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4647,7 +4647,7 @@ }, { "name": "text-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4671,7 +4671,7 @@ }, { "name": "icon-width", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4695,7 +4695,7 @@ }, { "name": "icon-height", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4719,7 +4719,7 @@ }, { "name": "block-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4743,7 +4743,7 @@ }, { "name": "texton-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4767,7 +4767,7 @@ }, { "name": "textoff-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4791,7 +4791,7 @@ }, { "name": "text-padding", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4861,7 +4861,7 @@ }, { "name": "focus-color", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4885,7 +4885,7 @@ }, { "name": "focus-font-size", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4909,7 +4909,7 @@ }, { "name": "colors", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4933,7 +4933,7 @@ }, { "name": "weights", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -4957,7 +4957,7 @@ }, { "name": "src", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "#" @@ -4986,7 +4986,7 @@ }, { "name": "min-width", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -5010,7 +5010,7 @@ }, { "name": "min-height", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -5034,7 +5034,7 @@ }, { "name": "max-width", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -5058,7 +5058,7 @@ }, { "name": "max-height", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -5082,7 +5082,7 @@ }, { "name": "box-shadow", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -5106,7 +5106,7 @@ }, { "name": "filter", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -5130,7 +5130,7 @@ }, { "name": "backdrop-filter", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -5154,7 +5154,7 @@ }, { "name": "window-filter", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -5178,7 +5178,7 @@ }, { "name": "display-index", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -5202,7 +5202,7 @@ }, { "name": "flex-weight", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -5226,7 +5226,7 @@ }, { "name": "aspect-ratio", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "syntax": [ { "name": "" @@ -5298,7 +5298,7 @@ "atDirectives": [ { "name": "@import", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -5307,13 +5307,13 @@ "description": [ { "name": "Includes content of another file.", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, { "name": "@keyframes", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -5322,13 +5322,13 @@ "description": [ { "name": "Defines set of animation key frames.", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, { "name": "@font-face", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -5337,13 +5337,13 @@ "description": [ { "name": "Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment.", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, { "name": "@media", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -5352,7 +5352,7 @@ "description": [ { "name": "Defines a stylesheet for a particular media type.", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] } @@ -5360,7 +5360,7 @@ "pseudoClasses": [ { "name": ":active", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -5369,13 +5369,13 @@ "description": [ { "name": "Represents an element that is being activated by the user.", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, { "name": ":checked", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -5384,13 +5384,13 @@ "description": [ { "name": "Represents an element that is checked or toggled to an on state..", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, { "name": ":waiting", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -5399,13 +5399,13 @@ "description": [ { "name": "Represents an element that is waiting for operation finished.", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, { "name": ":disabled", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -5414,13 +5414,13 @@ "description": [ { "name": "Represents any disabled element.", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] }, { "name": ":focus", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "version": [ { "name": "v3.0" @@ -5429,7 +5429,7 @@ "description": [ { "name": "Represents an element that has received focus.", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ] } diff --git a/api/form/hml/basic/block.json b/api/form/hml/basic/block.json index 9c094d1b86..5f1f23e7e2 100644 --- a/api/form/hml/basic/block.json +++ b/api/form/hml/basic/block.json @@ -5,34 +5,34 @@ "name": "v3.0" } ], - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "description": [ { "name": "'Logic control block.", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "attributes": [ { "name": "for", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "required": false, "description": [ { "name": "Expands the current element based on the configured data list.", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "type": "string" }, { "name": "if", - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "required": false, "description": [ { "name": "Whether the element is added or removed.", - "supportedDevices": ["phone", "tablet", "wearable"] + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"] } ], "type": "enum", diff --git a/api/form/hml/basic/button.json b/api/form/hml/basic/button.json index 1d98a2db61..0c3045be35 100644 --- a/api/form/hml/basic/button.json +++ b/api/form/hml/basic/button.json @@ -5,22 +5,22 @@ "name": "v3.0" } ], - "supportedDevices": ["phone", "tablet", "wearable"], + "supportedDevices": ["phone", "tablet", "wearable", "tv", "car"], "description": [ { "name": "The