Data based on atom/autocomplete-css, ChromeDevTools/devtools-frontend and adobe/brackets
import * as metaCSS from 'cd-metadata/css';Responsible for: Autocomplete css attributes in the advanced properties panel
import { cssProperties } from 'cd-metadata/css';
/*
...
"animation-name",
"animation-play-state",
"animation-timing-function",
"animation",
"backface-visibility",
"background-attachment",
"background-blend-mode",
"background-clip",
"background-color",
...
*/Lookup table for css property values
import { cssPropertyMap } from 'cd-metadata/css';
/*
...
"align-content": ["center", "flex-end", "flex-start","space-around", "space-between", "stretch"],
"align-items": ["baseline", "center", "flex-end", "flex-start", "stretch"],
"align-self": ["auto", "baseline", "center", "flex-end", "flex-start", "stretch"],
...
*/List of css properties (keys) related to color
import { cssColorProps } from 'cd-metadata/css';
// e.g "background-color"List of css properties (keys) related to distance
import { cssDistanceProps } from 'cd-metadata/css';List of css pseudo selectors(keys)
import { cssPseudoSelectors } from 'cd-metadata/css';
// e.g "::after"import * as metaHTML from 'cd-metadata/html';Responsible for: Autocompletion of HTML Tags & Attributes
import { htmlTags } from 'cd-metadata/html';
/*
...
"blockquote",
"body",
"br",
"button",
"canvas",
"code",
"div",
"em",
"form",
"footer",
"h1",
"h2",
...
*/Lookup table for available attributes on html tags.
import { htmlTagAttributesMap } from 'cd-metadata/html';
/*
...
"br": [],
"button": [
"autofocus",
"disabled",
"form",
"formaction",
"formenctype",
"formmethod",
"formnovalidate",
"formtarget",
"name",
"type",
"value"
],
"canvas": ["height", "width"],
...
*/Lookup table for values on html attributes
import { htmlAttributeMap } from 'cd-metadata/html';
/*
...
"preload": ["auto", "metadata", "none"],
"input/type": [
"button",
"checkbox",
"color",
"date",
"datetime",
"datetime-local",
"email",
"file",
"hidden",
"image",
"month",
"number",
"password",
"radio",
...
*/import * as metaFile from 'cd-metadata/file';Responsible for: Defines a list of accepted mimetypes
import * as metaFonts from 'cd-metadata/fonts';Responsible for: Defining the list of font weights, variants and cross browser system fonts.
import * as metaUnits from 'cd-metadata/units';Responsible for: Providing a constant for available units throughout the project, mainly the style attributes of the properties model. (px, %, em, etc)