@salesforcedevs/dx-components 0.54.5 → 0.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "0.54.5",
3
+ "version": "0.55.0",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -108,6 +108,15 @@
108
108
  width: var(--dx-c-slot-empty-width, var(--dx-g-spacing-xl));
109
109
  }
110
110
 
111
+ .button.size-hero {
112
+ font-size: var(--dx-g-text-lg);
113
+ height: 52px;
114
+ }
115
+
116
+ .button.size-hero.style-icon.slot-empty {
117
+ width: var(--dx-c-slot-empty-width, 52px);
118
+ }
119
+
111
120
  /* primary */
112
121
 
113
122
  .button.variant_primary {
@@ -17,7 +17,7 @@ export default class Button extends LightningElement {
17
17
  @api iconSymbol?: IconSymbol;
18
18
  @api iconPosition?: "right" | "left" = "right";
19
19
  @api loading: boolean = false;
20
- @api size: "large" | "small" = "small";
20
+ @api size: "large" | "hero" | "small" = "small";
21
21
  @api variant: ButtonVariant = "primary";
22
22
  @api inlineTextColor: ButtonTextColor = "dark";
23
23
  @api font: "display" | "sans" = "display";