@italia/modal 1.0.0-alpha.11 → 1.0.0-alpha.13

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.
@@ -1665,110 +1665,11 @@ if (typeof window !== 'undefined') {
1665
1665
  window._itAnalytics = window._itAnalytics || {};
1666
1666
  window._itAnalytics = {
1667
1667
  ...window._itAnalytics,
1668
- version: '1.0.0-alpha.11',
1668
+ version: '1.0.0-alpha.13',
1669
1669
  };
1670
1670
  }
1671
1671
 
1672
1672
  var styles = css`@charset "UTF-8";
1673
- /***************************** 1 ****************************************/
1674
- /***************************** 2 ****************************************/
1675
- /***************************** 1 ****************************************/
1676
- /***************************** 2 ****************************************/
1677
- /***************************** 1 ****************************************/
1678
- /***************************** 2 ****************************************/
1679
- /***************************** 3 ****************************************/
1680
- /***************************** 1 ****************************************/
1681
- /***************************** 2 ****************************************/
1682
- /***************************** 3 ****************************************/
1683
- /***************************** NEUTRAL 1 ****************************************/
1684
- /***************************** NEUTRAL 2 ****************************************/
1685
- /***************************** NEUTRAL 2 / 3 ****************************************/
1686
- .d-none {
1687
- display: none !important;
1688
- }
1689
-
1690
- .d-block {
1691
- display: block !important;
1692
- }
1693
-
1694
- .d-flex {
1695
- display: flex !important;
1696
- }
1697
-
1698
- .overflow-auto {
1699
- overflow: auto !important;
1700
- }
1701
-
1702
- .overflow-hidden {
1703
- overflow: hidden !important;
1704
- }
1705
-
1706
- @media (min-width: 576px) {
1707
- .d-sm-none {
1708
- display: none !important;
1709
- }
1710
- .d-sm-block {
1711
- display: block !important;
1712
- }
1713
- .d-sm-flex {
1714
- display: flex !important;
1715
- }
1716
- }
1717
- @media (min-width: 768px) {
1718
- .d-md-none {
1719
- display: none !important;
1720
- }
1721
- .d-md-block {
1722
- display: block !important;
1723
- }
1724
- .d-md-flex {
1725
- display: flex !important;
1726
- }
1727
- }
1728
- @media (min-width: 992px) {
1729
- .d-lg-none {
1730
- display: none !important;
1731
- }
1732
- .d-lg-block {
1733
- display: block !important;
1734
- }
1735
- .d-lg-flex {
1736
- display: flex !important;
1737
- }
1738
- }
1739
- @media (min-width: 1200px) {
1740
- .d-xl-none {
1741
- display: none !important;
1742
- }
1743
- .d-xl-block {
1744
- display: block !important;
1745
- }
1746
- .d-xl-flex {
1747
- display: flex !important;
1748
- }
1749
- }
1750
- @media (min-width: 1400px) {
1751
- .d-xxl-none {
1752
- display: none !important;
1753
- }
1754
- .d-xxl-block {
1755
- display: block !important;
1756
- }
1757
- .d-xxl-flex {
1758
- display: flex !important;
1759
- }
1760
- }
1761
- @media print {
1762
- .d-print-none {
1763
- display: none !important;
1764
- }
1765
- .d-print-block {
1766
- display: block !important;
1767
- }
1768
- .d-print-flex {
1769
- display: flex !important;
1770
- }
1771
- }
1772
1673
  .modal {
1773
1674
  --bsi-modal-bg: var(--bsi-color-background-inverse);
1774
1675
  --bsi-modal-border-color: transparent;
@@ -2167,6 +2068,299 @@ var styles = css`@charset "UTF-8";
2167
2068
  height: calc(100vh - 128px);
2168
2069
  }
2169
2070
  }
2071
+ *,
2072
+ *::before,
2073
+ *::after {
2074
+ box-sizing: border-box;
2075
+ }
2076
+
2077
+ @media (prefers-reduced-motion: no-preference) {
2078
+ :root {
2079
+ scroll-behavior: smooth;
2080
+ }
2081
+ }
2082
+
2083
+ body {
2084
+ margin: 0;
2085
+ -webkit-text-size-adjust: 100%;
2086
+ -webkit-tap-highlight-color: hsla(0, 0%, 0%, 0);
2087
+ }
2088
+
2089
+ hr {
2090
+ margin: 1rem 0;
2091
+ color: inherit;
2092
+ border: 0;
2093
+ border-top: 1px solid;
2094
+ opacity: 0.25;
2095
+ }
2096
+
2097
+ p {
2098
+ margin-top: 0;
2099
+ margin-bottom: var(--bsi-paragraph-spacing);
2100
+ }
2101
+
2102
+ abbr[title] {
2103
+ text-decoration: underline dotted;
2104
+ cursor: help;
2105
+ text-decoration-skip-ink: none;
2106
+ }
2107
+
2108
+ address {
2109
+ margin-bottom: var(--bsi-spacing-s);
2110
+ font-style: normal;
2111
+ line-height: inherit;
2112
+ }
2113
+
2114
+ ol,
2115
+ ul {
2116
+ padding-left: var(--bsi-spacing-l);
2117
+ }
2118
+
2119
+ ol,
2120
+ ul,
2121
+ dl {
2122
+ margin-top: 0;
2123
+ margin-bottom: var(--bsi-spacing-s);
2124
+ }
2125
+
2126
+ ol ol,
2127
+ ul ul,
2128
+ ol ul,
2129
+ ul ol {
2130
+ margin-bottom: 0;
2131
+ }
2132
+
2133
+ dt {
2134
+ font-weight: var(--bsi-font-weight-strong);
2135
+ }
2136
+
2137
+ dd {
2138
+ margin-bottom: var(--bsi-spacing-xxs);
2139
+ margin-left: 0;
2140
+ }
2141
+
2142
+ blockquote {
2143
+ margin: 0 0 var(--bsi-spacing-s);
2144
+ }
2145
+
2146
+ sub,
2147
+ sup {
2148
+ position: relative;
2149
+ font-size: var(--bsi-font-size-1);
2150
+ line-height: 0;
2151
+ vertical-align: baseline;
2152
+ }
2153
+
2154
+ sub {
2155
+ bottom: -0.25em;
2156
+ }
2157
+
2158
+ sup {
2159
+ top: -0.5em;
2160
+ }
2161
+
2162
+ a {
2163
+ color: var(--bsi-color-link);
2164
+ text-decoration: underline;
2165
+ text-decoration-skip-ink: auto;
2166
+ text-underline-offset: 2px;
2167
+ }
2168
+ a:hover {
2169
+ color: var(--bsi-color-link-hover);
2170
+ cursor: pointer;
2171
+ }
2172
+
2173
+ pre,
2174
+ code,
2175
+ kbd,
2176
+ samp {
2177
+ font-size: 1em;
2178
+ }
2179
+
2180
+ pre {
2181
+ display: block;
2182
+ margin-top: 0;
2183
+ margin-bottom: var(--bsi-paragraph-spacing);
2184
+ overflow: auto;
2185
+ }
2186
+ pre code {
2187
+ word-break: normal;
2188
+ }
2189
+
2190
+ a > code {
2191
+ color: inherit;
2192
+ }
2193
+
2194
+ figure {
2195
+ margin: 0 0 1rem;
2196
+ }
2197
+
2198
+ img,
2199
+ svg {
2200
+ vertical-align: middle;
2201
+ }
2202
+
2203
+ table {
2204
+ caption-side: bottom;
2205
+ border-collapse: collapse;
2206
+ }
2207
+
2208
+ caption {
2209
+ padding-top: 0.5rem;
2210
+ padding-bottom: 0.5rem;
2211
+ color: hsl(210, 17%, 44%);
2212
+ text-align: left;
2213
+ }
2214
+
2215
+ th {
2216
+ text-align: inherit;
2217
+ text-align: -webkit-match-parent;
2218
+ }
2219
+
2220
+ thead,
2221
+ tbody,
2222
+ tfoot,
2223
+ tr,
2224
+ td,
2225
+ th {
2226
+ border-color: inherit;
2227
+ border-style: solid;
2228
+ border-width: 0;
2229
+ }
2230
+
2231
+ label {
2232
+ display: inline-block;
2233
+ }
2234
+
2235
+ button {
2236
+ border-radius: 0;
2237
+ }
2238
+
2239
+ button:focus:not(:focus-visible) {
2240
+ outline: 0;
2241
+ }
2242
+
2243
+ input,
2244
+ button,
2245
+ select,
2246
+ optgroup,
2247
+ textarea {
2248
+ margin: 0;
2249
+ font-family: inherit;
2250
+ font-size: inherit;
2251
+ line-height: inherit;
2252
+ }
2253
+
2254
+ button,
2255
+ select {
2256
+ text-transform: none;
2257
+ }
2258
+
2259
+ [role=button] {
2260
+ cursor: pointer;
2261
+ }
2262
+
2263
+ select {
2264
+ word-wrap: normal;
2265
+ }
2266
+ select:disabled {
2267
+ opacity: 1;
2268
+ }
2269
+
2270
+ [list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {
2271
+ display: none !important;
2272
+ }
2273
+
2274
+ button,
2275
+ [type=button],
2276
+ [type=reset],
2277
+ [type=submit] {
2278
+ -webkit-appearance: button;
2279
+ }
2280
+ button:not(:disabled),
2281
+ [type=button]:not(:disabled),
2282
+ [type=reset]:not(:disabled),
2283
+ [type=submit]:not(:disabled) {
2284
+ cursor: pointer;
2285
+ }
2286
+
2287
+ ::-moz-focus-inner {
2288
+ padding: 0;
2289
+ border-style: none;
2290
+ }
2291
+
2292
+ textarea {
2293
+ resize: vertical;
2294
+ }
2295
+
2296
+ fieldset {
2297
+ min-width: 0;
2298
+ padding: 0;
2299
+ margin: 0;
2300
+ border: 0;
2301
+ }
2302
+
2303
+ ::-webkit-datetime-edit-fields-wrapper,
2304
+ ::-webkit-datetime-edit-text,
2305
+ ::-webkit-datetime-edit-minute,
2306
+ ::-webkit-datetime-edit-hour-field,
2307
+ ::-webkit-datetime-edit-day-field,
2308
+ ::-webkit-datetime-edit-month-field,
2309
+ ::-webkit-datetime-edit-year-field {
2310
+ padding: 0;
2311
+ }
2312
+
2313
+ ::-webkit-inner-spin-button {
2314
+ height: auto;
2315
+ }
2316
+
2317
+ [type=search] {
2318
+ outline-offset: -2px;
2319
+ -webkit-appearance: textfield;
2320
+ }
2321
+
2322
+ /* rtl:raw:
2323
+ [type="tel"],
2324
+ [type="url"],
2325
+ [type="email"],
2326
+ [type="number"] {
2327
+ direction: ltr;
2328
+ }
2329
+ */
2330
+ ::-webkit-search-decoration {
2331
+ -webkit-appearance: none;
2332
+ }
2333
+
2334
+ ::-webkit-color-swatch-wrapper {
2335
+ padding: 0;
2336
+ }
2337
+
2338
+ ::file-selector-button {
2339
+ font: inherit;
2340
+ -webkit-appearance: button;
2341
+ }
2342
+
2343
+ output {
2344
+ display: inline-block;
2345
+ }
2346
+
2347
+ iframe {
2348
+ border: 0;
2349
+ }
2350
+
2351
+ summary {
2352
+ display: list-item;
2353
+ cursor: pointer;
2354
+ }
2355
+
2356
+ progress {
2357
+ vertical-align: baseline;
2358
+ }
2359
+
2360
+ [hidden] {
2361
+ display: none !important;
2362
+ }
2363
+
2170
2364
  body {
2171
2365
  font-family: var(--bsi-font-sans);
2172
2366
  }
@@ -2477,6 +2671,92 @@ blockquote.blockquote-card.dark .blockquote-footer,
2477
2671
  border: 0 !important;
2478
2672
  }
2479
2673
 
2674
+ .d-none {
2675
+ display: none !important;
2676
+ }
2677
+
2678
+ .d-block {
2679
+ display: block !important;
2680
+ }
2681
+
2682
+ .d-flex {
2683
+ display: flex !important;
2684
+ }
2685
+
2686
+ .overflow-auto {
2687
+ overflow: auto !important;
2688
+ }
2689
+
2690
+ .overflow-hidden {
2691
+ overflow: hidden !important;
2692
+ }
2693
+
2694
+ @media (min-width: 576px) {
2695
+ .d-sm-none {
2696
+ display: none !important;
2697
+ }
2698
+ .d-sm-block {
2699
+ display: block !important;
2700
+ }
2701
+ .d-sm-flex {
2702
+ display: flex !important;
2703
+ }
2704
+ }
2705
+ @media (min-width: 768px) {
2706
+ .d-md-none {
2707
+ display: none !important;
2708
+ }
2709
+ .d-md-block {
2710
+ display: block !important;
2711
+ }
2712
+ .d-md-flex {
2713
+ display: flex !important;
2714
+ }
2715
+ }
2716
+ @media (min-width: 992px) {
2717
+ .d-lg-none {
2718
+ display: none !important;
2719
+ }
2720
+ .d-lg-block {
2721
+ display: block !important;
2722
+ }
2723
+ .d-lg-flex {
2724
+ display: flex !important;
2725
+ }
2726
+ }
2727
+ @media (min-width: 1200px) {
2728
+ .d-xl-none {
2729
+ display: none !important;
2730
+ }
2731
+ .d-xl-block {
2732
+ display: block !important;
2733
+ }
2734
+ .d-xl-flex {
2735
+ display: flex !important;
2736
+ }
2737
+ }
2738
+ @media (min-width: 1400px) {
2739
+ .d-xxl-none {
2740
+ display: none !important;
2741
+ }
2742
+ .d-xxl-block {
2743
+ display: block !important;
2744
+ }
2745
+ .d-xxl-flex {
2746
+ display: flex !important;
2747
+ }
2748
+ }
2749
+ @media print {
2750
+ .d-print-none {
2751
+ display: none !important;
2752
+ }
2753
+ .d-print-block {
2754
+ display: block !important;
2755
+ }
2756
+ .d-print-flex {
2757
+ display: flex !important;
2758
+ }
2759
+ }
2480
2760
  :host {
2481
2761
  display: block;
2482
2762
  --it-focus-ring-safari-fix: none;