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

fix(card): integrate elevation #1273

Merged
merged 21 commits into from Apr 24, 2022
Merged

fix(card): integrate elevation #1273

merged 21 commits into from Apr 24, 2022

Conversation

rachelbt
Copy link
Contributor

@rachelbt rachelbt commented Apr 5, 2022

updated the style as in vivid-3:
Vonage/vivid-3#268

added hight property to match the elevation inside card

@github-actions
Copy link

github-actions bot commented Apr 5, 2022

🚀

Latest successful build of the PR deployed here.

🚀

@rachelbt rachelbt linked an issue Apr 5, 2022 that may be closed by this pull request

declare global {
interface HTMLElementTagNameMap {
'vwc-card': VWCCard;
}
}

const elevationSets = ['0' , '2', '4', '8', '12' , '16' , '24'];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be imported from elevation

Copy link
Contributor Author

@rachelbt rachelbt Apr 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are none in the elevation comp... 😨

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in design tokens then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nop... the design tokens are like this: --vvd-shadow-surface-4dp

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should open a ticket to support ts types of elevation tokens

ui-tests/tests/vwc-card/index.js Outdated Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Apr 24, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@rachelbt rachelbt merged commit 6bd7e09 into master Apr 24, 2022
@yinonov yinonov deleted the issue1135-card-elevation branch April 25, 2022 06:40
k-paxian pushed a commit that referenced this pull request Apr 25, 2022
* fix(card): integrate elevation

* typo fix

* update test md

* style for elevation part

* clean code

* card block-size

* add elevation story + meta

* content slot story

* change dp to elevation

* containment

* updates

* update snapshot

* Fix Safari test

* remove only :)

* typo

* typo

Co-authored-by: yinonov <yinon@hotmail.com>
Co-authored-by: yonatankra <yonatan.kra@vonage.com>
yinonov added a commit that referenced this pull request May 3, 2022
* introduce support for `filterable` columns

* Update spring-hack-challenge.md

* fix(card): integrate elevation (#1273)

* fix(card): integrate elevation

* typo fix

* update test md

* style for elevation part

* clean code

* card block-size

* add elevation story + meta

* content slot story

* change dp to elevation

* containment

* updates

* update snapshot

* Fix Safari test

* remove only :)

* typo

* typo

Co-authored-by: yinonov <yinon@hotmail.com>
Co-authored-by: yonatankra <yonatan.kra@vonage.com>

* Update spring-hack-challenge.md

* Update vwc-data-grid-column.ts

* Update vwc-data-grid-column.ts

Co-authored-by: Yonatan Kra <yonatan.kra@vonage.com>
Co-authored-by: rachelbt <rachelbt@users.noreply.github.com>
Co-authored-by: yinonov <yinon@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Card] integrate elevation
3 participants