UNPKG

rizzo-next

Version:

The next generation of Lonely Planet's style guide and pattern library.

669 lines 23.2 kB
{ "type": "Program", "start": 0, "end": 238, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 14, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 38, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 38 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 7, "end": 12, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 12 } }, "local": { "type": "Identifier", "start": 7, "end": 12, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 12 } }, "name": "Stack" } } ], "importKind": "value", "source": { "type": "Literal", "start": 18, "end": 37, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 37 } }, "value": "./stack_component", "rawValue": "./stack_component", "raw": "\"./stack_component\"" } }, { "type": "ExpressionStatement", "start": 40, "end": 65, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 25 } }, "expression": { "type": "CallExpression", "start": 40, "end": 64, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 24 } }, "callee": { "type": "Identifier", "start": 40, "end": 47, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 7 } }, "name": "require" }, "arguments": [ { "type": "Literal", "start": 48, "end": 63, "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 23 } }, "value": "./stacks.scss", "rawValue": "./stacks.scss", "raw": "\"./stacks.scss\"" } ] } }, { "type": "ExportDefaultDeclaration", "start": 67, "end": 237, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 13, "column": 5 } }, "declaration": { "type": "CallExpression", "start": 83, "end": 235, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 13, "column": 3 } }, "callee": { "type": "FunctionExpression", "start": 83, "end": 233, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 13, "column": 1 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 94, "end": 233, "loc": { "start": { "line": 5, "column": 27 }, "end": { "line": 13, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 98, "end": 231, "loc": { "start": { "line": 6, "column": 2 }, "end": { "line": 12, "column": 5 } }, "argument": { "type": "CallExpression", "start": 105, "end": 230, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 12, "column": 4 } }, "callee": { "type": "MemberExpression", "start": 105, "end": 124, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 28 } }, "object": { "type": "CallExpression", "start": 105, "end": 119, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 23 } }, "callee": { "type": "Identifier", "start": 105, "end": 106, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 10 } }, "name": "$" }, "arguments": [ { "type": "Literal", "start": 107, "end": 118, "loc": { "start": { "line": 6, "column": 11 }, "end": { "line": 6, "column": 22 } }, "value": ".articles", "rawValue": ".articles", "raw": "\".articles\"" } ] }, "property": { "type": "Identifier", "start": 120, "end": 124, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "column": 28 } }, "name": "each" }, "computed": false }, "arguments": [ { "type": "FunctionExpression", "start": 125, "end": 229, "loc": { "start": { "line": 6, "column": 29 }, "end": { "line": 12, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 136, "end": 229, "loc": { "start": { "line": 6, "column": 40 }, "end": { "line": 12, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 142, "end": 188, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 9, "column": 7 } }, "declarations": [ { "type": "VariableDeclarator", "start": 146, "end": 187, "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 9, "column": 6 } }, "id": { "type": "Identifier", "start": 146, "end": 151, "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 13 } }, "name": "stack" }, "init": { "type": "NewExpression", "start": 154, "end": 187, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 9, "column": 6 } }, "callee": { "type": "Identifier", "start": 158, "end": 163, "loc": { "start": { "line": 7, "column": 20 }, "end": { "line": 7, "column": 25 } }, "name": "Stack" }, "arguments": [ { "type": "ObjectExpression", "start": 164, "end": 186, "loc": { "start": { "line": 7, "column": 26 }, "end": { "line": 9, "column": 5 } }, "properties": [ { "type": "Property", "start": 172, "end": 180, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 14 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 172, "end": 174, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 8 } }, "name": "el" }, "value": { "type": "ThisExpression", "start": 176, "end": 180, "loc": { "start": { "line": 8, "column": 10 }, "end": { "line": 8, "column": 14 } } }, "kind": "init" } ] } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 194, "end": 225, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 35 } }, "expression": { "type": "CallExpression", "start": 194, "end": 224, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 194, "end": 206, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 16 } }, "object": { "type": "CallExpression", "start": 194, "end": 201, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 11 } }, "callee": { "type": "Identifier", "start": 194, "end": 195, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 5 } }, "name": "$" }, "arguments": [ { "type": "ThisExpression", "start": 196, "end": 200, "loc": { "start": { "line": 11, "column": 6 }, "end": { "line": 11, "column": 10 } } } ] }, "property": { "type": "Identifier", "start": 202, "end": 206, "loc": { "start": { "line": 11, "column": 12 }, "end": { "line": 11, "column": 16 } }, "name": "data" }, "computed": false }, "arguments": [ { "type": "Literal", "start": 207, "end": 216, "loc": { "start": { "line": 11, "column": 17 }, "end": { "line": 11, "column": 26 } }, "value": "lpStack", "rawValue": "lpStack", "raw": "\"lpStack\"" }, { "type": "Identifier", "start": 218, "end": 223, "loc": { "start": { "line": 11, "column": 28 }, "end": { "line": 11, "column": 33 } }, "name": "stack" } ] } } ] } } ] } } ] } }, "arguments": [], "parenthesizedExpression": true, "leadingComments": [], "trailingComments": [] } } ] }