Lint changes

This commit is contained in:
Bahadir Sofuoglu 2022-09-14 17:26:41 +03:00
parent eb2de5460c
commit 4d3a071e66
291 changed files with 28450 additions and 26621 deletions

View file

@ -1,111 +1,111 @@
const KnobProps = [
{
name: "modelValue",
type: "number",
default: "null",
description: "Value of the component."
name: 'modelValue',
type: 'number',
default: 'null',
description: 'Value of the component.'
},
{
name: "size",
type: "number",
default: "100",
description: "Size of the component in pixels."
name: 'size',
type: 'number',
default: '100',
description: 'Size of the component in pixels.'
},
{
name: "disabled",
type: "boolean",
default: "false",
description: "When present, it specifies that the component should be disabled."
name: 'disabled',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should be disabled.'
},
{
name: "readonly",
type: "boolean",
default: "false",
description: "When present, it specifies that the component value cannot be edited."
name: 'readonly',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component value cannot be edited.'
},
{
name: "step",
type: "number",
default: "null",
description: "Step factor to increment/decrement the value."
name: 'step',
type: 'number',
default: 'null',
description: 'Step factor to increment/decrement the value.'
},
{
name: "min",
type: "number",
default: "0",
description: "Mininum boundary value."
name: 'min',
type: 'number',
default: '0',
description: 'Mininum boundary value.'
},
{
name: "max",
type: "number",
default: "100",
description: "Maximum boundary value."
name: 'max',
type: 'number',
default: '100',
description: 'Maximum boundary value.'
},
{
name: "valueColor",
type: "string",
default: "null",
description: "Background of the value."
name: 'valueColor',
type: 'string',
default: 'null',
description: 'Background of the value.'
},
{
name: "rangeColor",
type: "string",
default: "null",
description: "Background color of the range."
name: 'rangeColor',
type: 'string',
default: 'null',
description: 'Background color of the range.'
},
{
name: "textColor",
type: "string",
default: "null",
description: "Color of the value text."
name: 'textColor',
type: 'string',
default: 'null',
description: 'Color of the value text.'
},
{
name: "strokeWidth",
type: "number",
default: "14",
description: "Width of the knob stroke."
name: 'strokeWidth',
type: 'number',
default: '14',
description: 'Width of the knob stroke.'
},
{
name: "showValue",
type: "boolean",
default: "true",
description: "Whether the show the value inside the knob."
name: 'showValue',
type: 'boolean',
default: 'true',
description: 'Whether the show the value inside the knob.'
},
{
name: "valueTemplate",
type: "string",
default: "{value}",
description: "Template string of the value."
name: 'valueTemplate',
type: 'string',
default: '{value}',
description: 'Template string of the value.'
},
{
name: "tabindex",
type: "number",
default: "null",
description: "Index of the element in tabbing order."
name: 'tabindex',
type: 'number',
default: 'null',
description: 'Index of the element in tabbing order.'
},
{
name: "aria-labelledby",
type: "string",
default: "null",
description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
name: 'aria-labelledby',
type: 'string',
default: 'null',
description: 'Establishes relationships between the component and label(s) where its value should be one or more element IDs.'
},
{
name: "aria-label",
type: "string",
default: "null",
description: "Used to define a string that labels the element."
name: 'aria-label',
type: 'string',
default: 'null',
description: 'Used to define a string that labels the element.'
}
];
const KnobEvents = [
{
name: "change",
description: "Callback to invoke when the value changes.",
name: 'change',
description: 'Callback to invoke when the value changes.',
arguments: [
{
name: "value",
type: "number",
description: "New value"
name: 'value',
type: 'number',
description: 'New value'
}
]
}
@ -113,8 +113,8 @@ const KnobEvents = [
module.exports = {
knob: {
name: "Knob",
description: "Knob is a form component to define number inputs with a dial.",
name: 'Knob',
description: 'Knob is a form component to define number inputs with a dial.',
props: KnobProps,
events: KnobEvents
}