UNPKG

@ntragas/pouncejstest

Version:

A collection of UI components from Panther labs

48 lines (43 loc) 1.35 kB
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); exports.__esModule = true; exports.stylingProps = exports.customStyleProps = void 0; var StyledSystem = _interopRequireWildcard(require("styled-system")); var customStyleProps = { shadow: { property: 'boxShadow', scale: 'shadows' }, fill: { property: 'fill', scale: 'colors' }, stroke: { property: 'stroke', scale: 'colors' }, textDecoration: true, textTransform: true, animation: true, transform: true, visibility: true, whiteSpace: true, pointerEvents: true, wordBreak: true, overflowWrap: true, textOverflow: true, cursor: true, resize: true, transition: true, objectFit: true, outline: true, willChange: true, userSelect: true, borderCollapse: true, borderSpacing: true, tableLayout: true, transformOrigin: true }; exports.customStyleProps = customStyleProps; var stylingProps = StyledSystem.compose(StyledSystem.space, StyledSystem.color, StyledSystem.layout, StyledSystem.background, StyledSystem.grid, StyledSystem.shadow, StyledSystem.border, StyledSystem.position, StyledSystem.flexbox, StyledSystem.borderRadius, StyledSystem.typography, StyledSystem.system(customStyleProps)); // All of the allowed props gathered together exports.stylingProps = stylingProps;