@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
220 lines (215 loc) • 4.41 kB
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"kind": "class",
"description": "",
"name": "InlineTimePicker",
"cssProperties": [
{
"name": "--vvd-time-picker-accent-primary",
"default": "var(--vvd-color-canvas-text)"
},
{
"name": "--vvd-time-picker-accent-firm",
"default": "var(--vvd-color-canvas-text)"
},
{
"name": "--vvd-time-picker-accent-faint",
"default": "var(--vvd-color-neutral-50)"
},
{
"name": "--vvd-time-picker-accent-soft",
"default": "var(--vvd-color-neutral-100)"
},
{
"name": "--vvd-time-picker-accent-dim",
"default": "var(--vvd-color-neutral-200)"
},
{
"name": "--vvd-time-picker-accent-pale",
"default": "var(--vvd-color-neutral-300)"
}
],
"members": [
{
"kind": "field",
"name": "value",
"type": {
"text": "string | undefined"
}
},
{
"kind": "method",
"name": "valueChanged",
"parameters": [
{
"name": "_",
"optional": true,
"type": {
"text": "string"
}
},
{
"name": "newValue",
"optional": true,
"type": {
"text": "string"
}
}
]
},
{
"kind": "field",
"name": "minutesStep",
"type": {
"text": "number"
},
"default": "1"
},
{
"kind": "field",
"name": "secondsStep",
"type": {
"text": "number | undefined"
}
},
{
"kind": "field",
"name": "clock",
"type": {
"text": "'12h' | '24h'"
},
"default": "'24h'"
},
{
"kind": "field",
"name": "min",
"type": {
"text": "string | undefined"
}
},
{
"kind": "field",
"name": "max",
"type": {
"text": "string | undefined"
}
},
{
"kind": "field",
"name": "focusedPickerClass",
"type": {
"text": "string"
},
"default": "'focused'"
},
{
"kind": "method",
"name": "scrollSelectedOptionsToTop"
},
{
"kind": "method",
"name": "focus",
"parameters": [
{
"name": "options",
"optional": true,
"type": {
"text": "FocusOptions"
}
}
]
},
{
"kind": "field",
"name": "VIVID_VERSION",
"static": true,
"default": "__PACKAGE_VERSION__",
"description": "The current version of the Vivid library, which is useful for debugging.\nIt can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.",
"type": {
"text": "string"
},
"inheritedFrom": {
"name": "VividElement",
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
}
},
{
"kind": "field",
"name": "componentName",
"type": {
"text": "string"
},
"static": true,
"description": "Core component name, without prefix",
"inheritedFrom": {
"name": "VividElement",
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
}
},
{
"kind": "field",
"name": "specialHandling",
"type": {
"text": "boolean"
},
"default": "false",
"inheritedFrom": {
"name": "VividElement",
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
}
},
{
"kind": "field",
"name": "_vividAriaBehaviour",
"type": {
"text": "VividAriaBehaviour"
},
"default": "'default'",
"inheritedFrom": {
"name": "VividElement",
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
}
},
{
"kind": "method",
"name": "#handleReplacedProp",
"parameters": [
{
"name": "replacedProp",
"type": {
"text": "ReplacedPropConfiguration<any, any>"
}
}
],
"inheritedFrom": {
"name": "VividElement",
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
}
}
],
"mixins": [
{
"name": "Localized",
"module": "/src/shared/patterns"
}
],
"superclass": {
"name": "VividElement",
"module": "/src/shared/foundation/vivid-element/vivid-element"
}
}
*/
import wrapper from '@vonage/vivid-react-wrapper'
import { registerInlineTimePicker } from '@vonage/vivid'
registerInlineTimePicker('vvd3')
const VwcInlineTimePicker = wrapper(`vvd3-inline-time-picker`, {
events: [],
attributes: [],
properties: ['value', 'minutesStep', 'secondsStep', 'clock', 'min', 'max', 'focusedPickerClass', 'VIVID_VERSION', 'componentName', 'specialHandling', '_vividAriaBehaviour']
})
VwcInlineTimePicker.displayName = 'VwcInlineTimePicker'
export default VwcInlineTimePicker