@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
316 lines (311 loc) • 7.5 kB
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"kind": "class",
"description": "",
"name": "CalendarEvent",
"cssProperties": [
{
"name": "--vvd-calendar-event-accent-primary",
"default": "var(--vvd-color-canvas-text)"
},
{
"name": "--vvd-calendar-event-accent-primary-text",
"default": "var(--vvd-color-canvas)"
},
{
"name": "--vvd-calendar-event-accent-contrast",
"default": "var(--vvd-color-neutral-800)"
},
{
"name": "--vvd-calendar-event-accent-soft",
"default": "var(--vvd-color-neutral-100)"
},
{
"name": "--vvd-calendar-event-cta-primary",
"default": "var(--vvd-color-cta-500)"
},
{
"name": "--vvd-calendar-event-cta-primary-text",
"default": "var(--vvd-color-canvas)"
},
{
"name": "--vvd-calendar-event-cta-contrast",
"default": "var(--vvd-color-cta-800)"
},
{
"name": "--vvd-calendar-event-cta-soft",
"default": "var(--vvd-color-cta-100)"
},
{
"name": "--vvd-calendar-event-success-primary",
"default": "var(--vvd-color-success-500)"
},
{
"name": "--vvd-calendar-event-success-primary-text",
"default": "var(--vvd-color-canvas)"
},
{
"name": "--vvd-calendar-event-success-contrast",
"default": "var(--vvd-color-success-800)"
},
{
"name": "--vvd-calendar-event-success-soft",
"default": "var(--vvd-color-success-100)"
},
{
"name": "--vvd-calendar-event-alert-primary",
"default": "var(--vvd-color-alert-500)"
},
{
"name": "--vvd-calendar-event-alert-primary-text",
"default": "var(--vvd-color-canvas)"
},
{
"name": "--vvd-calendar-event-alert-contrast",
"default": "var(--vvd-color-alert-800)"
},
{
"name": "--vvd-calendar-event-alert-soft",
"default": "var(--vvd-color-alert-100)"
},
{
"name": "--vvd-calendar-event-warning-primary",
"default": "var(--vvd-color-warning-300)"
},
{
"name": "--vvd-calendar-event-warning-primary-text",
"default": "var(--vvd-color-canvas-text)"
},
{
"name": "--vvd-calendar-event-warning-contrast",
"default": "var(--vvd-color-warning-800)"
},
{
"name": "--vvd-calendar-event-warning-soft",
"default": "var(--vvd-color-warning-100)"
},
{
"name": "--vvd-calendar-event-announcement-primary",
"default": "var(--vvd-color-announcement-500)"
},
{
"name": "--vvd-calendar-event-announcement-primary-text",
"default": "var(--vvd-color-canvas)"
},
{
"name": "--vvd-calendar-event-announcement-contrast",
"default": "var(--vvd-color-announcement-800)"
},
{
"name": "--vvd-calendar-event-announcement-soft",
"default": "var(--vvd-color-announcement-100)"
},
{
"name": "--vvd-calendar-event-information-primary",
"default": "var(--vvd-color-information-500)"
},
{
"name": "--vvd-calendar-event-information-primary-text",
"default": "var(--vvd-color-canvas)"
},
{
"name": "--vvd-calendar-event-information-contrast",
"default": "var(--vvd-color-information-800)"
},
{
"name": "--vvd-calendar-event-information-soft",
"default": "var(--vvd-color-information-100)"
}
],
"members": [
{
"kind": "field",
"name": "heading",
"type": {
"text": "string | undefined"
},
"description": "the heading of the event",
"privacy": "public"
},
{
"kind": "field",
"name": "description",
"type": {
"text": "string | undefined"
},
"description": "the description of the event",
"privacy": "public"
},
{
"kind": "field",
"name": "connotation",
"type": {
"text": "CalendarEventConnotation | undefined"
},
"description": "The connotation the calendar event should have.",
"privacy": "public"
},
{
"kind": "field",
"name": "appearance",
"type": {
"text": "CalendarEventAppearance | undefined"
},
"description": "The appearance the calendar event should have.",
"privacy": "public"
},
{
"kind": "field",
"name": "overlapCount",
"type": {
"text": "number | undefined"
},
"description": "sets card display precendence and indentation",
"privacy": "public"
},
{
"kind": "field",
"name": "start",
"type": {
"text": "number | undefined"
},
"description": "time of day event starts",
"privacy": "public"
},
{
"kind": "field",
"name": "duration",
"type": {
"text": "number | undefined"
},
"description": "event's time duration in hours",
"privacy": "public"
},
{
"kind": "field",
"name": "_vividAriaBehaviour",
"default": "'delegate'",
"type": {
"text": "'delegate'"
},
"inheritedFrom": {
"name": "DelegatesAria",
"module": "src/shared/aria/delegates-aria.ts"
}
},
{
"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"
}
}
],
"attributes": [
{
"name": "heading",
"type": {
"text": "string | undefined"
},
"description": "the heading of the event",
"fieldName": "heading"
},
{
"name": "description",
"type": {
"text": "string | undefined"
},
"description": "the description of the event",
"fieldName": "description"
},
{
"name": "connotation",
"type": {
"text": "CalendarEventConnotation | undefined"
},
"description": "The connotation the calendar event should have.",
"fieldName": "connotation"
},
{
"name": "appearance",
"type": {
"text": "CalendarEventAppearance | undefined"
},
"description": "The appearance the calendar event should have.",
"fieldName": "appearance"
},
{
"name": "overlap-count",
"type": {
"text": "number | undefined"
},
"description": "sets card display precendence and indentation",
"fieldName": "overlapCount"
},
{
"name": "start",
"type": {
"text": "number | undefined"
},
"description": "time of day event starts",
"fieldName": "start"
},
{
"name": "duration",
"type": {
"text": "number | undefined"
},
"description": "event's time duration in hours",
"fieldName": "duration"
}
],
"mixins": [
{
"name": "DelegatesAria",
"module": "/src/shared/aria/delegates-aria"
}
],
"superclass": {
"name": "VividElement",
"module": "/src/shared/foundation/vivid-element/vivid-element"
},
"vividComponent": {
"public": true,
"name": "calendar-event"
}
}
*/
import wrapper from '@vonage/vivid-react-wrapper'
import { registerCalendarEvent } from '@vonage/vivid'
registerCalendarEvent('vvd3')
const VwcCalendarEvent = wrapper(`vvd3-calendar-event`, {
events: [],
attributes: [],
properties: ['heading', 'description', 'connotation', 'appearance', 'overlapCount', 'start', 'duration', '_vividAriaBehaviour', 'VIVID_VERSION', 'componentName']
})
VwcCalendarEvent.displayName = 'VwcCalendarEvent'
export default VwcCalendarEvent