dap-design-system 0.55.5 → 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
  )}
@@ -7017,6 +7020,7 @@ const Do = class Do extends pe {
7017
7020
  size=${this.getSearchIconSize(this.size)}
7018
7021
  variant=${this.subtle ? "neutral" : "inverted-brand"}
7019
7022
  icon="search-line"
7023
+ iconSize=${this.getInnerIconSize(this.size)}
7020
7024
  aria-label=${(o = this.searchButtonAriaLabel) != null ? o : N("search")}
7021
7025
  @click=${this.handleSearchClick}>
7022
7026
  </dap-ds-icon-button>`}
@@ -14152,6 +14156,7 @@ let Ne = class extends ev {
14152
14156
  {
14153
14157
  [`icon-button--${this.effectiveSize}`]: this.effectiveSize && this.iconSize === void 0
14154
14158
  },
14159
+ { [`icon-button--${this.size}`]: this.size },
14155
14160
  { "icon-button--disabled": this.disabled },
14156
14161
  { "icon-button--clean": this.clean },
14157
14162
  `icon-button--${this.variant}`
@@ -21503,7 +21508,7 @@ export {
21503
21508
  Ei as A,
21504
21509
  To as B,
21505
21510
  Ea as C,
21506
- Us as D,
21511
+ Ut as D,
21507
21512
  Ir as E,
21508
21513
  W as F,
21509
21514
  tt as G,
@@ -21517,8 +21522,8 @@ export {
21517
21522
  Bt as O,
21518
21523
  dn as P,
21519
21524
  Ha as Q,
21520
- At as R,
21521
- te as S,
21525
+ te as R,
21526
+ At as S,
21522
21527
  ln as T,
21523
21528
  at as U,
21524
21529
  oi as V,
@@ -21527,7 +21532,7 @@ export {
21527
21532
  ja as Y,
21528
21533
  Ro as Z,
21529
21534
  ie as _,
21530
- Ut as a,
21535
+ Be as a,
21531
21536
  Ar as a0,
21532
21537
  zt as a1,
21533
21538
  Lr as a2,
@@ -21557,40 +21562,40 @@ export {
21557
21562
  Pe as ah,
21558
21563
  Ee as ai,
21559
21564
  Vi as aj,
21560
- ki as ak,
21561
- lo as al,
21562
- fe as am,
21563
- It as an,
21564
- Ua as ao,
21565
- Na as ap,
21566
- Vo as aq,
21567
- Fo as ar,
21568
- Bo as as,
21569
- Fi as at,
21565
+ fe as ak,
21566
+ ki as al,
21567
+ lo as am,
21568
+ Vo as an,
21569
+ Fo as ao,
21570
+ Bo as ap,
21571
+ Fi as aq,
21572
+ It as ar,
21573
+ Ua as as,
21574
+ Na as at,
21570
21575
  Gt as au,
21571
21576
  dt as av,
21572
21577
  Me as aw,
21573
21578
  co as ax,
21574
21579
  me as ay,
21575
21580
  Er as az,
21576
- Be as b,
21577
- Po as c,
21578
- to as d,
21579
- Qi as e,
21581
+ Us as b,
21582
+ to as c,
21583
+ Po as d,
21584
+ He as e,
21580
21585
  fi as f,
21581
- He as g,
21582
- Ot as h,
21583
- ii as i,
21586
+ Qi as g,
21587
+ ii as h,
21588
+ Ot as i,
21584
21589
  qt as j,
21585
21590
  Et as k,
21586
21591
  Xt as l,
21587
- jt as m,
21588
- Ia as n,
21589
- $r as o,
21590
- Ai as p,
21591
- Sr as q,
21592
- Eo as r,
21593
- ve as s,
21592
+ Ia as m,
21593
+ $r as n,
21594
+ Ai as o,
21595
+ Sr as p,
21596
+ Eo as q,
21597
+ ve as r,
21598
+ jt as s,
21594
21599
  Ce as t,
21595
21600
  Li as u,
21596
21601
  De as v,
@@ -21599,4 +21604,4 @@ export {
21599
21604
  Qt as y,
21600
21605
  xi as z
21601
21606
  };
21602
- //# sourceMappingURL=components-CHGU_z5O.js.map
21607
+ //# sourceMappingURL=components-D2vYSZvx.js.map