UNPKG

@vonage/vivid-react

Version:

Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings

156 lines (151 loc) 3.47 kB
/* * DO NOT EDIT THIS FILE. IT IS GENERATED */ /* Code in this file were generated using following JSON: { "kind": "class", "description": "", "name": "ActionGroup", "cssProperties": [ { "name": "--vvd-action-group-accent-primary", "default": "var(--vvd-color-canvas-text)" }, { "name": "--vvd-action-group-accent-intermediate", "default": "var(--vvd-color-neutral-500)" }, { "name": "--vvd-action-group-accent-faint", "default": "var(--vvd-color-neutral-50)" } ], "slots": [ { "description": "Default slot.", "name": "" } ], "members": [ { "kind": "field", "name": "shape", "type": { "text": "ActionGroupShape | undefined" }, "description": "The shape the ActionGroup should have.", "privacy": "public" }, { "kind": "field", "name": "appearance", "type": { "text": "ActionGroupAppearance | undefined" }, "description": "The appearance the ActionGroup should have.", "privacy": "public" }, { "kind": "field", "name": "tight", "type": { "text": "boolean" }, "default": "false", "description": "Indicates whether action group should have padding.", "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": "shape", "type": { "text": "ActionGroupShape | undefined" }, "description": "The shape the ActionGroup should have.", "fieldName": "shape" }, { "name": "appearance", "type": { "text": "ActionGroupAppearance | undefined" }, "description": "The appearance the ActionGroup should have.", "fieldName": "appearance" }, { "name": "tight", "type": { "text": "boolean" }, "default": "false", "description": "Indicates whether action group should have padding.", "fieldName": "tight" } ], "mixins": [ { "name": "DelegatesAria", "module": "/src/shared/aria/delegates-aria" } ], "superclass": { "name": "VividElement", "module": "/src/shared/foundation/vivid-element/vivid-element" }, "vividComponent": { "public": true, "name": "action-group" } } */ import wrapper from '@vonage/vivid-react-wrapper' import { registerActionGroup } from '@vonage/vivid' registerActionGroup('vvd3') const VwcActionGroup = wrapper(`vvd3-action-group`, { events: [], attributes: [], properties: ['shape', 'appearance', 'tight', '_vividAriaBehaviour', 'VIVID_VERSION', 'componentName'] }) VwcActionGroup.displayName = 'VwcActionGroup' export default VwcActionGroup