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.
- package/dist/components/typography/typography.component.d.ts +2 -2
- package/dist/{components-CHGU_z5O.js → components-D2vYSZvx.js} +35 -30
- package/dist/components-D2vYSZvx.js.map +1 -0
- package/dist/components.js +1 -1
- package/dist/dds.js +1 -1
- package/dist/manifest/types/vue/index.d.ts +432 -432
- package/dist/manifest/vscode.html-custom-data.json +334 -329
- package/dist/manifest/web-types.json +1198 -1198
- package/dist/react/index.d.ts +14 -14
- package/dist/react-types.ts +14 -14
- package/dist/react.js +144 -144
- package/dist/react.js.map +1 -1
- package/dist/scss/mixins.scss +31 -0
- package/dist/scss/variables-azure.scss +890 -0
- package/dist/scss/variables-cold-grey.scss +890 -0
- package/dist/scss/variables-dark.scss +890 -0
- package/dist/scss/variables-high-contrast.scss +890 -0
- package/dist/scss/variables-light-oklch.scss +779 -0
- package/dist/scss/variables-light.scss +890 -0
- package/dist/scss/variables-teal.scss +890 -0
- package/dist/scss/variables-violet.scss +890 -0
- package/package.json +2 -1
- package/dist/components-CHGU_z5O.js.map +0 -1
|
@@ -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=${
|
|
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
|
-
|
|
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
|
-
|
|
21521
|
-
|
|
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
|
-
|
|
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
|
-
|
|
21561
|
-
|
|
21562
|
-
|
|
21563
|
-
|
|
21564
|
-
|
|
21565
|
-
|
|
21566
|
-
|
|
21567
|
-
|
|
21568
|
-
|
|
21569
|
-
|
|
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
|
-
|
|
21577
|
-
|
|
21578
|
-
|
|
21579
|
-
|
|
21581
|
+
Us as b,
|
|
21582
|
+
to as c,
|
|
21583
|
+
Po as d,
|
|
21584
|
+
He as e,
|
|
21580
21585
|
fi as f,
|
|
21581
|
-
|
|
21582
|
-
|
|
21583
|
-
|
|
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
|
-
|
|
21588
|
-
|
|
21589
|
-
|
|
21590
|
-
|
|
21591
|
-
|
|
21592
|
-
|
|
21593
|
-
|
|
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-
|
|
21607
|
+
//# sourceMappingURL=components-D2vYSZvx.js.map
|