diff --git a/common/design-tokens/package.json b/common/design-tokens/package.json
index 0b4a3ecd1..275f0a619 100644
--- a/common/design-tokens/package.json
+++ b/common/design-tokens/package.json
@@ -25,7 +25,7 @@
"url": "https://github.com/Vonage/vivid/issues"
},
"devDependencies": {
- "@vonage/vvd-design-tokens-properties": "0.8.4",
+ "@vonage/vvd-design-tokens-properties": "0.9.0",
"lodash": "^4.17.21",
"ramda": "^0.27.1",
"style-dictionary": "^3.0.1"
diff --git a/components/elevation/readme.md b/components/elevation/readme.md
index 54e645345..3601cefb0 100644
--- a/components/elevation/readme.md
+++ b/components/elevation/readme.md
@@ -20,16 +20,16 @@ Note that this component is responsible for the perceived elevation alone and no
### Properties/Attributes
-|name|attr/prop/reflected|type|description|
-|--- |--- |--- |--- |
-|dp|property/attribute|string|Level in Density-Independent Pixels (DP). Possible values: `2`,`4`,`8`,`12`,`16`,`24`|
+|name|attr/prop/reflected|type| description |
+|--- |--- |--- |-------------------------------------------------------------------------------------------|
+|dp|property/attribute|string| Level in Density-Independent Pixels (DP). Possible values: `0`,`2`,`4`,`8`,`12`,`16`,`24` |
### CSS Variables
-|name|description|
-|--- |--- |
-|`--vvd-elevation-background-color`|Color for the elevation surface background (defaults to theme’s surface background)|
-|`--vvd-elevation-border-radius`|Border radius of the elevation’s surface in pixels|
+|name|description|default|
+|--- |--- |--- |
+|`--vvd-elevation-background-color`|Color for the elevation surface background | defaults to theme’s surface background |
+|`--vvd-elevation-border-radius`|Border radius of the elevation’s surface in pixels| 6px |
# Example:
diff --git a/components/elevation/src/vwc-elevation.scss b/components/elevation/src/vwc-elevation.scss
index a9bbdd96d..a2bcdd9dc 100644
--- a/components/elevation/src/vwc-elevation.scss
+++ b/components/elevation/src/vwc-elevation.scss
@@ -1,6 +1,6 @@
@use 'sass:list';
-$dps: 2 4 8 12 16 24;
+$dps: 0 2 4 8 12 16 24;
$vvd-elevation-background-color: --vvd-elevation-background-color;
$vvd-elevation-border-radius: --vvd-elevation-border-radius;
@@ -26,5 +26,7 @@ $vvd-elevation-border-radius: --vvd-elevation-border-radius;
}
.vwc-elevation {
- border-radius: var(#{$vvd-elevation-border-radius}, 0);
+ width: fit-content;
+ border-radius: var(#{$vvd-elevation-border-radius}, 6px);
+ contain: content;
}
diff --git a/components/elevation/stories/arg-types.js b/components/elevation/stories/arg-types.js
index c87484ee8..eec8d5a2d 100644
--- a/components/elevation/stories/arg-types.js
+++ b/components/elevation/stories/arg-types.js
@@ -1,15 +1,6 @@
export const argTypes = {
- connotation: {
- control: {
- type: 'select',
- options: ['primary', 'cta', 'success', 'error', 'info', 'announcement'],
- }
- },
- disabled: {
- control: {
- type: 'inline-radio',
- options: { 'true': '', 'false': undefined }
- }
- },
- styles: { table: { disable: true } },
+ dp : {
+ type: 'select',
+ options: ['0', '2', '4', '8', '12', '16', '24'],
+ }
}
diff --git a/components/elevation/stories/elevation.stories.js b/components/elevation/stories/elevation.stories.js
index a84959725..48c9ee0d3 100644
--- a/components/elevation/stories/elevation.stories.js
+++ b/components/elevation/stories/elevation.stories.js
@@ -9,20 +9,20 @@ export default {
argTypes
};
-const dpLevels = [2, 4, 8, 12, 16, 24];
+const dpLevels = [0, 2, 4, 8, 12, 16, 24];
const styles = () => html`
`;
@@ -30,19 +30,24 @@ const elevations = () => dpLevels.map(dpLevel => html`