UNPKG

@braineet/ui

Version:

Braineet design system

54 lines (53 loc) 2.14 kB
"use strict"; exports.__esModule = true; exports.default = exports.additionalProperties = exports.acceptedProperties = void 0; var _styledSystem = require("styled-system"); /** * All accepted CSS properties */ var acceptedProperties = exports.acceptedProperties = ['alignContent', 'alignItems', 'alignSelf', 'background', 'backgroundColor', 'backgroundSize', 'border', 'borderBottom', 'borderLeft', 'borderRadius', 'borderRight', 'borderSpacing', 'borderTop', 'bottom', 'boxShadow', 'color', 'cursor', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexFlow', 'flexGrow', 'flexShrink', 'flexWrap', 'float', 'fontFamily', 'fontSize', 'fontStretch', 'fontStyle', 'fontWeight', 'gap', 'height', 'justifyContent', 'justifyItems', 'justifySelf', 'left', 'letterSpacing', 'lineHeight', 'margin', 'marginBottom', 'marginLeft', 'marginRight', 'marginTop', 'marginX', 'marginY', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'opacity', 'overflow', 'overflowX', 'overflowY', 'padding', 'paddingBottom', 'paddingLeft', 'paddingRight', 'paddingTop', 'paddingX', 'paddingY', 'pointerEvents', 'position', 'right', 'textAlign', 'textDecoration', 'textOverflow', 'textTransform', 'top', 'transform', 'verticalAlign', 'visibility', 'whiteSpace', 'width', 'wordBreak', 'wordWrap', 'zIndex']; var additionalProperties = exports.additionalProperties = (0, _styledSystem.system)({ borderSpacing: { property: 'border-spacing' }, cursor: { property: 'cursor' }, float: { property: 'float' }, fontStretch: { property: 'font-stretch' }, pointerEvents: { property: 'pointer-events' }, textOverflow: { property: 'text-overflow' }, textTransform: { property: 'text-transform' }, textDecoration: { property: 'text-decoration' }, transform: { property: 'transform' }, visibility: { property: 'visibility' }, whiteSpace: { property: 'white-space' }, wordBreak: { property: 'word-break' }, wordWrap: { property: 'word-wrap' } }); var _default = exports.default = { additionalProperties: additionalProperties, acceptedProperties: acceptedProperties };