Skip to content

Commit

Permalink
Banner VQA (#203)
Browse files Browse the repository at this point in the history
* Banner VQA

* Publish

 - nucleus@0.15.0
 - @freshworks/badge@0.7.0
 - @freshworks/banner@0.10.0
 - @freshworks/button@0.11.0
 - @freshworks/core@0.7.0
 - @freshworks/datepicker@0.6.0
 - @freshworks/icon@0.13.0
 - @freshworks/inline-banner@0.10.0
 - @freshworks/modal@0.10.0
 - @freshworks/pagination@0.7.0
 - @freshworks/table@0.6.0
 - @freshworks/tabs@0.8.0
 - @freshworks/toast-message@0.11.0
 - @freshworks/toggle@0.8.0

* Publish

 - nucleus@0.15.1
 - @freshworks/badge@0.7.1
 - @freshworks/banner@0.10.1
 - @freshworks/button@0.11.1
 - @freshworks/core@0.7.1
 - @freshworks/datepicker@0.6.1
 - @freshworks/icon@0.13.1
 - @freshworks/inline-banner@0.10.1
 - @freshworks/modal@0.10.1
 - @freshworks/pagination@0.7.1
 - @freshworks/table@0.6.1
 - @freshworks/tabs@0.8.1
 - @freshworks/toast-message@0.11.1
 - @freshworks/toggle@0.8.1

Co-authored-by: Kanalveli <kanalveli.ramachandran@freshworks.com>
  • Loading branch information
anandfresh and kanalveli-ramachandran committed Aug 7, 2020
1 parent f6f1385 commit 76b1854
Show file tree
Hide file tree
Showing 33 changed files with 527 additions and 63 deletions.
42 changes: 42 additions & 0 deletions packages/@nucleus/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,48 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.15.1](https://github.com/freshdesk/nucleus/compare/nucleus@0.15.0...nucleus@0.15.1) (2020-08-07)

**Note:** Version bump only for package nucleus





# 0.15.0 (2020-08-06)


### Bug Fixes

* **button:** CSS code cleanup and enhancements ([#113](https://github.com/freshdesk/nucleus/issues/113)) ([2ea58af](https://github.com/freshdesk/nucleus/commit/2ea58afc6d1d68d685d87ecb8408b033885d63c2))
* button icon variant ([#128](https://github.com/freshdesk/nucleus/issues/128)) ([50b9644](https://github.com/freshdesk/nucleus/commit/50b9644b2becfa144d67ea57cba15a7179cc5e13))
* **button:** improvised styling ([#137](https://github.com/freshdesk/nucleus/issues/137)) ([6a56cb1](https://github.com/freshdesk/nucleus/commit/6a56cb19e749fe9106f0c2a66ed4bbfb3b91ecb9))
* **Inline-banner:** refactored yield ([#151](https://github.com/freshdesk/nucleus/issues/151)) ([0ce4615](https://github.com/freshdesk/nucleus/commit/0ce46152619aae09c5363aad06499d30c86d5336))
* **modal:** Fixes bugs for focus-trap and autofocus ([#148](https://github.com/freshdesk/nucleus/issues/148)) ([198ec6f](https://github.com/freshdesk/nucleus/commit/198ec6f25ddec0bcff6f5e97a38c507b2b181a0d))
* **tabs:** Removed padding from tabs panel ([#163](https://github.com/freshdesk/nucleus/issues/163)) ([6b56362](https://github.com/freshdesk/nucleus/commit/6b56362eff99ab6c26a5b6e8d94c1374da707a08))


### Features

* **Datepicker:** Implementation ([#179](https://github.com/freshdesk/nucleus/issues/179)) ([aa20813](https://github.com/freshdesk/nucleus/commit/aa208132c6d603ff044a2337af82022d0e7bc281))
* **docs:** Interactive playground component ([#140](https://github.com/freshdesk/nucleus/issues/140)) ([3daf9bf](https://github.com/freshdesk/nucleus/commit/3daf9bf83e81706e661a60f56790ab403c1bf617))
* **icon:** Implemented {{nucleus-icon}} ([#85](https://github.com/freshdesk/nucleus/issues/85)) ([a567468](https://github.com/freshdesk/nucleus/commit/a5674681147082f5f9790738cec1d632cac5debe))
* **icon:** variant property ([#118](https://github.com/freshdesk/nucleus/issues/118)) ([7905cac](https://github.com/freshdesk/nucleus/commit/7905cac643897074a1276e79dc10f35d6a3003c4))
* **Nucleus-Badge:** Implementation ([#177](https://github.com/freshdesk/nucleus/issues/177)) ([4b4de82](https://github.com/freshdesk/nucleus/commit/4b4de828b6e68a63194ff98e4ad08221ae1df535))
* **pagination:** updated mini pagination design ([db91ec2](https://github.com/freshdesk/nucleus/commit/db91ec2154faad3f916010a0743ad2a2f5b9c8ee))
* **table:** implementation ([#181](https://github.com/freshdesk/nucleus/issues/181)) ([5814124](https://github.com/freshdesk/nucleus/commit/58141248857d9f11f3ade4785ad068aa9bde9044))
* **tabs:** Implementation ([#138](https://github.com/freshdesk/nucleus/issues/138)) ([598e3e6](https://github.com/freshdesk/nucleus/commit/598e3e6e5a18efa8d8127c7c4165629c8e44cc92))
* **toggle:** Implementation ([#141](https://github.com/freshdesk/nucleus/issues/141)) ([d2ff164](https://github.com/freshdesk/nucleus/commit/d2ff164a65ebe5dc14a233748c45120c07a389be))


### Reverts

* Revert "chore: updated package versioning (#135)" (#144) ([940932d](https://github.com/freshdesk/nucleus/commit/940932d74ecb7764ef1022b7a17908ee08a8e1de)), closes [#135](https://github.com/freshdesk/nucleus/issues/135) [#144](https://github.com/freshdesk/nucleus/issues/144)





# 0.14.0 (2020-07-14)


Expand Down
26 changes: 13 additions & 13 deletions packages/@nucleus/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nucleus",
"private": true,
"version": "0.14.0",
"version": "0.15.1",
"description": "Umbrella package which holds the documentation",
"keywords": [
"ember-addon"
Expand All @@ -21,18 +21,18 @@
"test:dev": "COVERAGE=TRUE ember test --server -launch=false"
},
"dependencies": {
"@freshworks/badge": "^0.6.0",
"@freshworks/banner": "^0.9.0",
"@freshworks/button": "^0.10.0",
"@freshworks/datepicker": "^0.5.0",
"@freshworks/icon": "^0.12.0",
"@freshworks/inline-banner": "^0.9.0",
"@freshworks/modal": "^0.9.0",
"@freshworks/pagination": "^0.6.0",
"@freshworks/table": "^0.5.0",
"@freshworks/tabs": "^0.7.0",
"@freshworks/toast-message": "^0.10.0",
"@freshworks/toggle": "^0.7.0",
"@freshworks/badge": "^0.7.1",
"@freshworks/banner": "^0.10.1",
"@freshworks/button": "^0.11.1",
"@freshworks/datepicker": "^0.6.1",
"@freshworks/icon": "^0.13.1",
"@freshworks/inline-banner": "^0.10.1",
"@freshworks/modal": "^0.10.1",
"@freshworks/pagination": "^0.7.1",
"@freshworks/table": "^0.6.1",
"@freshworks/tabs": "^0.8.1",
"@freshworks/toast-message": "^0.11.1",
"@freshworks/toggle": "^0.8.1",
"ember-cli-autoprefixer": "^0.8.1",
"ember-cli-babel": "^7.11.1",
"ember-cli-htmlbars": "^4.0.0",
Expand Down
24 changes: 24 additions & 0 deletions packages/badge/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.7.1](https://github.com/freshdesk/nucleus/compare/@freshworks/badge@0.7.0...@freshworks/badge@0.7.1) (2020-08-07)

**Note:** Version bump only for package @freshworks/badge





# 0.7.0 (2020-08-06)


### Bug Fixes

* **Badge:** badge to support any text width ([#190](https://github.com/freshdesk/nucleus/issues/190)) ([0dbfeb5](https://github.com/freshdesk/nucleus/commit/0dbfeb5abb34fbf875bc9f6001d2bde558b3934a))


### Features

* **Nucleus-Badge:** Implementation ([#177](https://github.com/freshdesk/nucleus/issues/177)) ([4b4de82](https://github.com/freshdesk/nucleus/commit/4b4de828b6e68a63194ff98e4ad08221ae1df535))





# 0.6.0 (2020-07-14)


Expand Down
6 changes: 3 additions & 3 deletions packages/badge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@freshworks/badge",
"version": "0.6.0",
"version": "0.7.1",
"description": "Sample description",
"keywords": [
"ember-addon"
Expand All @@ -21,8 +21,8 @@
"test:dev": "COVERAGE=TRUE ember test --server -launch=false"
},
"dependencies": {
"@freshworks/core": "^0.6.0",
"@freshworks/icon": "^0.12.0",
"@freshworks/core": "^0.7.1",
"@freshworks/icon": "^0.13.1",
"ember-cli-babel": "^7.11.1",
"ember-cli-htmlbars": "^4.0.0",
"ember-cli-sass": "^10.0.0",
Expand Down
38 changes: 38 additions & 0 deletions packages/banner/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,44 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.10.1](https://github.com/freshdesk/nucleus/compare/@freshworks/banner@0.10.0...@freshworks/banner@0.10.1) (2020-08-07)

**Note:** Version bump only for package @freshworks/banner





# 0.10.0 (2020-08-06)


### Bug Fixes

* Changed Responsive design ([#98](https://github.com/freshdesk/nucleus/issues/98)) ([2623f7a](https://github.com/freshdesk/nucleus/commit/2623f7a385d0d9f06c12f2366835e342a3937baf))
* **banner:** system alerts is not responsive ([#122](https://github.com/freshdesk/nucleus/issues/122)) ([b8ceffa](https://github.com/freshdesk/nucleus/commit/b8ceffaedb724da9d98ad7bad9cd3f4a7308934b))
* **banner:** system alerts missing bottom padding on scroll ([#121](https://github.com/freshdesk/nucleus/issues/121)) ([afb7463](https://github.com/freshdesk/nucleus/commit/afb746373b5cdf7138d5692ba650d7b760ef7f72))
* **button:** improvised styling ([#137](https://github.com/freshdesk/nucleus/issues/137)) ([6a56cb1](https://github.com/freshdesk/nucleus/commit/6a56cb19e749fe9106f0c2a66ed4bbfb3b91ecb9))
* **nucleus:** removed classic decorator dependency ([#87](https://github.com/freshdesk/nucleus/issues/87)) ([c73753a](https://github.com/freshdesk/nucleus/commit/c73753a7c7566be81a5d7caf9376e3f61ab8ad2b))
* **packages:** refactored dependencies ([#83](https://github.com/freshdesk/nucleus/issues/83)) ([cb1dc9f](https://github.com/freshdesk/nucleus/commit/cb1dc9f0e9c3f53cfdd78a072e92cc454be17c60))
* z-index maintenability ([#194](https://github.com/freshdesk/nucleus/issues/194)) ([468926e](https://github.com/freshdesk/nucleus/commit/468926efbabe73be602f89ccaaafa7e66e6f929e))


### Features

* Integrated Visual Regression with ember-backstop ([#94](https://github.com/freshdesk/nucleus/issues/94)) ([2613dca](https://github.com/freshdesk/nucleus/commit/2613dca9f32f647eb07cbece58bf55a4398beb35))
* **banner:** additional props for banner localisation ([#103](https://github.com/freshdesk/nucleus/issues/103)) ([f816c32](https://github.com/freshdesk/nucleus/commit/f816c326d9bd0461a6308116885dd5bb23e687bf))
* **icon:** Implemented {{nucleus-icon}} ([#85](https://github.com/freshdesk/nucleus/issues/85)) ([a567468](https://github.com/freshdesk/nucleus/commit/a5674681147082f5f9790738cec1d632cac5debe))
* **icon:** variant property ([#118](https://github.com/freshdesk/nucleus/issues/118)) ([7905cac](https://github.com/freshdesk/nucleus/commit/7905cac643897074a1276e79dc10f35d6a3003c4))


### Reverts

* Revert "chore: updated package versioning (#135)" (#144) ([940932d](https://github.com/freshdesk/nucleus/commit/940932d74ecb7764ef1022b7a17908ee08a8e1de)), closes [#135](https://github.com/freshdesk/nucleus/issues/135) [#144](https://github.com/freshdesk/nucleus/issues/144)





# 0.9.0 (2020-07-14)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
overflow: hidden;
text-overflow: ellipsis;
}

&__bullet {
padding-left: 22px;

li {
list-style: disc;
}
}
}

.nucleus-banner--mini {
Expand Down
11 changes: 10 additions & 1 deletion packages/banner/addon/styles/components/_nucleus-banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

&__main {
display: flex;
max-width: 75%;
max-width: 85%;
white-space: nowrap;
overflow: hidden;
font-size: $font-size-14;
Expand All @@ -30,6 +30,15 @@
padding-left: 8px;
position: relative;

.stack-title {
margin-left: 26px;
}

.stack-icon {
float: left;
margin: 2px 0 0 2px;
}

.more-card {
position: absolute;
top: 40px;
Expand Down
5 changes: 3 additions & 2 deletions packages/banner/addon/templates/components/nucleus-banner.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
{{#if _isShowMore}}
{{#transition-group transitionClass="fade"}}
<div class="more-card">
<h5>{{stackTitle}}</h5>
{{nucleus-icon name="nucleus-circle-warning" variant="warning" size="medium" customClass="stack-icon"}}
<h5 class="stack-title">{{stackTitle}}</h5>
<ul class="nucleus-banners">
{{#each stackedItems as |hiddenItem|}}
<li class="nucleus-banner--mini nucleus-banner--{{hiddenItem.type}}">
{{nucleus-banner/item item=hiddenItem onDelete=(action "deleteItem")}}
{{nucleus-banner/item miniBanner=true item=hiddenItem onDelete=(action "deleteItem")}}
</li>
{{/each}}
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
{{#if item.componentName}}
{{component item.componentName props=item.componentProps}}
{{else}}
<div class="nucleus-banner-item__icon">
{{nucleus-icon name=bannerIcon size="medium" variant=item.type}}
</div>
{{#if miniBanner}}
<ul class="nucleus-banner-item__bullet">
<li></li>
</ul>
{{else}}
<div class="nucleus-banner-item__icon">
{{nucleus-icon name=bannerIcon size="medium" variant=item.type}}
</div>
{{/if}}
<div class="nucleus-banner-item__content">
{{item.title}}
{{#if item.content}}
Expand Down
8 changes: 4 additions & 4 deletions packages/banner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@freshworks/banner",
"version": "0.9.0",
"version": "0.10.1",
"description": "Banner component in Nucleus",
"keywords": [
"ember-addon"
Expand All @@ -21,9 +21,9 @@
"test:dev": "ember test --server -launch=false"
},
"dependencies": {
"@freshworks/button": "^0.10.0",
"@freshworks/core": "^0.6.0",
"@freshworks/icon": "^0.12.0",
"@freshworks/button": "^0.11.1",
"@freshworks/core": "^0.7.1",
"@freshworks/icon": "^0.13.1",
"ember-cli-babel": "^7.11.1",
"ember-cli-htmlbars": "^4.0.0",
"ember-cli-sass": "^10.0.0",
Expand Down
39 changes: 39 additions & 0 deletions packages/button/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,45 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.11.1](https://github.com/freshdesk/nucleus/compare/@freshworks/button@0.11.0...@freshworks/button@0.11.1) (2020-08-07)

**Note:** Version bump only for package @freshworks/button





# 0.11.0 (2020-08-06)


### Bug Fixes

* button icon variant ([#128](https://github.com/freshdesk/nucleus/issues/128)) ([50b9644](https://github.com/freshdesk/nucleus/commit/50b9644b2becfa144d67ea57cba15a7179cc5e13))
* modal & button bugs ([#117](https://github.com/freshdesk/nucleus/issues/117)) ([dba02c7](https://github.com/freshdesk/nucleus/commit/dba02c7bd9ce2588848b1d8ca9c67e0e6a451a8d))
* **button:** block btn issue ([#147](https://github.com/freshdesk/nucleus/issues/147)) ([3cf8a05](https://github.com/freshdesk/nucleus/commit/3cf8a054917c5e4fb122552ace84015a721e908f))
* **button:** CSS code cleanup and enhancements ([#113](https://github.com/freshdesk/nucleus/issues/113)) ([2ea58af](https://github.com/freshdesk/nucleus/commit/2ea58afc6d1d68d685d87ecb8408b033885d63c2))
* **button:** improvised styling ([#137](https://github.com/freshdesk/nucleus/issues/137)) ([6a56cb1](https://github.com/freshdesk/nucleus/commit/6a56cb19e749fe9106f0c2a66ed4bbfb3b91ecb9))
* **button:** Patch for IE 11 helpkit-ember buttons ([#134](https://github.com/freshdesk/nucleus/issues/134)) ([0d7be8a](https://github.com/freshdesk/nucleus/commit/0d7be8a7408d7d3324579cfbf26e5df1c452c399))
* **nucleus:** removed classic decorator dependency ([#87](https://github.com/freshdesk/nucleus/issues/87)) ([c73753a](https://github.com/freshdesk/nucleus/commit/c73753a7c7566be81a5d7caf9376e3f61ab8ad2b))
* **packages:** refactored dependencies ([#83](https://github.com/freshdesk/nucleus/issues/83)) ([cb1dc9f](https://github.com/freshdesk/nucleus/commit/cb1dc9f0e9c3f53cfdd78a072e92cc454be17c60))


### Features

* Integrated Visual Regression with ember-backstop ([#94](https://github.com/freshdesk/nucleus/issues/94)) ([2613dca](https://github.com/freshdesk/nucleus/commit/2613dca9f32f647eb07cbece58bf55a4398beb35))
* **docs:** Interactive playground component ([#140](https://github.com/freshdesk/nucleus/issues/140)) ([3daf9bf](https://github.com/freshdesk/nucleus/commit/3daf9bf83e81706e661a60f56790ab403c1bf617))
* **icon:** Implemented {{nucleus-icon}} ([#85](https://github.com/freshdesk/nucleus/issues/85)) ([a567468](https://github.com/freshdesk/nucleus/commit/a5674681147082f5f9790738cec1d632cac5debe))
* **table:** implementation ([#181](https://github.com/freshdesk/nucleus/issues/181)) ([5814124](https://github.com/freshdesk/nucleus/commit/58141248857d9f11f3ade4785ad068aa9bde9044))


### Reverts

* Revert "chore: updated package versioning (#135)" (#144) ([940932d](https://github.com/freshdesk/nucleus/commit/940932d74ecb7764ef1022b7a17908ee08a8e1de)), closes [#135](https://github.com/freshdesk/nucleus/issues/135) [#144](https://github.com/freshdesk/nucleus/issues/144)





# 0.10.0 (2020-07-14)


Expand Down
6 changes: 3 additions & 3 deletions packages/button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@freshworks/button",
"version": "0.10.0",
"version": "0.11.1",
"description": "Button component in Nucleus",
"keywords": [
"ember-addon"
Expand All @@ -21,8 +21,8 @@
"test:dev": "COVERAGE=TRUE ember test --server -launch=false"
},
"dependencies": {
"@freshworks/core": "^0.6.0",
"@freshworks/icon": "^0.12.0",
"@freshworks/core": "^0.7.1",
"@freshworks/icon": "^0.13.1",
"ember-cli-babel": "^7.11.1",
"ember-cli-htmlbars": "^4.0.0",
"ember-cli-sass": "^10.0.0",
Expand Down
29 changes: 29 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,35 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.7.1](https://github.com/freshdesk/nucleus/compare/@freshworks/core@0.7.0...@freshworks/core@0.7.1) (2020-08-07)

**Note:** Version bump only for package @freshworks/core





# 0.7.0 (2020-08-06)


### Bug Fixes

* Changed Responsive design ([#98](https://github.com/freshdesk/nucleus/issues/98)) ([2623f7a](https://github.com/freshdesk/nucleus/commit/2623f7a385d0d9f06c12f2366835e342a3937baf))
* **modal:** Fixes bugs for focus-trap and autofocus ([#148](https://github.com/freshdesk/nucleus/issues/148)) ([198ec6f](https://github.com/freshdesk/nucleus/commit/198ec6f25ddec0bcff6f5e97a38c507b2b181a0d))
* **packages:** refactored dependencies ([#83](https://github.com/freshdesk/nucleus/issues/83)) ([cb1dc9f](https://github.com/freshdesk/nucleus/commit/cb1dc9f0e9c3f53cfdd78a072e92cc454be17c60))
* **toast-message:** Design review updates ([#155](https://github.com/freshdesk/nucleus/issues/155)) ([30742b5](https://github.com/freshdesk/nucleus/commit/30742b595d932ff6c33524f89990a8bedc1a91a5))
* z-index maintenability ([#194](https://github.com/freshdesk/nucleus/issues/194)) ([468926e](https://github.com/freshdesk/nucleus/commit/468926efbabe73be602f89ccaaafa7e66e6f929e))


### Features

* **Datepicker:** Implementation ([#179](https://github.com/freshdesk/nucleus/issues/179)) ([aa20813](https://github.com/freshdesk/nucleus/commit/aa208132c6d603ff044a2337af82022d0e7bc281))
* **toggle:** Implementation ([#141](https://github.com/freshdesk/nucleus/issues/141)) ([d2ff164](https://github.com/freshdesk/nucleus/commit/d2ff164a65ebe5dc14a233748c45120c07a389be))





# 0.6.0 (2020-07-14)


Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@freshworks/core",
"version": "0.6.0",
"version": "0.7.1",
"description": "Nucleus::Core - SCSS styles & helpers",
"keywords": [
"ember-addon"
Expand Down
Loading

0 comments on commit 76b1854

Please sign in to comment.