Skip to content

Commit

Permalink
Merge branch 'master' into viv-306-icon-button
Browse files Browse the repository at this point in the history
  • Loading branch information
gullerya authored Dec 16, 2020
2 parents 1ce01ff + e93e71c commit 8a52896
Show file tree
Hide file tree
Showing 104 changed files with 739 additions and 196 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deploy-showcase-pr-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,22 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_VIVID_DEMO_PRS_SECRET }}

steps:
- name: Add PR deploy URL comment
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' }}
env:
URL: ${{ github.event.pull_request.comments_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
curl -X POST $URL -H "Content-Type: application/json" -H "Authorization: token $GITHUB_TOKEN" \
--data '{ "body": ":rocket:\n\nLatest __successful__ build of the PR deployed [here](https://${{ secrets.TMP_PR_DEPLOYMENT_BASE_URL }}/${{ github.event.number }}/index.html).\n\n:rocket:" }'
- name: Checkout
uses: actions/checkout@v2

- name: Setup NodeJS 12
- name: Setup NodeJS 14
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14

- name: Install yarn
run: npm install -g yarn
Expand All @@ -31,7 +40,7 @@ jobs:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
**\node_modules
key: vivid-cache-yarn-${{ hashFiles('**/yarn.lock') }}
key: vivid-cache-yarn-${{ hashFiles('**/package.json') }}
restore-keys: |
vivid-cache-yarn-
Expand All @@ -47,12 +56,3 @@ jobs:

- name: Invalidate CloudFront distribution root object's cache
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_VIVID_DEMO_PRS_DISTRIBUTION }} --paths "/${{ github.event.number }}/*"

- name: Add PR deploy URL comment
# if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' }}
env:
URL: ${{ github.event.pull_request.comments_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
curl -X POST $URL -H "Content-Type: application/json" -H "Authorization: token $GITHUB_TOKEN" \
--data '{ "body": "PR showcase deployed [here](https://${{ secrets.TMP_PR_DEPLOYMENT_BASE_URL }}/${{ github.event.number }}/index.html)." }'
2 changes: 1 addition & 1 deletion .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: yarn compile

- name: Build CDN icon resolver
run: yarn build:icon-resolver --resolveStrategy=cdn --awsAccessKey=${{ secrets.AWS_VIVID_DEMO_PROD_ACCESS }} --awsAccessSecret=${{ secrets.AWS_VIVID_DEMO_PROD_SECRET }} --awsBucketName=vivid-icons-prod --awsBaseUrl=https://d3fzvwfxu7izti.cloudfront.net
run: yarn build:icon-resolver --resolveStrategy=cdn --awsAccessKey=${{ secrets.AWS_VIVID_DEMO_PROD_ACCESS }} --awsAccessSecret=${{ secrets.AWS_VIVID_DEMO_PROD_SECRET }} --awsBucketName=vivid-icons-prod --awsBaseUrl=https://icons.resources.vonage.com

- name: Publish components
run: |
Expand Down
4 changes: 2 additions & 2 deletions .storybook/preview-body.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
}
</style>
<div class="change-scheme-component">
<vwc-scheme-select></vwc-scheme-select>
</div>
<vwc-theme-switch></vwc-theme-switch>
</div>
2 changes: 1 addition & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '@vonage/vwc-scheme-select';
import '@vonage/vwc-theme-switch';
import '@storybook/addon-console';
import { addParameters, setCustomElements } from '@storybook/web-components';
import customElements from '../custom-elements.json';
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.17.1](https://github.com/Vonage/vivid/compare/v0.17.0...v0.17.1) (2020-12-15)


### Features

* **connotation:** adding support for warning connotation ([#488](https://github.com/Vonage/vivid/issues/488)) ([245a9b9](https://github.com/Vonage/vivid/commit/245a9b9c095b2af4f3d9a088d0c6219370199c2d))
* **icon:** 4 new chat icons ([#494](https://github.com/Vonage/vivid/issues/494)) ([30b6e30](https://github.com/Vonage/vivid/commit/30b6e3089c2ffdb29d15ee5065418c6a1ab348a6))
* **icon:** added global memoization for previously resolved icons ([0ade404](https://github.com/Vonage/vivid/commit/0ade40416d5f854dd8bc95166b2a5fca82e37da7))
* **infra:** define domain for icon resources ([1193aa0](https://github.com/Vonage/vivid/commit/1193aa023ef22ae5bb7397c587c20932fc692586))
* **sass:** relocated template file [https://jira.vonage.com/browse/VIV-307] ([#487](https://github.com/Vonage/vivid/issues/487)) ([5058820](https://github.com/Vonage/vivid/commit/50588201a6d2cb3be3f4b8310187837a52a38b2e))
* **vwc-inline:** new component to handle inline layouts ([9b03d6b](https://github.com/Vonage/vivid/commit/9b03d6b3171c891985a10c77edfc2f78b78be68d))





# [0.17.0](https://github.com/Vonage/vivid/compare/v0.16.2...v0.17.0) (2020-12-06)


Expand Down
10 changes: 10 additions & 0 deletions __snapshots__/inline.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# `inline`

#### `should have internal contents`

```html
<slot>
</slot>

```

4 changes: 4 additions & 0 deletions common/context/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.17.1](https://github.com/vonage/vivid/compare/v0.17.0...v0.17.1) (2020-12-15)



# [0.17.0](https://github.com/vonage/vivid/compare/v0.16.2...v0.17.0) (2020-12-06)


Expand Down
10 changes: 5 additions & 5 deletions common/context/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vonage/vvd-context",
"version": "0.17.0",
"version": "0.17.1",
"description": "> TODO: description",
"homepage": "https://github.com/Vonage/vivid/tree/master/components/context#readme",
"license": "ISC",
Expand All @@ -24,13 +24,13 @@
"url": "https://github.com/Vonage/vivid/issues"
},
"dependencies": {
"@vonage/vvd-core": "^0.17.0",
"@vonage/vvd-core": "^0.17.1",
"lit-element": "^2.4.0",
"tslib": "^2.0.3"
},
"devDependencies": {
"@vonage/vvd-design-tokens": "^0.17.0",
"@vonage/vvd-foundation": "^0.17.0",
"@vonage/vvd-typography": "^0.17.0"
"@vonage/vvd-design-tokens": "^0.17.1",
"@vonage/vvd-foundation": "^0.17.1",
"@vonage/vvd-typography": "^0.17.1"
}
}
4 changes: 4 additions & 0 deletions common/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.17.1](https://github.com/vonage/vivid/compare/v0.17.0...v0.17.1) (2020-12-15)



# [0.17.0](https://github.com/vonage/vivid/compare/v0.16.2...v0.17.0) (2020-12-06)


Expand Down
6 changes: 3 additions & 3 deletions common/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vonage/vvd-core",
"version": "0.17.0",
"version": "0.17.1",
"description": "> TODO: description",
"author": "yinonov <[email protected]>",
"homepage": "https://github.com/Vonage/vivid/tree/master/components/core#readme",
Expand All @@ -24,8 +24,8 @@
"url": "https://github.com/Vonage/vivid/issues"
},
"dependencies": {
"@vonage/vvd-fonts": "^0.17.0",
"@vonage/vvd-scheme": "^0.17.0",
"@vonage/vvd-fonts": "^0.17.1",
"@vonage/vvd-scheme": "^0.17.1",
"tslib": "^2.0.3"
}
}
9 changes: 9 additions & 0 deletions common/design-tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [0.17.1](https://github.com/vonage/vivid/compare/v0.17.0...v0.17.1) (2020-12-15)


### Features

* **connotation:** adding support for warning connotation ([#488](https://github.com/vonage/vivid/issues/488)) ([245a9b9](https://github.com/vonage/vivid/commit/245a9b9c095b2af4f3d9a088d0c6219370199c2d))



# [0.17.0](https://github.com/vonage/vivid/compare/v0.16.2...v0.17.0) (2020-12-06)


Expand Down
2 changes: 1 addition & 1 deletion common/design-tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vonage/vvd-design-tokens",
"version": "0.17.0",
"version": "0.17.1",
"description": "Vivid Design Tokens Builder",
"homepage": "https://github.com/Vonage/vivid/tree/master/common/design-tokens#readme",
"license": "ISC",
Expand Down
4 changes: 4 additions & 0 deletions common/fonts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.17.1](https://github.com/vonage/vivid/compare/v0.17.0...v0.17.1) (2020-12-15)



# [0.17.0](https://github.com/vonage/vivid/compare/v0.16.2...v0.17.0) (2020-12-06)


Expand Down
4 changes: 2 additions & 2 deletions common/fonts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vonage/vvd-fonts",
"version": "0.17.0",
"version": "0.17.1",
"description": "Vivid fonts initialisation service",
"homepage": "https://github.com/Vonage/vivid/tree/master/common/fonts",
"license": "ISC",
Expand All @@ -27,7 +27,7 @@
"tslib": "^2.0.3"
},
"devDependencies": {
"@vonage/vvd-foundation": "^0.17.0",
"@vonage/vvd-foundation": "^0.17.1",
"fs-extra": "^9.0.1",
"lit-element": "^2.4.0"
}
Expand Down
2 changes: 1 addition & 1 deletion common/fonts/src/vvd-fonts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default Object.freeze({

const READY_PROMISE_TIMEOUT = 12000,
FONTS_BASE_URL_TOKEN = 'FONTS_BASE_URL',
CDN_BASE_URL = '//dpnf5z0hinc7q.cloudfront.net/fonts/v1';
CDN_BASE_URL = '//fonts.resources.vonage.com/fonts/v1';

let INIT_PROMISE: Promise<Record<string, unknown>> | null = null;

Expand Down
9 changes: 9 additions & 0 deletions common/foundation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [0.17.1](https://github.com/vonage/vivid/compare/v0.17.0...v0.17.1) (2020-12-15)


### Features

* **connotation:** adding support for warning connotation ([#488](https://github.com/vonage/vivid/issues/488)) ([245a9b9](https://github.com/vonage/vivid/commit/245a9b9c095b2af4f3d9a088d0c6219370199c2d))



# [0.17.0](https://github.com/vonage/vivid/compare/v0.16.2...v0.17.0) (2020-12-06)


Expand Down
4 changes: 2 additions & 2 deletions common/foundation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vonage/vvd-foundation",
"version": "0.17.0",
"version": "0.17.1",
"description": "internal package to hold constants, definitions and primitives to be used in the rest of Vivid ecosystem",
"homepage": "https://github.com/Vonage/vivid/tree/master/components/foundation#readme",
"license": "ISC",
Expand All @@ -26,6 +26,6 @@
"tslib": "^2.0.3"
},
"devDependencies": {
"@vonage/vvd-design-tokens": "^0.17.0"
"@vonage/vvd-design-tokens": "^0.17.1"
}
}
6 changes: 6 additions & 0 deletions common/foundation/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ export enum Shape {
Pill = 'pill',
}

export enum Size {
Small = 'sm',
Medium = 'md',
Large = 'lg',
}

/* eslint-disable no-shadow */
export enum Layout {
Text = 'text',
Expand Down
4 changes: 4 additions & 0 deletions common/scheme/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.17.1](https://github.com/vonage/vivid/compare/v0.17.0...v0.17.1) (2020-12-15)



# [0.17.0](https://github.com/vonage/vivid/compare/v0.16.2...v0.17.0) (2020-12-06)


Expand Down
4 changes: 2 additions & 2 deletions common/scheme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vonage/vvd-scheme",
"version": "0.17.0",
"version": "0.17.1",
"description": "Vivid scheme management service",
"author": "yinonov <[email protected]>",
"homepage": "https://github.com/Vonage/vivid/tree/master/components/scheme#readme",
Expand All @@ -23,7 +23,7 @@
"tslib": "^2.0.3"
},
"devDependencies": {
"@vonage/vvd-design-tokens": "^0.17.0",
"@vonage/vvd-design-tokens": "^0.17.1",
"lit-element": "^2.4.0"
}
}
4 changes: 4 additions & 0 deletions common/style-coupling/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.17.1](https://github.com/vonage/vivid/compare/v0.17.0...v0.17.1) (2020-12-15)



# [0.17.0](https://github.com/vonage/vivid/compare/v0.16.2...v0.17.0) (2020-12-06)


Expand Down
6 changes: 3 additions & 3 deletions common/style-coupling/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vonage/vvd-style-coupling",
"version": "0.17.0",
"version": "0.17.1",
"description": "> TODO: description",
"author": "yinonov <[email protected]>",
"homepage": "https://github.com/Vonage/vivid/tree/master/components/style-coupling#readme",
Expand All @@ -22,8 +22,8 @@
"tslib": "^2.0.3"
},
"devDependencies": {
"@vonage/vvd-design-tokens": "^0.17.0",
"@vonage/vvd-foundation": "^0.17.0",
"@vonage/vvd-design-tokens": "^0.17.1",
"@vonage/vvd-foundation": "^0.17.1",
"lit-element": "^2.4.0"
}
}
4 changes: 4 additions & 0 deletions common/typography/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.17.1](https://github.com/vonage/vivid/compare/v0.17.0...v0.17.1) (2020-12-15)



# [0.17.0](https://github.com/vonage/vivid/compare/v0.16.2...v0.17.0) (2020-12-06)


Expand Down
4 changes: 2 additions & 2 deletions common/typography/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vonage/vvd-typography",
"version": "0.17.0",
"version": "0.17.1",
"description": "> TODO: description",
"author": "yinonov <[email protected]>",
"homepage": "https://github.com/Vonage/vivid/tree/master/components/typography#readme",
Expand All @@ -17,6 +17,6 @@
"url": "https://github.com/Vonage/vivid/issues"
},
"devDependencies": {
"@vonage/vvd-design-tokens": "^0.17.0"
"@vonage/vvd-design-tokens": "^0.17.1"
}
}
4 changes: 4 additions & 0 deletions components/audio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.17.1](https://github.com/vonage/vivid/compare/v0.17.0...v0.17.1) (2020-12-15)



# [0.17.0](https://github.com/vonage/vivid/compare/v0.16.2...v0.17.0) (2020-12-06)


Expand Down
4 changes: 2 additions & 2 deletions components/audio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vonage/vwc-audio",
"version": "0.17.0",
"version": "0.17.1",
"description": "Plays audio files",
"homepage": "https://github.com/Vonage/vivid/tree/master/components/audio#readme",
"license": "ISC",
Expand All @@ -23,7 +23,7 @@
},
"dependencies": {
"@types/kefir": "^3.8.5",
"@vonage/vwc-media-controller": "^0.17.0",
"@vonage/vwc-media-controller": "^0.17.1",
"kefir": "^3.8.7"
}
}
10 changes: 10 additions & 0 deletions components/badge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## [0.17.1](https://github.com/vonage/vivid/compare/v0.17.0...v0.17.1) (2020-12-15)


### Features

* **connotation:** adding support for warning connotation ([#488](https://github.com/vonage/vivid/issues/488)) ([245a9b9](https://github.com/vonage/vivid/commit/245a9b9c095b2af4f3d9a088d0c6219370199c2d))
* **vwc-inline:** new component to handle inline layouts ([9b03d6b](https://github.com/vonage/vivid/commit/9b03d6b3171c891985a10c77edfc2f78b78be68d))



# [0.17.0](https://github.com/vonage/vivid/compare/v0.16.2...v0.17.0) (2020-12-06)


Expand Down
Loading

0 comments on commit 8a52896

Please sign in to comment.