You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					41 lines
				
				790 B
			
		
		
			
		
	
	
					41 lines
				
				790 B
			| 
								 
											3 years ago
										 
									 | 
							
								"use strict";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								exports.__esModule = true;
							 | 
						||
| 
								 | 
							
								exports["default"] = exports.position = void 0;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var _core = require("@styled-system/core");
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var defaults = {
							 | 
						||
| 
								 | 
							
								  space: [0, 4, 8, 16, 32, 64, 128, 256, 512]
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								var config = {
							 | 
						||
| 
								 | 
							
								  position: true,
							 | 
						||
| 
								 | 
							
								  zIndex: {
							 | 
						||
| 
								 | 
							
								    property: 'zIndex',
							 | 
						||
| 
								 | 
							
								    scale: 'zIndices'
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  top: {
							 | 
						||
| 
								 | 
							
								    property: 'top',
							 | 
						||
| 
								 | 
							
								    scale: 'space',
							 | 
						||
| 
								 | 
							
								    defaultScale: defaults.space
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  right: {
							 | 
						||
| 
								 | 
							
								    property: 'right',
							 | 
						||
| 
								 | 
							
								    scale: 'space',
							 | 
						||
| 
								 | 
							
								    defaultScale: defaults.space
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  bottom: {
							 | 
						||
| 
								 | 
							
								    property: 'bottom',
							 | 
						||
| 
								 | 
							
								    scale: 'space',
							 | 
						||
| 
								 | 
							
								    defaultScale: defaults.space
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  left: {
							 | 
						||
| 
								 | 
							
								    property: 'left',
							 | 
						||
| 
								 | 
							
								    scale: 'space',
							 | 
						||
| 
								 | 
							
								    defaultScale: defaults.space
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								var position = (0, _core.system)(config);
							 | 
						||
| 
								 | 
							
								exports.position = position;
							 | 
						||
| 
								 | 
							
								var _default = position;
							 | 
						||
| 
								 | 
							
								exports["default"] = _default;
							 |