@purr-react-styled-components/components.navbar 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("clsx"),t=require("styled-components"),i=()=>t.css(["display:flex;flex:1;justify-content:center;align-items:center;height:100%;"]),n={Container:t.nav.withConfig({displayName:"_style__Container",componentId:"sc-1iryjg8-0"})(["position:fixed;top:0;left:0;right:0;display:flex;justify-content:space-around;align-items:center;height:56px;background-color:#121212;"]),Title:t.span.withConfig({displayName:"_style__Title",componentId:"sc-1iryjg8-1"})(["",";"],i),LeftButton:t.span.withConfig({displayName:"_style__LeftButton",componentId:"sc-1iryjg8-2"})(["",";"],i),RightButton:t.span.withConfig({displayName:"_style__RightButton",componentId:"sc-1iryjg8-3"})(["",";"],i)},u=({title:s,leftButton:a,rightButton:o,className:r,htmlAttributes:l})=>e.jsxs(n.Container,{...l,className:c("navbar",r),children:[e.jsx(n.LeftButton,{className:"navbar__button navbar__button--left",children:a}),e.jsx(n.Title,{className:"navbar__title",children:s}),e.jsx(n.RightButton,{className:"navbar__button navbar__button--right",children:o})]});exports.Navbar=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("clsx"),t=require("styled-components"),i=()=>t.css(["display:flex;flex:1;justify-content:center;align-items:center;height:100%;"]),n={Container:t.nav.withConfig({displayName:"_style__Container",componentId:"sc-1iryjg8-0"})(["position:fixed;top:0;left:0;right:0;display:flex;justify-content:space-around;align-items:center;height:56px;"]),Title:t.span.withConfig({displayName:"_style__Title",componentId:"sc-1iryjg8-1"})(["",";"],i),LeftButton:t.span.withConfig({displayName:"_style__LeftButton",componentId:"sc-1iryjg8-2"})(["",";"],i),RightButton:t.span.withConfig({displayName:"_style__RightButton",componentId:"sc-1iryjg8-3"})(["",";"],i)},u=({title:s,leftButton:a,rightButton:o,className:r,htmlAttributes:l})=>e.jsxs(n.Container,{...l,className:c("navbar",r),children:[e.jsx(n.LeftButton,{className:"navbar__button navbar__button--left",children:a}),e.jsx(n.Title,{className:"navbar__title",children:s}),e.jsx(n.RightButton,{className:"navbar__button navbar__button--right",children:o})]});exports.Navbar=u;
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ const i = () => p(["display:flex;flex:1;justify-content:center;align-items:cente
5
5
  Container: t.nav.withConfig({
6
6
  displayName: "_style__Container",
7
7
  componentId: "sc-1iryjg8-0"
8
- })(["position:fixed;top:0;left:0;right:0;display:flex;justify-content:space-around;align-items:center;height:56px;background-color:#121212;"]),
8
+ })(["position:fixed;top:0;left:0;right:0;display:flex;justify-content:space-around;align-items:center;height:56px;"]),
9
9
  Title: t.span.withConfig({
10
10
  displayName: "_style__Title",
11
11
  componentId: "sc-1iryjg8-1"
@@ -19,14 +19,14 @@ const i = () => p(["display:flex;flex:1;justify-content:center;align-items:cente
19
19
  componentId: "sc-1iryjg8-3"
20
20
  })(["", ";"], i)
21
21
  }, y = ({
22
- title: o,
23
- leftButton: a,
22
+ title: a,
23
+ leftButton: o,
24
24
  rightButton: s,
25
25
  className: r,
26
26
  htmlAttributes: l
27
27
  }) => /* @__PURE__ */ c(n.Container, { ...l, className: _("navbar", r), children: [
28
- /* @__PURE__ */ e(n.LeftButton, { className: "navbar__button navbar__button--left", children: a }),
29
- /* @__PURE__ */ e(n.Title, { className: "navbar__title", children: o }),
28
+ /* @__PURE__ */ e(n.LeftButton, { className: "navbar__button navbar__button--left", children: o }),
29
+ /* @__PURE__ */ e(n.Title, { className: "navbar__title", children: a }),
30
30
  /* @__PURE__ */ e(n.RightButton, { className: "navbar__button navbar__button--right", children: s })
31
31
  ] });
32
32
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purr-react-styled-components/components.navbar",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -24,10 +24,10 @@
24
24
  "typescript": "*",
25
25
  "react": "*",
26
26
  "clsx": "*",
27
- "@purr-core/utils.definitions": "0.0.8"
27
+ "@purr-core/utils.definitions": "0.0.9"
28
28
  },
29
29
  "devDependencies": {
30
- "@purr-react-styled-components/components.button": "0.0.5"
30
+ "@purr-react-styled-components/components.button": "0.0.6"
31
31
  },
32
32
  "author": "@DinhThienPhuc",
33
33
  "license": "ISC",