@italia/card 1.0.0-alpha.9 → 1.0.0-beta.1

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.
@@ -36,14 +36,80 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
36
36
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
37
37
  };
38
38
 
39
+ const ARIA_IDREF_ATTRIBUTES = new Map([
40
+ ['aria-activedescendant', 'ariaActivedescendantElement'],
41
+ ['aria-controls', 'ariaControlsElements'],
42
+ ['aria-describedby', 'ariaDescribedByElements'],
43
+ ['aria-details', 'ariaDetailsElements'],
44
+ ['aria-errormessage', 'ariaErrormessageElements'],
45
+ ['aria-flowto', 'ariaFlowtoElements'],
46
+ ['aria-labelledby', 'ariaLabelledByElements'],
47
+ ['aria-owns', 'ariaOwnsElements'],
48
+ ]);
49
+ function resolveAriaIdRefs(element, value) {
50
+ const ids = value
51
+ .trim()
52
+ .split(/\s+/)
53
+ .filter((id) => id.length > 0);
54
+ if (ids.length === 0)
55
+ return null;
56
+ const root = element.getRootNode();
57
+ let resolvedElements = [];
58
+ if (root instanceof ShadowRoot) {
59
+ resolvedElements = ids.map((id) => root.getElementById(id));
60
+ }
61
+ else if (root instanceof Document) {
62
+ resolvedElements = ids.map((id) => root.getElementById(id));
63
+ }
64
+ else {
65
+ resolvedElements = ids.map((id) => document.getElementById(id));
66
+ }
67
+ if (resolvedElements.filter((el) => el !== null).length === 0) {
68
+ resolvedElements = ids.map((id) => document.getElementById(id));
69
+ }
70
+ const validElements = resolvedElements.filter((el) => el !== null);
71
+ return validElements.length === ids.length ? validElements : null;
72
+ }
73
+ function setInternalsProperty(el, name, resolvedElements) {
74
+ if (name === 'aria-activedescendant') {
75
+ const [firstElement] = resolvedElements;
76
+ // eslint-disable-next-line no-param-reassign
77
+ el[name] = firstElement;
78
+ }
79
+ else {
80
+ // eslint-disable-next-line no-param-reassign
81
+ el[name] = resolvedElements;
82
+ }
83
+ }
39
84
  class SetAttributesDirective extends Directive {
40
85
  update(part, [attributes]) {
41
86
  const el = part.element;
87
+ const internals = el.internals ?? null;
42
88
  for (const [name, value] of Object.entries(attributes)) {
43
- if (value != null)
44
- el.setAttribute(name, value);
45
- else
89
+ if (value == null) {
46
90
  el.removeAttribute(name);
91
+ }
92
+ else {
93
+ const internalsPropertyName = ARIA_IDREF_ATTRIBUTES.get(name);
94
+ if (internalsPropertyName) {
95
+ const resolvedElements = resolveAriaIdRefs(el, String(value));
96
+ if (resolvedElements) {
97
+ if (internals) {
98
+ // Set on ElementInternals
99
+ setInternalsProperty(internals, internalsPropertyName, resolvedElements);
100
+ }
101
+ else {
102
+ // Set internals property on shadowdom item
103
+ el.setAttribute(name, String(value));
104
+ setInternalsProperty(el, internalsPropertyName, resolvedElements);
105
+ }
106
+ }
107
+ }
108
+ else {
109
+ // Non-ARIA IDREF attributes: set normally
110
+ el.setAttribute(name, String(value));
111
+ }
112
+ }
47
113
  }
48
114
  return null;
49
115
  }
@@ -114,7 +180,9 @@ function registerTranslation(...translation) {
114
180
  });
115
181
  update();
116
182
  }
117
- window.registerTranslation = registerTranslation;
183
+ if (typeof window !== 'undefined') {
184
+ window.registerTranslation = registerTranslation;
185
+ }
118
186
  /**
119
187
  * Localize Reactive Controller for components built with Lit
120
188
  *
@@ -409,6 +477,26 @@ class BaseComponent extends LitElement {
409
477
  // generate internal _id
410
478
  const prefix = this.id?.length > 0 ? this.id : this.tagName.toLowerCase();
411
479
  this._id = this.generateId(prefix);
480
+ this.ariaAttributesObserver = new MutationObserver((mutations) => {
481
+ const shouldUpdate = mutations.some((mutation) => {
482
+ if (mutation.type !== 'attributes' || !mutation.attributeName) {
483
+ return false;
484
+ }
485
+ return mutation.attributeName === 'it-role' || mutation.attributeName.startsWith('it-aria-');
486
+ });
487
+ if (shouldUpdate) {
488
+ this.requestUpdate();
489
+ }
490
+ });
491
+ this.ariaAttributesObserver.observe(this, {
492
+ attributes: true,
493
+ attributeOldValue: true,
494
+ });
495
+ }
496
+ disconnectedCallback() {
497
+ this.ariaAttributesObserver?.disconnect();
498
+ this.ariaAttributesObserver = undefined;
499
+ super.disconnectedCallback();
412
500
  }
413
501
  }
414
502
  const BaseLocalizedComponent = LocalizeMixin(BaseComponent);
@@ -841,7 +929,7 @@ class FormControl extends BaseLocalizedComponent {
841
929
  });
842
930
  // TODO: verificare se serve davvero con il fatto che usiamo form-controller
843
931
  // static formAssociated = true;
844
- // @property()
932
+ // @property()
845
933
  // internals = this.attachInternals();
846
934
  this._touched = false;
847
935
  /** The name of the input, submitted as a name/value pair with form data. */
@@ -1089,7 +1177,7 @@ if (typeof window !== 'undefined') {
1089
1177
  window._itAnalytics = window._itAnalytics || {};
1090
1178
  window._itAnalytics = {
1091
1179
  ...window._itAnalytics,
1092
- version: '1.0.0-alpha.9',
1180
+ version: '1.0.0-beta.1',
1093
1181
  };
1094
1182
  }
1095
1183
 
@@ -1111,21 +1199,9 @@ const CARD_BORDER_COLORS = ['primary', 'secondary', 'success', 'danger', 'warnin
1111
1199
  const CARD_IMAGE_RATIOS = ['1x1', '4x3', '16x9', '21x9'];
1112
1200
  const CARD_SHADOWS = ['none', 'sm', 'md', 'lg'];
1113
1201
  const CARD_HEADING_LEVELS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
1202
+ const CARD_HEADING_SIZES = ['sm', 'md'];
1114
1203
 
1115
1204
  var styles = css`@charset "UTF-8";
1116
- /***************************** 1 ****************************************/
1117
- /***************************** 2 ****************************************/
1118
- /***************************** 1 ****************************************/
1119
- /***************************** 2 ****************************************/
1120
- /***************************** 1 ****************************************/
1121
- /***************************** 2 ****************************************/
1122
- /***************************** 3 ****************************************/
1123
- /***************************** 1 ****************************************/
1124
- /***************************** 2 ****************************************/
1125
- /***************************** 3 ****************************************/
1126
- /***************************** NEUTRAL 1 ****************************************/
1127
- /***************************** NEUTRAL 2 ****************************************/
1128
- /***************************** NEUTRAL 2 / 3 ****************************************/
1129
1205
  .ratio {
1130
1206
  position: relative;
1131
1207
  width: 100%;
@@ -1219,6 +1295,17 @@ var styles = css`@charset "UTF-8";
1219
1295
  display: flex;
1220
1296
  justify-content: space-between;
1221
1297
  }
1298
+ .it-card .it-card-title.it-card-title-icon > * {
1299
+ margin: 0.25rem;
1300
+ }
1301
+ @supports (gap: 0.5rem) {
1302
+ .it-card .it-card-title.it-card-title-icon {
1303
+ gap: 0.5rem;
1304
+ }
1305
+ .it-card .it-card-title.it-card-title-icon > * {
1306
+ margin: 0;
1307
+ }
1308
+ }
1222
1309
  .it-card .it-card-title.it-card-title-icon .it-card-title-icon-wrapper {
1223
1310
  margin-left: var(--bsi-icon-spacing);
1224
1311
  }
@@ -1305,7 +1392,7 @@ var styles = css`@charset "UTF-8";
1305
1392
  color: var(--bsi-card-link-color);
1306
1393
  }
1307
1394
  .it-card .it-card-link:hover {
1308
- color: rgb(55.9062, 64.26, 72.6138);
1395
+ color: color-hover(hsl(210, 33%, 28%));
1309
1396
  }
1310
1397
  .it-card .it-card-link + .it-card-link {
1311
1398
  margin-left: var(--bsi-card-spacing-x);
@@ -1341,8 +1428,6 @@ var styles = css`@charset "UTF-8";
1341
1428
  }
1342
1429
  .it-card.it-card-image.it-card-inline {
1343
1430
  padding-left: 0;
1344
- }
1345
- .it-card.it-card-image.it-card-inline-reverse {
1346
1431
  padding-right: 0;
1347
1432
  }
1348
1433
  .it-card.it-card-height-full {
@@ -1479,6 +1564,9 @@ var styles = css`@charset "UTF-8";
1479
1564
  flex-wrap: wrap-reverse;
1480
1565
  justify-content: space-between;
1481
1566
  align-items: center;
1567
+ margin-top: calc(2 * var(--bsi-card-title-spacer-y));
1568
+ margin-bottom: var(--bsi-card-title-spacer-y);
1569
+ padding: 0 var(--bsi-card-spacer-x);
1482
1570
  }
1483
1571
  .it-card.it-card-profile .it-card-profile-header > * {
1484
1572
  margin: 0.5rem;
@@ -1491,11 +1579,6 @@ var styles = css`@charset "UTF-8";
1491
1579
  margin: 0;
1492
1580
  }
1493
1581
  }
1494
- .it-card.it-card-profile .it-card-profile-header {
1495
- margin-top: calc(2 * var(--bsi-card-title-spacer-y));
1496
- margin-bottom: var(--bsi-card-title-spacer-y);
1497
- padding: 0 var(--bsi-card-spacer-x);
1498
- }
1499
1582
  .it-card.it-card-profile .it-card-profile-header .it-card-profile {
1500
1583
  flex: 1;
1501
1584
  max-width: 100%;
@@ -1746,6 +1829,299 @@ ul.it-card-list > li[class*=col-] {
1746
1829
  justify-content: flex-end;
1747
1830
  }
1748
1831
 
1832
+ *,
1833
+ *::before,
1834
+ *::after {
1835
+ box-sizing: border-box;
1836
+ }
1837
+
1838
+ @media (prefers-reduced-motion: no-preference) {
1839
+ :root {
1840
+ scroll-behavior: smooth;
1841
+ }
1842
+ }
1843
+
1844
+ body {
1845
+ margin: 0;
1846
+ -webkit-text-size-adjust: 100%;
1847
+ -webkit-tap-highlight-color: hsla(0, 0%, 0%, 0);
1848
+ }
1849
+
1850
+ hr {
1851
+ margin: 1rem 0;
1852
+ color: inherit;
1853
+ border: 0;
1854
+ border-top: 1px solid;
1855
+ opacity: 0.25;
1856
+ }
1857
+
1858
+ p {
1859
+ margin-top: 0;
1860
+ margin-bottom: var(--bsi-paragraph-spacing);
1861
+ }
1862
+
1863
+ abbr[title] {
1864
+ text-decoration: underline dotted;
1865
+ cursor: help;
1866
+ text-decoration-skip-ink: none;
1867
+ }
1868
+
1869
+ address {
1870
+ margin-bottom: var(--bsi-spacing-s);
1871
+ font-style: normal;
1872
+ line-height: inherit;
1873
+ }
1874
+
1875
+ ol,
1876
+ ul {
1877
+ padding-left: var(--bsi-spacing-l);
1878
+ }
1879
+
1880
+ ol,
1881
+ ul,
1882
+ dl {
1883
+ margin-top: 0;
1884
+ margin-bottom: var(--bsi-spacing-s);
1885
+ }
1886
+
1887
+ ol ol,
1888
+ ul ul,
1889
+ ol ul,
1890
+ ul ol {
1891
+ margin-bottom: 0;
1892
+ }
1893
+
1894
+ dt {
1895
+ font-weight: var(--bsi-font-weight-strong);
1896
+ }
1897
+
1898
+ dd {
1899
+ margin-bottom: var(--bsi-spacing-xxs);
1900
+ margin-left: 0;
1901
+ }
1902
+
1903
+ blockquote {
1904
+ margin: 0 0 var(--bsi-spacing-s);
1905
+ }
1906
+
1907
+ sub,
1908
+ sup {
1909
+ position: relative;
1910
+ font-size: var(--bsi-font-size-1);
1911
+ line-height: 0;
1912
+ vertical-align: baseline;
1913
+ }
1914
+
1915
+ sub {
1916
+ bottom: -0.25em;
1917
+ }
1918
+
1919
+ sup {
1920
+ top: -0.5em;
1921
+ }
1922
+
1923
+ a {
1924
+ color: var(--bsi-color-link);
1925
+ text-decoration: underline;
1926
+ text-decoration-skip-ink: auto;
1927
+ text-underline-offset: 2px;
1928
+ }
1929
+ a:hover {
1930
+ color: var(--bsi-color-link-hover);
1931
+ cursor: pointer;
1932
+ }
1933
+
1934
+ pre,
1935
+ code,
1936
+ kbd,
1937
+ samp {
1938
+ font-size: 1em;
1939
+ }
1940
+
1941
+ pre {
1942
+ display: block;
1943
+ margin-top: 0;
1944
+ margin-bottom: var(--bsi-paragraph-spacing);
1945
+ overflow: auto;
1946
+ }
1947
+ pre code {
1948
+ word-break: normal;
1949
+ }
1950
+
1951
+ a > code {
1952
+ color: inherit;
1953
+ }
1954
+
1955
+ figure {
1956
+ margin: 0 0 1rem;
1957
+ }
1958
+
1959
+ img,
1960
+ svg {
1961
+ vertical-align: middle;
1962
+ }
1963
+
1964
+ table {
1965
+ caption-side: bottom;
1966
+ border-collapse: collapse;
1967
+ }
1968
+
1969
+ caption {
1970
+ padding-top: 0.5rem;
1971
+ padding-bottom: 0.5rem;
1972
+ color: hsl(210, 17%, 44%);
1973
+ text-align: left;
1974
+ }
1975
+
1976
+ th {
1977
+ text-align: inherit;
1978
+ text-align: -webkit-match-parent;
1979
+ }
1980
+
1981
+ thead,
1982
+ tbody,
1983
+ tfoot,
1984
+ tr,
1985
+ td,
1986
+ th {
1987
+ border-color: inherit;
1988
+ border-style: solid;
1989
+ border-width: 0;
1990
+ }
1991
+
1992
+ label {
1993
+ display: inline-block;
1994
+ }
1995
+
1996
+ button {
1997
+ border-radius: 0;
1998
+ }
1999
+
2000
+ button:focus:not(:focus-visible) {
2001
+ outline: 0;
2002
+ }
2003
+
2004
+ input,
2005
+ button,
2006
+ select,
2007
+ optgroup,
2008
+ textarea {
2009
+ margin: 0;
2010
+ font-family: inherit;
2011
+ font-size: inherit;
2012
+ line-height: inherit;
2013
+ }
2014
+
2015
+ button,
2016
+ select {
2017
+ text-transform: none;
2018
+ }
2019
+
2020
+ [role=button] {
2021
+ cursor: pointer;
2022
+ }
2023
+
2024
+ select {
2025
+ word-wrap: normal;
2026
+ }
2027
+ select:disabled {
2028
+ opacity: 1;
2029
+ }
2030
+
2031
+ [list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {
2032
+ display: none !important;
2033
+ }
2034
+
2035
+ button,
2036
+ [type=button],
2037
+ [type=reset],
2038
+ [type=submit] {
2039
+ -webkit-appearance: button;
2040
+ }
2041
+ button:not(:disabled),
2042
+ [type=button]:not(:disabled),
2043
+ [type=reset]:not(:disabled),
2044
+ [type=submit]:not(:disabled) {
2045
+ cursor: pointer;
2046
+ }
2047
+
2048
+ ::-moz-focus-inner {
2049
+ padding: 0;
2050
+ border-style: none;
2051
+ }
2052
+
2053
+ textarea {
2054
+ resize: vertical;
2055
+ }
2056
+
2057
+ fieldset {
2058
+ min-width: 0;
2059
+ padding: 0;
2060
+ margin: 0;
2061
+ border: 0;
2062
+ }
2063
+
2064
+ ::-webkit-datetime-edit-fields-wrapper,
2065
+ ::-webkit-datetime-edit-text,
2066
+ ::-webkit-datetime-edit-minute,
2067
+ ::-webkit-datetime-edit-hour-field,
2068
+ ::-webkit-datetime-edit-day-field,
2069
+ ::-webkit-datetime-edit-month-field,
2070
+ ::-webkit-datetime-edit-year-field {
2071
+ padding: 0;
2072
+ }
2073
+
2074
+ ::-webkit-inner-spin-button {
2075
+ height: auto;
2076
+ }
2077
+
2078
+ [type=search] {
2079
+ outline-offset: -2px;
2080
+ -webkit-appearance: textfield;
2081
+ }
2082
+
2083
+ /* rtl:raw:
2084
+ [type="tel"],
2085
+ [type="url"],
2086
+ [type="email"],
2087
+ [type="number"] {
2088
+ direction: ltr;
2089
+ }
2090
+ */
2091
+ ::-webkit-search-decoration {
2092
+ -webkit-appearance: none;
2093
+ }
2094
+
2095
+ ::-webkit-color-swatch-wrapper {
2096
+ padding: 0;
2097
+ }
2098
+
2099
+ ::file-selector-button {
2100
+ font: inherit;
2101
+ -webkit-appearance: button;
2102
+ }
2103
+
2104
+ output {
2105
+ display: inline-block;
2106
+ }
2107
+
2108
+ iframe {
2109
+ border: 0;
2110
+ }
2111
+
2112
+ summary {
2113
+ display: list-item;
2114
+ cursor: pointer;
2115
+ }
2116
+
2117
+ progress {
2118
+ vertical-align: baseline;
2119
+ }
2120
+
2121
+ [hidden] {
2122
+ display: none !important;
2123
+ }
2124
+
1749
2125
  body {
1750
2126
  font-family: var(--bsi-font-sans);
1751
2127
  }
@@ -2043,6 +2419,604 @@ blockquote.blockquote-card.dark .blockquote-footer,
2043
2419
  text-transform: uppercase;
2044
2420
  }
2045
2421
 
2422
+ .rounded {
2423
+ border-radius: var(--bsi-radius-smooth) !important;
2424
+ }
2425
+
2426
+ .d-none {
2427
+ display: none !important;
2428
+ }
2429
+
2430
+ .shadow-sm {
2431
+ box-shadow: var(--bsi-elevation-low) !important;
2432
+ }
2433
+
2434
+ .shadow-md {
2435
+ box-shadow: var(--bsi-elevation-medium) !important;
2436
+ }
2437
+
2438
+ .shadow-lg {
2439
+ box-shadow: var(--bsi-elevation-high) !important;
2440
+ }
2441
+
2442
+ .shadow-none {
2443
+ box-shadow: none !important;
2444
+ }
2445
+
2446
+ .border {
2447
+ border: var(--bsi-border-base) var(--bsi-border-style) var(--bsi-border-color) !important;
2448
+ }
2449
+
2450
+ .border-0 {
2451
+ border: 0 !important;
2452
+ }
2453
+
2454
+ .border-top {
2455
+ border-top: var(--bsi-border-base) var(--bsi-border-style) var(--bsi-border-color) !important;
2456
+ }
2457
+
2458
+ .border-top-0 {
2459
+ border-top: 0 !important;
2460
+ }
2461
+
2462
+ .p-0 {
2463
+ padding: 0 !important;
2464
+ }
2465
+
2466
+ .p-1 {
2467
+ padding: 0.25rem !important;
2468
+ }
2469
+
2470
+ .p-2 {
2471
+ padding: 0.5rem !important;
2472
+ }
2473
+
2474
+ .p-3 {
2475
+ padding: 1rem !important;
2476
+ }
2477
+
2478
+ .p-4 {
2479
+ padding: 1.5rem !important;
2480
+ }
2481
+
2482
+ .p-5 {
2483
+ padding: 3rem !important;
2484
+ }
2485
+
2486
+ .px-0 {
2487
+ padding-right: 0 !important;
2488
+ padding-left: 0 !important;
2489
+ }
2490
+
2491
+ .px-1 {
2492
+ padding-right: 0.25rem !important;
2493
+ padding-left: 0.25rem !important;
2494
+ }
2495
+
2496
+ .px-2 {
2497
+ padding-right: 0.5rem !important;
2498
+ padding-left: 0.5rem !important;
2499
+ }
2500
+
2501
+ .px-3 {
2502
+ padding-right: 1rem !important;
2503
+ padding-left: 1rem !important;
2504
+ }
2505
+
2506
+ .px-4 {
2507
+ padding-right: 1.5rem !important;
2508
+ padding-left: 1.5rem !important;
2509
+ }
2510
+
2511
+ .px-5 {
2512
+ padding-right: 3rem !important;
2513
+ padding-left: 3rem !important;
2514
+ }
2515
+
2516
+ .py-0 {
2517
+ padding-top: 0 !important;
2518
+ padding-bottom: 0 !important;
2519
+ }
2520
+
2521
+ .py-1 {
2522
+ padding-top: 0.25rem !important;
2523
+ padding-bottom: 0.25rem !important;
2524
+ }
2525
+
2526
+ .py-2 {
2527
+ padding-top: 0.5rem !important;
2528
+ padding-bottom: 0.5rem !important;
2529
+ }
2530
+
2531
+ .py-3 {
2532
+ padding-top: 1rem !important;
2533
+ padding-bottom: 1rem !important;
2534
+ }
2535
+
2536
+ .py-4 {
2537
+ padding-top: 1.5rem !important;
2538
+ padding-bottom: 1.5rem !important;
2539
+ }
2540
+
2541
+ .py-5 {
2542
+ padding-top: 3rem !important;
2543
+ padding-bottom: 3rem !important;
2544
+ }
2545
+
2546
+ .pt-0 {
2547
+ padding-top: 0 !important;
2548
+ }
2549
+
2550
+ .pt-1 {
2551
+ padding-top: 0.25rem !important;
2552
+ }
2553
+
2554
+ .pt-2 {
2555
+ padding-top: 0.5rem !important;
2556
+ }
2557
+
2558
+ .pt-3 {
2559
+ padding-top: 1rem !important;
2560
+ }
2561
+
2562
+ .pt-4 {
2563
+ padding-top: 1.5rem !important;
2564
+ }
2565
+
2566
+ .pt-5 {
2567
+ padding-top: 3rem !important;
2568
+ }
2569
+
2570
+ @media (min-width: 576px) {
2571
+ .d-sm-none {
2572
+ display: none !important;
2573
+ }
2574
+ .p-sm-0 {
2575
+ padding: 0 !important;
2576
+ }
2577
+ .p-sm-1 {
2578
+ padding: 0.25rem !important;
2579
+ }
2580
+ .p-sm-2 {
2581
+ padding: 0.5rem !important;
2582
+ }
2583
+ .p-sm-3 {
2584
+ padding: 1rem !important;
2585
+ }
2586
+ .p-sm-4 {
2587
+ padding: 1.5rem !important;
2588
+ }
2589
+ .p-sm-5 {
2590
+ padding: 3rem !important;
2591
+ }
2592
+ .px-sm-0 {
2593
+ padding-right: 0 !important;
2594
+ padding-left: 0 !important;
2595
+ }
2596
+ .px-sm-1 {
2597
+ padding-right: 0.25rem !important;
2598
+ padding-left: 0.25rem !important;
2599
+ }
2600
+ .px-sm-2 {
2601
+ padding-right: 0.5rem !important;
2602
+ padding-left: 0.5rem !important;
2603
+ }
2604
+ .px-sm-3 {
2605
+ padding-right: 1rem !important;
2606
+ padding-left: 1rem !important;
2607
+ }
2608
+ .px-sm-4 {
2609
+ padding-right: 1.5rem !important;
2610
+ padding-left: 1.5rem !important;
2611
+ }
2612
+ .px-sm-5 {
2613
+ padding-right: 3rem !important;
2614
+ padding-left: 3rem !important;
2615
+ }
2616
+ .py-sm-0 {
2617
+ padding-top: 0 !important;
2618
+ padding-bottom: 0 !important;
2619
+ }
2620
+ .py-sm-1 {
2621
+ padding-top: 0.25rem !important;
2622
+ padding-bottom: 0.25rem !important;
2623
+ }
2624
+ .py-sm-2 {
2625
+ padding-top: 0.5rem !important;
2626
+ padding-bottom: 0.5rem !important;
2627
+ }
2628
+ .py-sm-3 {
2629
+ padding-top: 1rem !important;
2630
+ padding-bottom: 1rem !important;
2631
+ }
2632
+ .py-sm-4 {
2633
+ padding-top: 1.5rem !important;
2634
+ padding-bottom: 1.5rem !important;
2635
+ }
2636
+ .py-sm-5 {
2637
+ padding-top: 3rem !important;
2638
+ padding-bottom: 3rem !important;
2639
+ }
2640
+ .pt-sm-0 {
2641
+ padding-top: 0 !important;
2642
+ }
2643
+ .pt-sm-1 {
2644
+ padding-top: 0.25rem !important;
2645
+ }
2646
+ .pt-sm-2 {
2647
+ padding-top: 0.5rem !important;
2648
+ }
2649
+ .pt-sm-3 {
2650
+ padding-top: 1rem !important;
2651
+ }
2652
+ .pt-sm-4 {
2653
+ padding-top: 1.5rem !important;
2654
+ }
2655
+ .pt-sm-5 {
2656
+ padding-top: 3rem !important;
2657
+ }
2658
+ }
2659
+ @media (min-width: 768px) {
2660
+ .d-md-none {
2661
+ display: none !important;
2662
+ }
2663
+ .p-md-0 {
2664
+ padding: 0 !important;
2665
+ }
2666
+ .p-md-1 {
2667
+ padding: 0.25rem !important;
2668
+ }
2669
+ .p-md-2 {
2670
+ padding: 0.5rem !important;
2671
+ }
2672
+ .p-md-3 {
2673
+ padding: 1rem !important;
2674
+ }
2675
+ .p-md-4 {
2676
+ padding: 1.5rem !important;
2677
+ }
2678
+ .p-md-5 {
2679
+ padding: 3rem !important;
2680
+ }
2681
+ .px-md-0 {
2682
+ padding-right: 0 !important;
2683
+ padding-left: 0 !important;
2684
+ }
2685
+ .px-md-1 {
2686
+ padding-right: 0.25rem !important;
2687
+ padding-left: 0.25rem !important;
2688
+ }
2689
+ .px-md-2 {
2690
+ padding-right: 0.5rem !important;
2691
+ padding-left: 0.5rem !important;
2692
+ }
2693
+ .px-md-3 {
2694
+ padding-right: 1rem !important;
2695
+ padding-left: 1rem !important;
2696
+ }
2697
+ .px-md-4 {
2698
+ padding-right: 1.5rem !important;
2699
+ padding-left: 1.5rem !important;
2700
+ }
2701
+ .px-md-5 {
2702
+ padding-right: 3rem !important;
2703
+ padding-left: 3rem !important;
2704
+ }
2705
+ .py-md-0 {
2706
+ padding-top: 0 !important;
2707
+ padding-bottom: 0 !important;
2708
+ }
2709
+ .py-md-1 {
2710
+ padding-top: 0.25rem !important;
2711
+ padding-bottom: 0.25rem !important;
2712
+ }
2713
+ .py-md-2 {
2714
+ padding-top: 0.5rem !important;
2715
+ padding-bottom: 0.5rem !important;
2716
+ }
2717
+ .py-md-3 {
2718
+ padding-top: 1rem !important;
2719
+ padding-bottom: 1rem !important;
2720
+ }
2721
+ .py-md-4 {
2722
+ padding-top: 1.5rem !important;
2723
+ padding-bottom: 1.5rem !important;
2724
+ }
2725
+ .py-md-5 {
2726
+ padding-top: 3rem !important;
2727
+ padding-bottom: 3rem !important;
2728
+ }
2729
+ .pt-md-0 {
2730
+ padding-top: 0 !important;
2731
+ }
2732
+ .pt-md-1 {
2733
+ padding-top: 0.25rem !important;
2734
+ }
2735
+ .pt-md-2 {
2736
+ padding-top: 0.5rem !important;
2737
+ }
2738
+ .pt-md-3 {
2739
+ padding-top: 1rem !important;
2740
+ }
2741
+ .pt-md-4 {
2742
+ padding-top: 1.5rem !important;
2743
+ }
2744
+ .pt-md-5 {
2745
+ padding-top: 3rem !important;
2746
+ }
2747
+ }
2748
+ @media (min-width: 992px) {
2749
+ .d-lg-none {
2750
+ display: none !important;
2751
+ }
2752
+ .p-lg-0 {
2753
+ padding: 0 !important;
2754
+ }
2755
+ .p-lg-1 {
2756
+ padding: 0.25rem !important;
2757
+ }
2758
+ .p-lg-2 {
2759
+ padding: 0.5rem !important;
2760
+ }
2761
+ .p-lg-3 {
2762
+ padding: 1rem !important;
2763
+ }
2764
+ .p-lg-4 {
2765
+ padding: 1.5rem !important;
2766
+ }
2767
+ .p-lg-5 {
2768
+ padding: 3rem !important;
2769
+ }
2770
+ .px-lg-0 {
2771
+ padding-right: 0 !important;
2772
+ padding-left: 0 !important;
2773
+ }
2774
+ .px-lg-1 {
2775
+ padding-right: 0.25rem !important;
2776
+ padding-left: 0.25rem !important;
2777
+ }
2778
+ .px-lg-2 {
2779
+ padding-right: 0.5rem !important;
2780
+ padding-left: 0.5rem !important;
2781
+ }
2782
+ .px-lg-3 {
2783
+ padding-right: 1rem !important;
2784
+ padding-left: 1rem !important;
2785
+ }
2786
+ .px-lg-4 {
2787
+ padding-right: 1.5rem !important;
2788
+ padding-left: 1.5rem !important;
2789
+ }
2790
+ .px-lg-5 {
2791
+ padding-right: 3rem !important;
2792
+ padding-left: 3rem !important;
2793
+ }
2794
+ .py-lg-0 {
2795
+ padding-top: 0 !important;
2796
+ padding-bottom: 0 !important;
2797
+ }
2798
+ .py-lg-1 {
2799
+ padding-top: 0.25rem !important;
2800
+ padding-bottom: 0.25rem !important;
2801
+ }
2802
+ .py-lg-2 {
2803
+ padding-top: 0.5rem !important;
2804
+ padding-bottom: 0.5rem !important;
2805
+ }
2806
+ .py-lg-3 {
2807
+ padding-top: 1rem !important;
2808
+ padding-bottom: 1rem !important;
2809
+ }
2810
+ .py-lg-4 {
2811
+ padding-top: 1.5rem !important;
2812
+ padding-bottom: 1.5rem !important;
2813
+ }
2814
+ .py-lg-5 {
2815
+ padding-top: 3rem !important;
2816
+ padding-bottom: 3rem !important;
2817
+ }
2818
+ .pt-lg-0 {
2819
+ padding-top: 0 !important;
2820
+ }
2821
+ .pt-lg-1 {
2822
+ padding-top: 0.25rem !important;
2823
+ }
2824
+ .pt-lg-2 {
2825
+ padding-top: 0.5rem !important;
2826
+ }
2827
+ .pt-lg-3 {
2828
+ padding-top: 1rem !important;
2829
+ }
2830
+ .pt-lg-4 {
2831
+ padding-top: 1.5rem !important;
2832
+ }
2833
+ .pt-lg-5 {
2834
+ padding-top: 3rem !important;
2835
+ }
2836
+ }
2837
+ @media (min-width: 1200px) {
2838
+ .d-xl-none {
2839
+ display: none !important;
2840
+ }
2841
+ .p-xl-0 {
2842
+ padding: 0 !important;
2843
+ }
2844
+ .p-xl-1 {
2845
+ padding: 0.25rem !important;
2846
+ }
2847
+ .p-xl-2 {
2848
+ padding: 0.5rem !important;
2849
+ }
2850
+ .p-xl-3 {
2851
+ padding: 1rem !important;
2852
+ }
2853
+ .p-xl-4 {
2854
+ padding: 1.5rem !important;
2855
+ }
2856
+ .p-xl-5 {
2857
+ padding: 3rem !important;
2858
+ }
2859
+ .px-xl-0 {
2860
+ padding-right: 0 !important;
2861
+ padding-left: 0 !important;
2862
+ }
2863
+ .px-xl-1 {
2864
+ padding-right: 0.25rem !important;
2865
+ padding-left: 0.25rem !important;
2866
+ }
2867
+ .px-xl-2 {
2868
+ padding-right: 0.5rem !important;
2869
+ padding-left: 0.5rem !important;
2870
+ }
2871
+ .px-xl-3 {
2872
+ padding-right: 1rem !important;
2873
+ padding-left: 1rem !important;
2874
+ }
2875
+ .px-xl-4 {
2876
+ padding-right: 1.5rem !important;
2877
+ padding-left: 1.5rem !important;
2878
+ }
2879
+ .px-xl-5 {
2880
+ padding-right: 3rem !important;
2881
+ padding-left: 3rem !important;
2882
+ }
2883
+ .py-xl-0 {
2884
+ padding-top: 0 !important;
2885
+ padding-bottom: 0 !important;
2886
+ }
2887
+ .py-xl-1 {
2888
+ padding-top: 0.25rem !important;
2889
+ padding-bottom: 0.25rem !important;
2890
+ }
2891
+ .py-xl-2 {
2892
+ padding-top: 0.5rem !important;
2893
+ padding-bottom: 0.5rem !important;
2894
+ }
2895
+ .py-xl-3 {
2896
+ padding-top: 1rem !important;
2897
+ padding-bottom: 1rem !important;
2898
+ }
2899
+ .py-xl-4 {
2900
+ padding-top: 1.5rem !important;
2901
+ padding-bottom: 1.5rem !important;
2902
+ }
2903
+ .py-xl-5 {
2904
+ padding-top: 3rem !important;
2905
+ padding-bottom: 3rem !important;
2906
+ }
2907
+ .pt-xl-0 {
2908
+ padding-top: 0 !important;
2909
+ }
2910
+ .pt-xl-1 {
2911
+ padding-top: 0.25rem !important;
2912
+ }
2913
+ .pt-xl-2 {
2914
+ padding-top: 0.5rem !important;
2915
+ }
2916
+ .pt-xl-3 {
2917
+ padding-top: 1rem !important;
2918
+ }
2919
+ .pt-xl-4 {
2920
+ padding-top: 1.5rem !important;
2921
+ }
2922
+ .pt-xl-5 {
2923
+ padding-top: 3rem !important;
2924
+ }
2925
+ }
2926
+ @media (min-width: 1400px) {
2927
+ .d-xxl-none {
2928
+ display: none !important;
2929
+ }
2930
+ .p-xxl-0 {
2931
+ padding: 0 !important;
2932
+ }
2933
+ .p-xxl-1 {
2934
+ padding: 0.25rem !important;
2935
+ }
2936
+ .p-xxl-2 {
2937
+ padding: 0.5rem !important;
2938
+ }
2939
+ .p-xxl-3 {
2940
+ padding: 1rem !important;
2941
+ }
2942
+ .p-xxl-4 {
2943
+ padding: 1.5rem !important;
2944
+ }
2945
+ .p-xxl-5 {
2946
+ padding: 3rem !important;
2947
+ }
2948
+ .px-xxl-0 {
2949
+ padding-right: 0 !important;
2950
+ padding-left: 0 !important;
2951
+ }
2952
+ .px-xxl-1 {
2953
+ padding-right: 0.25rem !important;
2954
+ padding-left: 0.25rem !important;
2955
+ }
2956
+ .px-xxl-2 {
2957
+ padding-right: 0.5rem !important;
2958
+ padding-left: 0.5rem !important;
2959
+ }
2960
+ .px-xxl-3 {
2961
+ padding-right: 1rem !important;
2962
+ padding-left: 1rem !important;
2963
+ }
2964
+ .px-xxl-4 {
2965
+ padding-right: 1.5rem !important;
2966
+ padding-left: 1.5rem !important;
2967
+ }
2968
+ .px-xxl-5 {
2969
+ padding-right: 3rem !important;
2970
+ padding-left: 3rem !important;
2971
+ }
2972
+ .py-xxl-0 {
2973
+ padding-top: 0 !important;
2974
+ padding-bottom: 0 !important;
2975
+ }
2976
+ .py-xxl-1 {
2977
+ padding-top: 0.25rem !important;
2978
+ padding-bottom: 0.25rem !important;
2979
+ }
2980
+ .py-xxl-2 {
2981
+ padding-top: 0.5rem !important;
2982
+ padding-bottom: 0.5rem !important;
2983
+ }
2984
+ .py-xxl-3 {
2985
+ padding-top: 1rem !important;
2986
+ padding-bottom: 1rem !important;
2987
+ }
2988
+ .py-xxl-4 {
2989
+ padding-top: 1.5rem !important;
2990
+ padding-bottom: 1.5rem !important;
2991
+ }
2992
+ .py-xxl-5 {
2993
+ padding-top: 3rem !important;
2994
+ padding-bottom: 3rem !important;
2995
+ }
2996
+ .pt-xxl-0 {
2997
+ padding-top: 0 !important;
2998
+ }
2999
+ .pt-xxl-1 {
3000
+ padding-top: 0.25rem !important;
3001
+ }
3002
+ .pt-xxl-2 {
3003
+ padding-top: 0.5rem !important;
3004
+ }
3005
+ .pt-xxl-3 {
3006
+ padding-top: 1rem !important;
3007
+ }
3008
+ .pt-xxl-4 {
3009
+ padding-top: 1.5rem !important;
3010
+ }
3011
+ .pt-xxl-5 {
3012
+ padding-top: 3rem !important;
3013
+ }
3014
+ }
3015
+ @media print {
3016
+ .d-print-none {
3017
+ display: none !important;
3018
+ }
3019
+ }
2046
3020
  /**
2047
3021
  * Copied from bsi reboot
2048
3022
  */
@@ -2056,6 +3030,9 @@ p {
2056
3030
  margin-top: 0;
2057
3031
  margin-bottom: var(--bsi-paragraph-spacing);
2058
3032
  }
3033
+ p:last-of-type {
3034
+ margin-bottom: 0;
3035
+ }
2059
3036
 
2060
3037
  address {
2061
3038
  margin-bottom: var(--bsi-spacing-s);
@@ -2097,6 +3074,9 @@ dl {
2097
3074
  width: 100%;
2098
3075
  justify-content: space-between;
2099
3076
  }
3077
+ .it-card .it-card-title.it-card-title-icon ::slotted(a):focus-visible {
3078
+ display: inline-block;
3079
+ }
2100
3080
  .it-card .it-card-footer {
2101
3081
  display: block;
2102
3082
  }
@@ -2106,7 +3086,6 @@ dl {
2106
3086
  flex-wrap: wrap;
2107
3087
  align-items: flex-end;
2108
3088
  justify-content: flex-end;
2109
- margin-top: var(--bsi-card-spacing-y);
2110
3089
  color: var(--bsi-card-footer-text-color);
2111
3090
  gap: var(--bsi-card-spacing-y);
2112
3091
  }
@@ -2115,67 +3094,15 @@ dl {
2115
3094
  flex-grow: 1;
2116
3095
  }
2117
3096
 
2118
- .rounded {
2119
- border-radius: var(--bsi-radius-smooth) !important;
2120
- }
2121
-
2122
- .d-none {
2123
- display: none !important;
2124
- }
2125
-
2126
- .shadow-sm {
2127
- box-shadow: var(--bsi-elevation-low) !important;
2128
- }
2129
-
2130
- .shadow-md {
2131
- box-shadow: var(--bsi-elevation-medium) !important;
2132
- }
2133
-
2134
- .shadow-lg {
2135
- box-shadow: var(--bsi-elevation-high) !important;
2136
- }
2137
-
2138
- .shadow-none {
2139
- box-shadow: none !important;
2140
- }
2141
-
2142
- .border {
2143
- border: var(--bsi-border-base) var(--bsi-border-style) var(--bsi-border-color) !important;
2144
- }
2145
-
2146
- .border-0 {
2147
- border: 0 !important;
3097
+ .it-card-place-type {
3098
+ margin-top: 0.25rem;
2148
3099
  }
2149
3100
 
2150
- @media (min-width: 576px) {
2151
- .d-sm-none {
2152
- display: none !important;
2153
- }
2154
- }
2155
- @media (min-width: 768px) {
2156
- .d-md-none {
2157
- display: none !important;
2158
- }
2159
- }
2160
- @media (min-width: 992px) {
2161
- .d-lg-none {
2162
- display: none !important;
2163
- }
2164
- }
2165
- @media (min-width: 1200px) {
2166
- .d-xl-none {
2167
- display: none !important;
2168
- }
2169
- }
2170
- @media (min-width: 1400px) {
2171
- .d-xxl-none {
2172
- display: none !important;
2173
- }
2174
- }
2175
- @media print {
2176
- .d-print-none {
2177
- display: none !important;
2178
- }
3101
+ .it-card-place-address {
3102
+ margin-top: 0.25rem;
3103
+ margin-bottom: 0;
3104
+ font-size: 1rem;
3105
+ line-height: 1.5rem;
2179
3106
  }`;
2180
3107
 
2181
3108
  let ItCard = class ItCard extends BaseComponent {
@@ -2212,6 +3139,9 @@ let ItCard = class ItCard extends BaseComponent {
2212
3139
  if (this.headingLevel && !CARD_HEADING_LEVELS.includes(this.headingLevel)) {
2213
3140
  this.logger.warn(`Invalid heading-level value, falling back to default. Expected one of: ${CARD_HEADING_LEVELS.join(', ')}`);
2214
3141
  }
3142
+ if (this.headingSize && !CARD_HEADING_SIZES.includes(this.headingSize)) {
3143
+ this.logger.warn(`Invalid heading-size value, falling back to default. Expected one of: ${CARD_HEADING_SIZES.join(', ')}`);
3144
+ }
2215
3145
  }
2216
3146
  getHeadingLevel() {
2217
3147
  if (CARD_HEADING_LEVELS.includes(this.headingLevel)) {
@@ -2257,6 +3187,7 @@ let ItCard = class ItCard extends BaseComponent {
2257
3187
  const shadowClass = CARD_SHADOWS.includes(this.shadow) ? `shadow-${this.shadow}` : 'shadow-sm';
2258
3188
  const borderClass = this.border === '0' ? 'border-0' : 'border';
2259
3189
  const hasSubtitle = this._subtitleElements.length > 0;
3190
+ const hasAddress = this._addressElements.length > 0;
2260
3191
  const hasSignature = this._signatureElements.length > 0;
2261
3192
  const hasText = this._textElements.length > 0;
2262
3193
  const hasBody = this._bodyElements.length > 0 || hasText || hasSubtitle || hasSignature;
@@ -2265,7 +3196,7 @@ let ItCard = class ItCard extends BaseComponent {
2265
3196
  const hasActions = this._actionsElements.length > 0;
2266
3197
  const hasTitleIcon = this._titleElements.some((el) => el.querySelector('.it-card-title-icon-wrapper') !== null);
2267
3198
  const isInline = this.variant.startsWith('inline');
2268
- const classes = this.composeClass('it-card', 'rounded', shadowClass, borderClass, {
3199
+ const classes = this.composeClass('it-card', 'rounded', shadowClass, borderClass, this.itClass, {
2269
3200
  'it-card-inline': isInline,
2270
3201
  'it-card-inline-reverse': this.variant.endsWith('reverse'),
2271
3202
  'it-card-inline-mini': this.variant.includes('mini'),
@@ -2279,15 +3210,19 @@ let ItCard = class ItCard extends BaseComponent {
2279
3210
  'it-card-title': this.variant !== 'profile' && this.variant !== 'location',
2280
3211
  'it-card-profile-name': this.variant === 'profile' || this.variant === 'location',
2281
3212
  'it-card-title-icon': hasTitleIcon,
2282
- h4: this.variant === 'inline-mini' ||
2283
- this.variant === 'inline-mini-reverse' ||
2284
- this.variant === 'profile' ||
2285
- this.variant === 'location',
2286
- h3: this.headingLevel !== 'h3' &&
2287
- !(this.variant === 'inline-mini' ||
2288
- this.variant === 'inline-mini-reverse' ||
2289
- this.variant === 'profile' ||
2290
- this.variant === 'location'),
3213
+ h4: this.headingSize === 'sm' ||
3214
+ (this.headingSize === undefined &&
3215
+ (this.variant === 'inline-mini' ||
3216
+ this.variant === 'inline-mini-reverse' ||
3217
+ this.variant === 'profile' ||
3218
+ this.variant === 'location')),
3219
+ h3: this.headingSize === 'md' ||
3220
+ (this.headingSize === undefined &&
3221
+ this.headingLevel !== 'h3' &&
3222
+ !(this.variant === 'inline-mini' ||
3223
+ this.variant === 'inline-mini-reverse' ||
3224
+ this.variant === 'profile' ||
3225
+ this.variant === 'location')),
2291
3226
  });
2292
3227
  const headingTag = unsafeStatic(this.getHeadingLevel());
2293
3228
  const cardTitle = html `
@@ -2333,21 +3268,26 @@ let ItCard = class ItCard extends BaseComponent {
2333
3268
  `;
2334
3269
  const cardFooter = hasFooter
2335
3270
  ? html `
2336
- <footer class="it-card-footer" part="footer">
3271
+ <footer class="it-card-footer ${this.variant === 'location' ? 'border-top pt-3' : ''}" part="footer">
2337
3272
  <slot name="footer" @slotchange=${this.handleSlotChange}></slot>
2338
3273
  </footer>
2339
3274
  `
2340
3275
  : html `<slot name="footer" @slotchange=${this.handleSlotChange}></slot>`;
2341
3276
  const cardActions = hasActions
2342
3277
  ? html `
2343
- <div class="it-card-actions" part="actions">
3278
+ <div
3279
+ class="it-card-actions"
3280
+ role="group"
3281
+ part="actions"
3282
+ aria-label=${this.actionsAriaLabel ? this.actionsAriaLabel : 'Link correlati:'}
3283
+ >
2344
3284
  <slot name="actions" @slotchange=${this.handleSlotChange}></slot>
2345
3285
  </div>
2346
3286
  `
2347
3287
  : html `<slot name="actions" @slotchange=${this.handleSlotChange}></slot>`;
2348
3288
  if (this.variant === 'profile') {
2349
3289
  return html `
2350
- <article class="${classes}">
3290
+ <article class="${classes}" part="card">
2351
3291
  <div class="it-card-profile-header">
2352
3292
  <div class="it-card-profile-content">
2353
3293
  ${cardTitle}
@@ -2367,7 +3307,7 @@ let ItCard = class ItCard extends BaseComponent {
2367
3307
  }
2368
3308
  if (this.variant === 'location') {
2369
3309
  return html `
2370
- <article class="${classes}">
3310
+ <article class="${classes}" part="card">
2371
3311
  <div class="it-card-profile-header">
2372
3312
  <div class="it-card-profile">
2373
3313
  ${cardTitle}
@@ -2378,6 +3318,13 @@ let ItCard = class ItCard extends BaseComponent {
2378
3318
  </p>
2379
3319
  `
2380
3320
  : html `<slot name="subtitle" @slotchange=${this.handleSlotChange}></slot>`}
3321
+ ${hasAddress
3322
+ ? html `
3323
+ <p class="it-card-place-address" part="address">
3324
+ <slot name="address" @slotchange=${this.handleSlotChange}></slot>
3325
+ </p>
3326
+ `
3327
+ : html `<slot name="address" @slotchange=${this.handleSlotChange}></slot>`}
2381
3328
  </div>
2382
3329
  ${cardImage}
2383
3330
  </div>
@@ -2387,13 +3334,15 @@ let ItCard = class ItCard extends BaseComponent {
2387
3334
  }
2388
3335
  if (isInline) {
2389
3336
  return html `
2390
- <article class="${classes}">
3337
+ <article class="${classes}" part="card">
2391
3338
  <div class="it-card-inline-content">${cardTitle}${cardBody}${cardFooter}${cardActions}</div>
2392
3339
  ${cardImage}
2393
3340
  </article>
2394
3341
  `;
2395
3342
  }
2396
- return html ` <article class="${classes}">${cardTitle}${cardImage}${cardBody}${cardFooter}${cardActions}</article> `;
3343
+ return html `
3344
+ <article class="${classes}" part="card">${cardTitle}${cardImage}${cardBody}${cardFooter}${cardActions}</article>
3345
+ `;
2397
3346
  }
2398
3347
  };
2399
3348
  ItCard.styles = styles;
@@ -2425,6 +3374,18 @@ __decorate([
2425
3374
  property({ type: String, attribute: 'heading-level' }),
2426
3375
  __metadata("design:type", String)
2427
3376
  ], ItCard.prototype, "headingLevel", void 0);
3377
+ __decorate([
3378
+ property({ type: String, attribute: 'heading-size' }),
3379
+ __metadata("design:type", String)
3380
+ ], ItCard.prototype, "headingSize", void 0);
3381
+ __decorate([
3382
+ property({ type: String, attribute: 'it-class' }),
3383
+ __metadata("design:type", Object)
3384
+ ], ItCard.prototype, "itClass", void 0);
3385
+ __decorate([
3386
+ property({ type: String, attribute: 'actions-aria-label' }),
3387
+ __metadata("design:type", String)
3388
+ ], ItCard.prototype, "actionsAriaLabel", void 0);
2428
3389
  __decorate([
2429
3390
  queryAssignedElements({ slot: 'title' }),
2430
3391
  __metadata("design:type", Array)
@@ -2433,6 +3394,10 @@ __decorate([
2433
3394
  queryAssignedElements({ slot: 'subtitle' }),
2434
3395
  __metadata("design:type", Array)
2435
3396
  ], ItCard.prototype, "_subtitleElements", void 0);
3397
+ __decorate([
3398
+ queryAssignedElements({ slot: 'address' }),
3399
+ __metadata("design:type", Array)
3400
+ ], ItCard.prototype, "_addressElements", void 0);
2436
3401
  __decorate([
2437
3402
  queryAssignedElements({ slot: 'signature' }),
2438
3403
  __metadata("design:type", Array)