dap-design-system 0.55.6 → 0.56.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.
@@ -2,7 +2,7 @@ import { PropertyValueMap } from 'lit';
2
2
  import { Common, Size } from '../../common/types';
3
3
  import { DdsElement } from '../../internal/dds-hu-element';
4
4
  export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body' | 'caption' | 'description';
5
- export type TypographySize = Extract<Size, 'lg' | 'md' | 'sm'> | null | undefined;
5
+ export type TypographySize = Extract<Size, 'lg' | 'md' | 'sm' | 'xs'> | null | undefined;
6
6
  type HeadingProps = {
7
7
  variant: Extract<TypographyVariant, 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>;
8
8
  size?: TypographySize;
@@ -62,7 +62,7 @@ export default class DapDSTypography extends DdsElement implements Common<Typogr
62
62
  variant: TypographyVariant;
63
63
  /**
64
64
  * The size of the typography.
65
- * @type {'sm' | 'md' | 'lg'}
65
+ * @type {'xs' | 'sm' | 'md' | 'lg'}
66
66
  */
67
67
  size?: TypographySize;
68
68
  /**
@@ -5503,7 +5503,10 @@ let Ai = class extends M {
5503
5503
  ><img
5504
5504
  part="base"
5505
5505
  class="card-image"
5506
- style=${`width: ${this.width}px; height: ${this.height}px;`}
5506
+ style=${[
5507
+ this.width != null ? `width: ${this.width}px` : "",
5508
+ this.height != null ? `height: ${this.height}px` : ""
5509
+ ].filter(Boolean).join("; ")}
5507
5510
  aria-hidden=${f(
5508
5511
  (t = this.ariaHidden) != null ? t : "true"
5509
5512
  )}
@@ -21505,7 +21508,7 @@ export {
21505
21508
  Ei as A,
21506
21509
  To as B,
21507
21510
  Ea as C,
21508
- Us as D,
21511
+ Ut as D,
21509
21512
  Ir as E,
21510
21513
  W as F,
21511
21514
  tt as G,
@@ -21529,7 +21532,7 @@ export {
21529
21532
  ja as Y,
21530
21533
  Ro as Z,
21531
21534
  ie as _,
21532
- Qi as a,
21535
+ Be as a,
21533
21536
  Ar as a0,
21534
21537
  zt as a1,
21535
21538
  Lr as a2,
@@ -21575,16 +21578,16 @@ export {
21575
21578
  co as ax,
21576
21579
  me as ay,
21577
21580
  Er as az,
21578
- to as b,
21579
- Be as c,
21580
- Ut as d,
21581
+ Us as b,
21582
+ to as c,
21583
+ Po as d,
21581
21584
  He as e,
21582
- Po as f,
21583
- fi as g,
21584
- Ot as h,
21585
- qt as i,
21586
- Et as j,
21587
- ii as k,
21585
+ fi as f,
21586
+ Qi as g,
21587
+ ii as h,
21588
+ Ot as i,
21589
+ qt as j,
21590
+ Et as k,
21588
21591
  Xt as l,
21589
21592
  Ia as m,
21590
21593
  $r as n,
@@ -21601,4 +21604,4 @@ export {
21601
21604
  Qt as y,
21602
21605
  xi as z
21603
21606
  };
21604
- //# sourceMappingURL=components-BBr8It7c.js.map
21607
+ //# sourceMappingURL=components-D2vYSZvx.js.map