Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Venkat7 jds #149

Open
wants to merge 31 commits into
base: vjds-com
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
518c2ad
jds comp new request
venkatesh7-ui Aug 7, 2023
5aa6cbc
jds comp new request
venkatesh7-ui Aug 7, 2023
1a40b62
build files
venkatesh7-ui Aug 9, 2023
396594e
run build bundle
venkatesh7-ui Aug 11, 2023
b75b3f3
nudeg and taoster content class renamed
venkatesh7-ui Aug 21, 2023
5c77c10
nudeg and taoster content class renamed
venkatesh7-ui Aug 21, 2023
9ea57ea
side panel icons dynamically ipdated
venkatesh7-ui Aug 23, 2023
b9f300d
jds design fixing
venkatesh7-ui Aug 23, 2023
9b671e5
jds design fixing
venkatesh7-ui Aug 23, 2023
66b986c
UI changes
Aug 24, 2023
e144aad
space componets and heading color palatte added
venkatesh7-ui Aug 24, 2023
7f4c581
Merge pull request #2 from rahul360kumar/venkat7-jds
venkaats Aug 24, 2023
8560b85
space componets and heading color palatte added
venkatesh7-ui Aug 24, 2023
accb03d
bottomsheet
venkatesh7-ui Aug 24, 2023
ff89efb
UI fixes
Aug 24, 2023
977d370
Merge branch 'venkat7-jds' of https://github.com/venkaats/nitrozen-vu…
Aug 24, 2023
d56c816
jds
venkatesh7-ui Aug 24, 2023
ace1828
Merge pull request #4 from rahul360kumar/venkat7-jds
venkaats Aug 24, 2023
16233a2
Merge branch 'venkat7-jds' of https://github.com/venkaats/nitrozen-vu…
venkatesh7-ui Aug 24, 2023
1ff7836
component UI changes
Aug 24, 2023
c9c99d9
Merge pull request #5 from rahul360kumar/venkat7-jds
venkaats Aug 24, 2023
f79b428
jds
venkatesh7-ui Aug 24, 2023
607ef00
Merge branch 'venkat7-jds' of https://github.com/venkaats/nitrozen-vu…
venkatesh7-ui Aug 24, 2023
c82d72c
bnb onchnage colour issue fixed
venkatesh7-ui Aug 24, 2023
47dfdbd
component UI fix
Aug 24, 2023
72833ad
Merge branch 'venkat7-jds' of https://github.com/venkaats/nitrozen-vu…
Aug 24, 2023
b27a2bd
Merge pull request #6 from rahul360kumar/venkat7-jds
venkaats Aug 24, 2023
54e7385
jds fixing
venkatesh7-ui Aug 24, 2023
cab7f8b
bottomsheet button added
venkatesh7-ui Aug 25, 2023
a6f6700
jds ui fixed
venkatesh7-ui Aug 25, 2023
6e21164
toaster and nudge
venkatesh7-ui Sep 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,969 changes: 1,711 additions & 258 deletions dist/nitrozen.common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.common.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.css

Large diffs are not rendered by default.

1,963 changes: 1,708 additions & 255 deletions dist/nitrozen.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.umd.min.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/base/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
@import './typography.less';
@import './common.less';
@import './media.less';


77 changes: 77 additions & 0 deletions src/base/jds.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
@import './variable.less';

.jm-fc-black {
color: @ColorBlack;
}

.jm-fc-white {
color: @ColorWhite;
}

.jm-fc-primary-grey-40 {
color: @ColorSecondaryGrey40;
}

.jm-fc-primary-grey-60 {
color: @ColorSparkleGrey60;
}

.jm-fc-primary-grey-80 {
color: rgba(0, 0, 0, .65);
}

.jm-fc-primary-grey-100 {
color: @ColorSparkleGrey100;
}

.jm-fc-secondary-50 {
color: #e30513;
}

.jm-fc-primary-20 {
color: @ColorSparkle20;
}

.jm-fc-primary-40 {
color: @ColorSparkle40;
}

.jm-fc-primary-50 {
color: #0078ad;
}

.jm-fc-primary-60 {
color: @ColorSparkle60;
}

.jm-fc-primary-inverse {
color: @ColorWhite;
}

.jm-fc-light-feedback-success-50 {
color: @ColorFeedbackSuccess50;
}

.jm-fc-light-sparkle-60 {
color: #03753c;
}

.jm-fc-light-secondary-grey-100 {
color: @ColorPrimaryGrey100;
}

.jm-fc-light-feedback-error-80 {
color: @ColorFeedbackError80 ;
}

.jm-fc-light-feedback-error-50 {
color: @ColorFeedbackError50 ;
}

.jm-fc-light-feedback-warning-50 {
color: @ColorFeedbackWarning50;
}

.jm-fc-light-feedback-success-80 {
color: @ColorFeedbackSuccess80;
}
12 changes: 4 additions & 8 deletions src/components/NBadge/NBadge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ export default {
<style lang="less">
@import "./../../base/base.less";

.nitrozen-badge-text{
margin: 0 0.5rem;
}

.nitrozen-border-primary {
border: 0.1rem solid @PrimaryColor;
}
Expand Down Expand Up @@ -165,7 +161,7 @@ export default {

.nitrozen-badge {
height: 1.6rem;
padding: 0.4rem 0.8rem;
padding: 8px 16px;
display: flex;
justify-content: center;
align-items: center;
Expand Down Expand Up @@ -239,11 +235,11 @@ export default {
letter-spacing: -0.005em;
}
&.nitrozen-badge-medium {
font-size: @BaseFontSize + 4;
font-size: @BaseFontSize + 6;
}
&.nitrozen-badge-large {
font-size: @BaseFontSize + 8;
padding: 0.4rem 0.8rem;
font-size: @BaseFontSize + 14;
padding: 8px 24px;
line-height: 2.4rem;
letter-spacing: -0.005em;
}
Expand Down
87 changes: 87 additions & 0 deletions src/components/NBnb/NBnb.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<template>
<nav class="bottom-nav">
<a
v-for="(item, index) in items"
:key="index"
:href="item.href"
:aria-label="item['aria-label']"
@click="handleItemClick(item)"
:class="{ active: item.isActive }"
>
<div class="icon-wrapper">
<div v-html="item.icon"></div>
</div>
<div v-if="item.title" class="title">{{ item.title }}</div>
</a>
</nav>
</template>

<script>
export default {
name: "niotrozen-bottom-nav",
props: {
items: {
type: Array,
required: true,
},
},
methods: {
handleItemClick(item) {
this.items.forEach(navItem => {
navItem.isActive = navItem === item;
});

if (!item.disabled && item.onClick) {
item.onClick();
}
},
},
};
</script>

<style lang="less">
@import "../../../src/base/variable.less";

.bottom-nav {
display: flex;
justify-content: space-around;
background-color: @GreyColor;
padding: 16px 24px;
gap: 24px;
position: fixed;
bottom: 0;
width: 100%;
z-index: 1;
left: 0;
box-shadow: 0 4px 16px @Shadow;

a {
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none;
color: @TypographySecondaryColor;
&.active {
.icon-wrapper {
color: @DialogNegativeColor;
}
.title {
color: @BlackColor;
}
}
.icon-wrapper {
width: 24px;
height: 24px;
}
.title {
text-align: center;
font-size: 12px;
font-style: normal;
font-weight: 500;
line-height: 16px; /* 133.333% */
letter-spacing: -0.06px;
margin-top: 4px;
}
}
}
</style>
3 changes: 3 additions & 0 deletions src/components/NBnb/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import NBnb from './NBnb.vue';

export default NBnb;
Loading