mirror of
https://github.com/jambonz/next-static-site.git
synced 2025-12-19 04:47:44 +00:00
update jambonz-ui
This commit is contained in:
@@ -76,11 +76,11 @@ import { ButtonGroup, Button, Icon } from "jambonz-ui";
|
||||
function MyComponent() {
|
||||
return (
|
||||
<ButtonGroup className="pad">
|
||||
<Button mainStyle="pill">
|
||||
<Button mainStyle="hollow">
|
||||
<Icons.GitHub />
|
||||
<span>github.com/jambonz</span>
|
||||
</Button>
|
||||
<Button mainStyle="pill">
|
||||
<Button mainStyle="hollow">
|
||||
<Icons.GitHub />
|
||||
<span>github.com/drachtio</span>
|
||||
</Button>
|
||||
@@ -178,7 +178,7 @@ import { Icon } from "jambonz-ui";
|
||||
function MyComponent() {
|
||||
return (
|
||||
<>
|
||||
<Icon mainStyle="pill" subStyle="dark">
|
||||
<Icon mainStyle="hollow" subStyle="dark">
|
||||
<Icons.Heart />
|
||||
</Icon>
|
||||
<Link href="https://www.behance.net/gallery/60530395/Objectivity-Free-Font-Family">
|
||||
|
||||
14
package-lock.json
generated
14
package-lock.json
generated
@@ -10,7 +10,7 @@
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"jambonz-ui": "^0.0.15",
|
||||
"jambonz-ui": "^0.0.17",
|
||||
"nanoid": "^3.1.22",
|
||||
"next": "^12.1.4",
|
||||
"next-plugin-preact": "^3.0.6",
|
||||
@@ -3538,9 +3538,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/jambonz-ui": {
|
||||
"version": "0.0.15",
|
||||
"resolved": "https://registry.npmjs.org/jambonz-ui/-/jambonz-ui-0.0.15.tgz",
|
||||
"integrity": "sha512-86f+grcFGWsq0O44N//pJOE+0C7Z6uOekD+OqMjGqReMVT1axmPJ+2GgFIHsgweYu1MgO1e/t9zer11Mt41QaQ==",
|
||||
"version": "0.0.17",
|
||||
"resolved": "https://registry.npmjs.org/jambonz-ui/-/jambonz-ui-0.0.17.tgz",
|
||||
"integrity": "sha512-zu3gDhqKMFEhwyICppgLlA9EMpps9VmGX/O6QcRdK5joluejlbFggsfgE6rnIW7V1NaKsuGlm3rLDbfTnOByww==",
|
||||
"engines": {
|
||||
"node": ">= 14"
|
||||
},
|
||||
@@ -8613,9 +8613,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"jambonz-ui": {
|
||||
"version": "0.0.15",
|
||||
"resolved": "https://registry.npmjs.org/jambonz-ui/-/jambonz-ui-0.0.15.tgz",
|
||||
"integrity": "sha512-86f+grcFGWsq0O44N//pJOE+0C7Z6uOekD+OqMjGqReMVT1axmPJ+2GgFIHsgweYu1MgO1e/t9zer11Mt41QaQ==",
|
||||
"version": "0.0.17",
|
||||
"resolved": "https://registry.npmjs.org/jambonz-ui/-/jambonz-ui-0.0.17.tgz",
|
||||
"integrity": "sha512-zu3gDhqKMFEhwyICppgLlA9EMpps9VmGX/O6QcRdK5joluejlbFggsfgE6rnIW7V1NaKsuGlm3rLDbfTnOByww==",
|
||||
"requires": {}
|
||||
},
|
||||
"js-tokens": {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
],
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"jambonz-ui": "^0.0.15",
|
||||
"jambonz-ui": "^0.0.17",
|
||||
"nanoid": "^3.1.22",
|
||||
"next": "^12.1.4",
|
||||
"next-plugin-preact": "^3.0.6",
|
||||
|
||||
@@ -142,7 +142,7 @@ function BYO({data}) {
|
||||
{data.icons.map((icon) => {
|
||||
const SvgIcon = Icons[icon];
|
||||
return (
|
||||
<Icon key={nanoid()} mainStyle="fill">
|
||||
<Icon key={icon}>
|
||||
<SvgIcon />
|
||||
</Icon>
|
||||
);
|
||||
|
||||
@@ -21,7 +21,7 @@ function Regions({ data }) {
|
||||
return (
|
||||
<div key={nanoid()} className="wrap regions__wrap">
|
||||
<div className="regions__icon">
|
||||
<Icon subStyle={region.color} mainStyle="fill">
|
||||
<Icon subStyle={region.color}>
|
||||
<SvgIcon />
|
||||
</Icon>
|
||||
</div>
|
||||
|
||||
@@ -44,7 +44,7 @@ function NaviMobile({ active, handler, siteData }) {
|
||||
</Button>
|
||||
</div>
|
||||
<div className="navi__mobile__icon" onClick={handler}>
|
||||
<Icon mainStyle="fill" subStyle="white">
|
||||
<Icon subStyle="white">
|
||||
<Icons.X />
|
||||
</Icon>
|
||||
</div>
|
||||
@@ -101,7 +101,7 @@ export default function Navi({ siteData }) {
|
||||
})}
|
||||
</ul>
|
||||
<div className="navi__icon" onClick={handleNavi}>
|
||||
<Icon mainStyle="fill">
|
||||
<Icon>
|
||||
<Icons.Menu />
|
||||
</Icon>
|
||||
</div>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left: 3px solid ui-vars.$jambonz;
|
||||
border-left: 3px solid ui-vars.$dark;
|
||||
background-color: ui-vars.$grey-light;
|
||||
border-radius: 0.3em;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user