@labrnth/header
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -12,2 +12,8 @@ # Change Log | ||
## 0.1.2 - 26/05/2021 | ||
### Fixed | ||
- Reorder prop spreading to account for styling overrides. | ||
## 0.1.1 - 18/05/2021 | ||
@@ -14,0 +20,0 @@ |
@@ -1,4 +0,4 @@ | ||
import{jsx as r}from"@emotion/react";import o from"prop-types";import{useTheme as d,breakpoint as a}from"@labrnth/theme";var p=({children:t,withBorder:s,withShadow:i,...n})=>{let e=d();return r("header",{className:"Header",...n,css:[{display:"block",position:"relative",background:e.colors.gray.white,color:e.colors.gray[1e3],padding:`${e.spacing[3]} 0`,transition:"padding 0.1s linear",[a(e.screen.md)]:{padding:`${e.spacing[4]} 0`}},s&&{boxShadow:`${e.colors.gray[400]} 0 2px 0 0`},i&&{boxShadow:`0 1px 8px 0 ${e.colors.gray[300]}, | ||
import{jsx as r}from"@emotion/react";import o from"prop-types";import{useTheme as d,breakpoint as a}from"@labrnth/theme";var p=({children:t,withBorder:s,withShadow:i,...n})=>{let e=d();return r("header",{className:"Header",css:[{display:"block",position:"relative",background:e.colors.gray.white,color:e.colors.gray[1e3],padding:`${e.spacing[3]} 0`,transition:"padding 0.1s linear",[a(e.screen.md)]:{padding:`${e.spacing[4]} 0`}},s&&{boxShadow:`${e.colors.gray[400]} 0 2px 0 0`},i&&{boxShadow:`0 1px 8px 0 ${e.colors.gray[300]}, | ||
0 1px 3px 0 ${e.colors.gray[100]}, | ||
0 2px 3px -2px ${e.colors.gray[200]}`}]},r("nav",{css:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:`0 ${e.spacing[3]}`,[a(e.screen.md)]:{padding:`0 ${e.spacing[4]}`}}},t))};p.propTypes={withBorder:o.bool,withShadow:o.bool,children:o.node.isRequired};var x=p;export{x as default}; | ||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2luZGV4LnRzeCJdLAogICJzb3VyY2VzQ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InLFxuICAgICAgICAgIFticmVha3BvaW50KHRoZW1lLnNjcmVlbi5tZCldOiB7XG4gICAgICAgICAgICBwYWRkaW5nOiBgJHt0aGVtZS5zcGFjaW5nWzRdfSAwYCxcbiAgICAgICAgICB9LFxuICAgICAgICB9LFxuICAgICAgICB3aXRoQm9yZGVyICYmIHtcbiAgICAgICAgICBib3hTaGFkb3c6IGAke3RoZW1lLmNvbG9ycy5ncmF5WzQwMF19IDAgMnB4IDAgMGAsXG4gICAgICAgIH0sXG4gICAgICAgIHdpdGhTaGFkb3cgJiYge1xuICAgICAgICAgIGJveFNoYWRvdzogYDAgMXB4IDhweCAwICR7dGhlbWUuY29sb3JzLmdyYXlbMzAwXX0sXG4gICAgICAgICAgMCAxcHggM3B4IDAgJHt0aGVtZS5jb2xvcnMuZ3JheVsxMDBdfSxcbiAgICAgICAgICAwIDJweCAzcHggLTJweCAke3RoZW1lLmNvbG9ycy5ncmF5WzIwMF19YCxcbiAgICAgICAgfSxcbiAgICAgIF19XG4gICAgPlxuICAgICAgPG5hdlxuICAgICAgICBjc3M9e3tcbiAgICAgICAgICBkaXNwbGF5OiAnZmxleCcsXG4gICAgICAgICAgYWxpZ25JdGVtczogJ2NlbnRlcicsXG4gICAgICAgICAganVzdGlmeUNvbnRlbnQ6ICdzcGFjZS1iZXR3ZWVuJyxcbiAgICAgICAgICBwYWRkaW5nOiBgMCAke3RoZW1lLnNwYWNpbmdbM119YCxcbiAgICAgICAgICBbYnJlYWtwb2ludCh0aGVtZS5zY3JlZW4ubWQpXToge1xuICAgICAgICAgICAgcGFkZGluZzogYDAgJHt0aGVtZS5zcGFjaW5nWzRdfWAsXG4gICAgICAgICAgfSxcbiAgICAgICAgfX1cbiAgICAgID5cbiAgICAgICAge2NoaWxkcmVufVxuICAgICAgPC9uYXY+XG4gICAgPC9oZWFkZXI+XG4gICk7XG59O1xuXG5IZWFkZXIucHJvcFR5cGVzID0ge1xuICB3aXRoQm9yZGVyOiBQcm9wVHlwZXMuYm9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W1lcyI6IFtdCn0K | ||
0 2px 3px -2px ${e.colors.gray[200]}`}],...n},r("nav",{css:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:`0 ${e.spacing[3]}`,[a(e.screen.md)]:{padding:`0 ${e.spacing[4]}`}}},t))};p.propTypes={withBorder:o.bool,withShadow:o.bool,children:o.node.isRequired};var m=p;export{m as default}; | ||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2luZGV4LnRzeCJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiLyoqIEBqc3hSdW50aW1lIGNsYXNzaWMgKi9cbi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4LCBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcbmltcG9ydCB7IHVzZVRoZW1lLCBicmVha3BvaW50IH0gZnJvbSAnQGxhYnJudGgvdGhlbWUnO1xuXG5leHBvcnQgaW50ZXJmYWNlIEhlYWRlclByb3BzIHtcbiAgd2l0aEJvcmRlcj86IGJvb2xlYW47XG4gIHdpdGhTaGFkb3c/OiBib29sZWFuO1xuICBjaGlsZHJlbjogUmVhY3QuUmVhY3ROb2RlO1xufVxuXG5jb25zdCBIZWFkZXI6IFJlYWN0LkZDPEhlYWRlclByb3BzPiA9ICh7XG4gIGNoaWxkcmVuLFxuICB3aXRoQm9yZGVyLFxuICB3aXRoU2hhZG93LFxuICAuLi5vdGhlclByb3BzXG59KSA9PiB7XG4gIGNvbnN0IHRoZW1lID0gdXNlVGhlbWUoKTtcblxuICByZXR1cm4gKFxuICAgIDxoZWFkZXJcbiAgICAgIGNsYXNzTmFtZT1cIkhlYWRlclwiXG4gICAgICBjc3M9e1tcbiAgICAgICAge1xuICAgICAgICAgIGRpc3BsYXk6ICdibG9jaycsXG4gICAgICAgICAgcG9zaXRpb246ICdyZWxhdGl2ZScsXG4gICAgICAgICAgYmFja2dyb3VuZDogdGhlbWUuY29sb3JzLmdyYXkud2hpdGUsXG4gICAgICAgICAgY29sb3I6IHRoZW1lLmNvbG9ycy5ncmF5WzEwMDBdLFxuICAgICAgICAgIHBhZGRpbmc6IGAke3RoZW1lLnNwYWNpbmdbM119IDBgLFxuICAgICAgICAgIHRyYW5zaXRpb246ICdwYWRkaW5nIDAuMXMgbGluZWFyJyxcbiAgICAgICAgICBbYnJlYWtwb2ludCh0aGVtZS5zY3JlZW4ubWQpXToge1xuICAgICAgICAgICAgcGFkZGluZzogYCR7dGhlbWUuc3BhY2luZ1s0XX0gMGAsXG4gICAgICAgICAgfSxcbiAgICAgICAgfSxcbiAgICAgICAgd2l0aEJvcmRlciAmJiB7XG4gICAgICAgICAgYm94U2hhZG93OiBgJHt0aGVtZS5jb2xvcnMuZ3JheVs0MDBdfSAwIDJweCAwIDBgLFxuICAgICAgICB9LFxuICAgICAgICB3aXRoU2hhZG93ICYmIHtcbiAgICAgICAgICBib3hTaGFkb3c6IGAwIDFweCA4cHggMCAke3RoZW1lLmNvbG9ycy5ncmF5WzMwMF19LFxuICAgICAgICAgIDAgMXB4IDNweCAwICR7dGhlbWUuY29sb3JzLmdyYXlbMTAwXX0sXG4gICAgICAgICAgMCAycHggM3B4IC0ycHggJHt0aGVtZS5jb2xvcnMuZ3JheVsyMDBdfWAsXG4gICAgICAgIH0sXG4gICAgICBdfVxuICAgICAgey4uLm90aGVyUHJvcHN9XG4gICAgPlxuICAgICAgPG5hdlxuICAgICAgICBjc3M9e3tcbiAgICAgICAgICBkaXNwbGF5OiAnZmxleCcsXG4gICAgICAgICAgYWxpZ25JdGVtczogJ2NlbnRlcicsXG4gICAgICAgICAganVzdGlmeUNvbnRlbnQ6ICdzcGFjZS1iZXR3ZWVuJyxcbiAgICAgICAgICBwYWRkaW5nOiBgMCAke3RoZW1lLnNwYWNpbmdbM119YCxcbiAgICAg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DRSxJQUFLLENBQ0gsUUFBUyxPQUNULFdBQVksU0FDWixlQUFnQixnQkFDaEIsUUFBUyxLQUFLLEVBQU0sUUFBUSxNQUMzQixFQUFXLEVBQU0sT0FBTyxLQUFNLENBQzdCLFFBQVMsS0FBSyxFQUFNLFFBQVEsUUFJL0IsS0FNVCxFQUFPLFVBQVksQ0FDakIsV0FBWSxFQUFVLEtBQ3RCLFdBQVksRUFBVSxLQUN0QixTQUFVLEVBQVUsS0FBSyxZQUczQixHQUFPLEdBQVEiLAogICJuYW1lcyI6IFtdCn0K |
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true}); | ||
@@ -41,3 +41,2 @@ var __export = (target, all) => { | ||
className: "Header", | ||
...otherProps, | ||
css: [ | ||
@@ -63,3 +62,4 @@ { | ||
} | ||
] | ||
], | ||
...otherProps | ||
}, /* @__PURE__ */ (0, import_react.jsx)("nav", { | ||
@@ -83,2 +83,2 @@ css: { | ||
var src_default = Header; | ||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2luZGV4LnRzeCJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiLyoqIEBqc3hSdW50aW1lIGNsYXNzaWMgKi9cbi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4LCBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcbmltcG9ydCB7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AgICAgcG9zaXRpb246ICdyZWxhdGl2ZScsXG4gICAgICAgICAgYmFja2dyb3VuZDogdGhlbWUuY29sb3JzLmdyYXkud2hpdGUsXG4gICAgICAgICAgY29sb3I6IHRoZW1lLmNvbG9ycy5ncmF5WzEwMDBdLFxuICAgICAgICAgIHBhZGRpbmc6IGAke3RoZW1lLnNwYWNpbmdbM119IDBgLFxuICAgICAgICAgIHRyYW5zaXRpb246ICdwYWRkaW5nIDAuMXMgbGluZWFyJyxcbiAgICAgICAgICBbYnJlYWtwb2ludCh0aGVtZS5zY3JlZW4ubWQpXToge1xuICAgICAgICAgICAgcGFkZGluZzogYCR7dGhlbWUuc3BhY2luZ1s0XX0gMGAsXG4gICAgICAgICAgfSxcbiAgICAgICAgfSxcbiAgICAgICAgd2l0aEJvcmRlciAmJiB7XG4gICAgICAgICAgYm94U2hhZG93OiBgJHt0aGVtZS5jb2xvcnMuZ3JheVs0MDBdfSAwIDJweCAwIDBgLFxuICAgICAgICB9LFxuICAgICAgICB3aXRoU2hhZG93ICYmIHtcbiAgICAgICAgICBib3hTaGFkb3c6IGAwIDFweCA4cHggMCAke3RoZW1lLmNvbG9ycy5ncmF5WzMwMF19LFxuICAgICAgICAgIDAgMXB4IDNweCAwICR7dGhlbWUuY29sb3JzLmdyYXlbMTAwXX0sXG4gICAgICAgICAgMCAycHggM3B4IC0ycHggJHt0aGVtZS5jb2xvcnMuZ3JheVsyMDBdfWAsXG4gICAgICAgIH0sXG4gICAgICBdfVxuICAgICAgey4uLm90aGVyUHJvcHN9XG4gICAgPlxuICAgICAgPG5hdlxuICAgICAgICBjc3M9e3tcbiAgICAgICAgICBkaXNwbGF5OiAnZmxleCcsXG4gICAgICAgICAgYWxpZ25JdGVtczogJ2NlbnRlcicsXG4gICAgICAgICAganVzdGlmeUNvbnRlbnQ6ICdzcGFjZS1iZXR3ZWVuJyxcbiAgICAgICAgICBwYWRkaW5nOiBgMCAke3RoZW1lLnNwYWNpbmdbM119YCxcbiAgICAgICA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FBO0FBQUEsTUFHOUIsY0FBYztBQUFBLFFBQ1osV0FBVyxHQUFHLE1BQU0sT0FBTyxLQUFLO0FBQUE7QUFBQSxNQUVsQyxjQUFjO0FBQUEsUUFDWixXQUFXLGVBQWUsTUFBTSxPQUFPLEtBQUs7QUFBQSx3QkFDOUIsTUFBTSxPQUFPLEtBQUs7QUFBQSwyQkFDZixNQUFNLE9BQU8sS0FBSztBQUFBO0FBQUE7QUFBQSxPQUduQztBQUFBLEtBRUosc0NBQUMsT0FBRDtBQUFBLElBQ0UsS0FBSztBQUFBLE1BQ0gsU0FBUztBQUFBLE1BQ1QsWUFBWTtBQUFBLE1BQ1osZ0JBQWdCO0FBQUEsTUFDaEIsU0FBUyxLQUFLLE1BQU0sUUFBUTtBQUFBLE9BQzNCLDZCQUFXLE1BQU0sT0FBTyxNQUFNO0FBQUEsUUFDN0IsU0FBUyxLQUFLLE1BQU0sUUFBUTtBQUFBO0FBQUE7QUFBQSxLQUkvQjtBQUFBO0FBTVQsT0FBTyxZQUFZO0FBQUEsRUFDakIsWUFBWSwwQkFBVTtBQUFBLEVBQ3RCLFlBQVksMEJBQVU7QUFBQSxFQUN0QixVQUFVLDBCQUFVLEtBQUs7QUFBQTtBQUczQixJQUFPLGNBQVE7IiwKICAibmFtZXMiOiBbXQp9Cg== |
{ | ||
"name": "@labrnth/header", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Header navigation component.", | ||
@@ -5,0 +5,0 @@ "source": "./src/index.tsx", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13511