@atlaskit/eslint-plugin-design-system
Version:
The essential plugin for use with the Atlassian Design System.
34 lines • 1.28 kB
JavaScript
export var physicalLogicalMap = {
borderBottom: 'borderBlockEnd',
borderBottomColor: 'borderBlockEndColor',
borderBottomStyle: 'borderBlockEndStyle',
borderBottomWidth: 'borderBlockEndWidth',
borderTop: 'borderBlockStart',
borderTopColor: 'borderBlockStartColor',
borderTopStyle: 'borderBlockStartStyle',
borderTopWidth: 'borderBlockStartWidth',
borderRight: 'borderInlineEnd',
borderRightColor: 'borderInlineEndColor',
borderRightStyle: 'borderInlineEndStyle',
borderRightWidth: 'borderInlineEndWidth',
borderLeft: 'borderInlineStart',
borderLeftColor: 'borderInlineStartColor',
borderLeftStyle: 'borderInlineStartStyle',
borderLeftWidth: 'borderInlineStartWidth',
borderTopLeftRadius: 'borderStartStartRadius',
borderBottomLeftRadius: 'borderEndStartRadius',
borderTopRightRadius: 'borderStartEndRadius',
borderBottomRightRadius: 'borderEndEndRadius',
marginBottom: 'marginBlockEnd',
marginTop: 'marginBlockStart',
marginRight: 'marginInlineEnd',
marginLeft: 'marginInlineStart',
paddingBottom: 'paddingBlockEnd',
paddingTop: 'paddingBlockStart',
paddingRight: 'paddingInlineEnd',
paddingLeft: 'paddingInlineStart',
left: 'insetInlineStart',
right: 'insetInlineEnd',
top: 'insetBlockStart',
bottom: 'insetBlockEnd'
};