qc-trousse-sdg 1.4.5 → 1.4.6
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/README.md +6 -0
- package/dist/css/qc-sdg-no-grid.min.css +1 -1
- package/dist/css/qc-sdg.min.css +1 -1
- package/dist/js/qc-sdg.min.js +1 -1
- package/package.json +1 -1
- package/plugins/buildHtmlDoc.js +5 -1
- package/public/css/qc-doc-sdg.css +31 -28
- package/public/css/qc-sdg-no-grid.css +39 -25
- package/public/css/qc-sdg.css +39 -25
- package/public/index.html +24 -31
- package/public/js/qc-doc-sdg.js +8305 -4286
- package/public/js/qc-sdg.js +8896 -5591
- package/rollup.config.js +3 -4
- package/src/doc/components/Code.svelte +13 -5
- package/src/doc/components/Exemple.svelte +0 -13
- package/src/doc/scss/components/_code.scss +4 -21
- package/src/doc/scss/components/_exemple.scss +21 -0
- package/src/doc/scss/qc-doc-sdg.scss +1 -0
- package/src/sdg/bases/links/_links.html +10 -10
- package/src/sdg/components/Alert/_alert.html +2 -2
- package/src/sdg/components/ChoiceGroup/_choiceGroup.html +0 -2
- package/src/sdg/components/FormfieldRow/_formfieldRow.html +7 -7
- package/src/sdg/components/Notice/_notice.html +3 -3
- package/src/sdg/components/PivHeader/Test/pivHeaderBaselineTest.html +2 -2
- package/src/sdg/components/PivHeader/Test/pivHeaderEmbeddedTest.svelte +2 -1
- package/src/sdg/components/PivHeader/_pivHeader.html +2 -2
- package/src/sdg/components/PivHeader/_pivHeader.scss +6 -4
- package/src/sdg/components/TextField/TextFieldWC.svelte +10 -8
- package/src/sdg/components/TextField/_textField.html +0 -5
- package/src/sdg/components/utils.js +55 -14
- package/src/sdg/components/CharCount/_charCount.html +0 -7
- package/src/sdg/components/RadioButton/_radioButton.html +0 -24
package/package.json
CHANGED
package/plugins/buildHtmlDoc.js
CHANGED
|
@@ -29,7 +29,11 @@ function buildHtmlDoc({ input, output }) {
|
|
|
29
29
|
if (html.includes(marker)) {
|
|
30
30
|
html = html.replace(new RegExp(marker, 'g'), content);
|
|
31
31
|
} else {
|
|
32
|
-
|
|
32
|
+
const ignoredPartials = ['_dev.html', '_test.html'];
|
|
33
|
+
|
|
34
|
+
if (!ignoredPartials.includes(partialName)) {
|
|
35
|
+
this.warn(`⚠️ Le partiel "${partialName}" n'est pas utilisé dans ${inputFileName}`);
|
|
36
|
+
}
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
39
|
|
|
@@ -8,38 +8,17 @@ pre {
|
|
|
8
8
|
padding: 0;
|
|
9
9
|
white-space: pre-wrap;
|
|
10
10
|
overflow: auto;
|
|
11
|
+
position: relative;
|
|
11
12
|
}
|
|
12
13
|
pre code, pre .qc-code {
|
|
13
14
|
font-family: var(--qc-font-family-code);
|
|
14
15
|
}
|
|
15
16
|
pre code button, pre .qc-code button {
|
|
16
17
|
float: right;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
color: white;
|
|
21
|
-
background-color: var(--qc-color-blue-piv);
|
|
22
|
-
border: 1px solid;
|
|
18
|
+
position: absolute;
|
|
19
|
+
right: var(--qc-spacer-sm);
|
|
20
|
+
top: var(--qc-spacer-sm);
|
|
23
21
|
white-space: nowrap;
|
|
24
|
-
transition: none !important;
|
|
25
|
-
}
|
|
26
|
-
pre code button .copy, pre .qc-code button .copy {
|
|
27
|
-
display: inline;
|
|
28
|
-
}
|
|
29
|
-
pre code button .copied, pre .qc-code button .copied {
|
|
30
|
-
display: none;
|
|
31
|
-
}
|
|
32
|
-
pre code button.copied, pre .qc-code button.copied {
|
|
33
|
-
background-color: transparent !important;
|
|
34
|
-
border-color: transparent !important;
|
|
35
|
-
box-shadow: none !important;
|
|
36
|
-
color: var(--qc-color-blue-piv) !important;
|
|
37
|
-
}
|
|
38
|
-
pre code button.copied .copy, pre .qc-code button.copied .copy {
|
|
39
|
-
display: none;
|
|
40
|
-
}
|
|
41
|
-
pre code button.copied .copied, pre .qc-code button.copied .copied {
|
|
42
|
-
display: inline;
|
|
43
22
|
}
|
|
44
23
|
|
|
45
24
|
@keyframes fadeout {
|
|
@@ -171,6 +150,24 @@ code.hljs {
|
|
|
171
150
|
font-weight: bold;
|
|
172
151
|
}
|
|
173
152
|
|
|
153
|
+
.exemple-area > figure {
|
|
154
|
+
display: block;
|
|
155
|
+
max-width: var(--qc-max-content-width);
|
|
156
|
+
width: 100%;
|
|
157
|
+
margin-bottom: var(--qc-spacer-content-block-mb);
|
|
158
|
+
padding-bottom: 1px;
|
|
159
|
+
}
|
|
160
|
+
.exemple-area > figure .exemple {
|
|
161
|
+
padding: var(--qc-spacer-sm) var(--qc-spacer-sm) var(--qc-spacer-sm) var(--qc-spacer-sm);
|
|
162
|
+
border: 1px solid var(--qc-box_shadow-0-color);
|
|
163
|
+
}
|
|
164
|
+
.exemple-area > figure .exemple > *:last-child {
|
|
165
|
+
margin-bottom: 0;
|
|
166
|
+
}
|
|
167
|
+
.exemple-area > figure > figcaption {
|
|
168
|
+
display: block;
|
|
169
|
+
}
|
|
170
|
+
|
|
174
171
|
table.qc-table {
|
|
175
172
|
margin-bottom: 0;
|
|
176
173
|
background-color: var(--qc-color-white);
|
|
@@ -178,9 +175,6 @@ table.qc-table {
|
|
|
178
175
|
max-width: 100%;
|
|
179
176
|
overflow: auto;
|
|
180
177
|
border-collapse: collapse;
|
|
181
|
-
/* ----- Striped tables ----- */
|
|
182
|
-
/* ----- Bordered tables ----- */
|
|
183
|
-
/* ----- TODO add footer style ----- */
|
|
184
178
|
}
|
|
185
179
|
table.qc-table > thead {
|
|
186
180
|
background-color: var(--qc-color-blue-dark);
|
|
@@ -197,12 +191,21 @@ table.qc-table thead th, table.qc-table tbody th, table.qc-table tbody td {
|
|
|
197
191
|
text-align: left;
|
|
198
192
|
padding: var(--qc-spacer-xs);
|
|
199
193
|
}
|
|
194
|
+
table.qc-table {
|
|
195
|
+
/* ----- Striped tables ----- */
|
|
196
|
+
}
|
|
200
197
|
table.qc-table.qc-striped tbody tr:nth-of-type(even) {
|
|
201
198
|
background-color: var(--qc-color-grey-pale);
|
|
202
199
|
}
|
|
200
|
+
table.qc-table {
|
|
201
|
+
/* ----- Bordered tables ----- */
|
|
202
|
+
}
|
|
203
203
|
table.qc-table.qc-bordered tbody th, table.qc-table.qc-bordered tbody td {
|
|
204
204
|
border-bottom: 1px solid var(--qc-color-grey-light);
|
|
205
205
|
}
|
|
206
|
+
table.qc-table {
|
|
207
|
+
/* ----- TODO add footer style ----- */
|
|
208
|
+
}
|
|
206
209
|
|
|
207
210
|
.ui-autocomplete {
|
|
208
211
|
max-height: calc(16rem + 2px) !important;
|
|
@@ -1372,7 +1372,6 @@ hr {
|
|
|
1372
1372
|
|
|
1373
1373
|
qc-notice {
|
|
1374
1374
|
display: block;
|
|
1375
|
-
margin-bottom: 3.2rem;
|
|
1376
1375
|
}
|
|
1377
1376
|
qc-notice h1, qc-notice h2, qc-notice h3, qc-notice h4, qc-notice h5, qc-notice h6, qc-notice [role=heading] {
|
|
1378
1377
|
margin: 0;
|
|
@@ -1385,18 +1384,21 @@ qc-notice h1, qc-notice h2, qc-notice h3, qc-notice h4, qc-notice h5, qc-notice
|
|
|
1385
1384
|
qc-notice ul {
|
|
1386
1385
|
padding-left: var(--qc-spacer-sm) !important;
|
|
1387
1386
|
}
|
|
1388
|
-
qc-notice[type=error] ul li {
|
|
1389
|
-
color: var(--qc-color-red-regular);
|
|
1390
|
-
}
|
|
1391
1387
|
qc-notice[type=error] ul li::marker {
|
|
1392
1388
|
color: var(--qc-color-text-primary);
|
|
1393
1389
|
}
|
|
1390
|
+
qc-notice[type=error] ul li {
|
|
1391
|
+
color: var(--qc-color-red-regular);
|
|
1392
|
+
}
|
|
1394
1393
|
qc-notice[type=error] ul li a {
|
|
1395
1394
|
color: inherit;
|
|
1396
1395
|
}
|
|
1397
1396
|
qc-notice[type=error] ul li a:hover, qc-notice[type=error] ul li a:focus {
|
|
1398
1397
|
text-decoration: none;
|
|
1399
1398
|
}
|
|
1399
|
+
qc-notice {
|
|
1400
|
+
margin-bottom: 3.2rem;
|
|
1401
|
+
}
|
|
1400
1402
|
|
|
1401
1403
|
.qc-piv-header .piv-top .right-section .links ul, qc-piv-header [slot=links], qc-piv-header [slot=links] ul {
|
|
1402
1404
|
list-style: none;
|
|
@@ -1524,9 +1526,6 @@ qc-piv-header a,
|
|
|
1524
1526
|
--qc-color-link-text: white;
|
|
1525
1527
|
--qc-color-link-visited: white;
|
|
1526
1528
|
--qc-color-link-active: white;
|
|
1527
|
-
font-family: var(--qc-font-family-header);
|
|
1528
|
-
text-decoration: none;
|
|
1529
|
-
font-weight: var(--qc-font-weight-regular);
|
|
1530
1529
|
}
|
|
1531
1530
|
qc-piv-header a:hover,
|
|
1532
1531
|
.qc-piv-header a:hover {
|
|
@@ -1537,6 +1536,13 @@ qc-piv-header a:focus-visible:has(img), qc-piv-header a:focus:has(img),
|
|
|
1537
1536
|
.qc-piv-header a:focus:has(img) {
|
|
1538
1537
|
outline-offset: -2px;
|
|
1539
1538
|
}
|
|
1539
|
+
qc-piv-header a, qc-piv-header span,
|
|
1540
|
+
.qc-piv-header a,
|
|
1541
|
+
.qc-piv-header span {
|
|
1542
|
+
font-family: var(--qc-font-family-header);
|
|
1543
|
+
text-decoration: none;
|
|
1544
|
+
font-weight: var(--qc-font-weight-regular);
|
|
1545
|
+
}
|
|
1540
1546
|
|
|
1541
1547
|
.go-to-content {
|
|
1542
1548
|
display: flex;
|
|
@@ -1688,8 +1694,6 @@ qc-piv-footer a:hover {
|
|
|
1688
1694
|
z-index: 10;
|
|
1689
1695
|
background: transparent;
|
|
1690
1696
|
border: 0;
|
|
1691
|
-
flex-shrink: 0;
|
|
1692
|
-
cursor: pointer;
|
|
1693
1697
|
}
|
|
1694
1698
|
.qc-general-alert button::before {
|
|
1695
1699
|
position: absolute;
|
|
@@ -1705,9 +1709,15 @@ qc-piv-footer a:hover {
|
|
|
1705
1709
|
.qc-general-alert button:has(input:focus)::before, .qc-general-alert button:focus::before, .qc-general-alert button:has(textarea:focus)::before {
|
|
1706
1710
|
border: 2px solid var(--qc-color-formfield-focus-border);
|
|
1707
1711
|
}
|
|
1712
|
+
.qc-general-alert button {
|
|
1713
|
+
flex-shrink: 0;
|
|
1714
|
+
}
|
|
1708
1715
|
.qc-general-alert button::before {
|
|
1709
1716
|
background: transparent;
|
|
1710
1717
|
}
|
|
1718
|
+
.qc-general-alert button {
|
|
1719
|
+
cursor: pointer;
|
|
1720
|
+
}
|
|
1711
1721
|
|
|
1712
1722
|
qc-alert {
|
|
1713
1723
|
display: block;
|
|
@@ -1719,6 +1729,11 @@ qc-alert [slot] a, qc-alert:not([slot=content]) a {
|
|
|
1719
1729
|
color: var(--qc-color-blue-piv);
|
|
1720
1730
|
}
|
|
1721
1731
|
|
|
1732
|
+
.qc-to-top[demo=false] {
|
|
1733
|
+
position: fixed;
|
|
1734
|
+
bottom: 9.6rem;
|
|
1735
|
+
right: 3.2rem;
|
|
1736
|
+
}
|
|
1722
1737
|
.qc-to-top {
|
|
1723
1738
|
display: flex;
|
|
1724
1739
|
z-index: 99;
|
|
@@ -1733,11 +1748,6 @@ qc-alert [slot] a, qc-alert:not([slot=content]) a {
|
|
|
1733
1748
|
background-size: 1.6rem 2rem;
|
|
1734
1749
|
box-shadow: 0 var(--qc-box_shadow-1-offset) var(--qc-box_shadow-1-blur) var(--qc-color-box_shadow);
|
|
1735
1750
|
}
|
|
1736
|
-
.qc-to-top[demo=false] {
|
|
1737
|
-
position: fixed;
|
|
1738
|
-
bottom: 9.6rem;
|
|
1739
|
-
right: 3.2rem;
|
|
1740
|
-
}
|
|
1741
1751
|
.qc-to-top[style*=block] {
|
|
1742
1752
|
display: flex !important;
|
|
1743
1753
|
}
|
|
@@ -1783,13 +1793,13 @@ qc-search-input {
|
|
|
1783
1793
|
.qc-search-bar::before, .qc-search-input::before {
|
|
1784
1794
|
border: 1px solid var(--qc-color-formfield-border);
|
|
1785
1795
|
}
|
|
1796
|
+
.qc-search-bar button::before, .qc-search-input button::before {
|
|
1797
|
+
background: transparent;
|
|
1798
|
+
}
|
|
1786
1799
|
.qc-search-bar button, .qc-search-input button {
|
|
1787
1800
|
width: 4rem;
|
|
1788
1801
|
flex-shrink: 0;
|
|
1789
1802
|
}
|
|
1790
|
-
.qc-search-bar button::before, .qc-search-input button::before {
|
|
1791
|
-
background: transparent;
|
|
1792
|
-
}
|
|
1793
1803
|
|
|
1794
1804
|
.qc-search-input.qc-search-left-icon-disabled qc-icon, .qc-search-input.qc-search-left-icon-disabled::before {
|
|
1795
1805
|
background-color: var(--qc-color-grey-pale);
|
|
@@ -1825,12 +1835,12 @@ qc-search-input {
|
|
|
1825
1835
|
.qc-search-input.qc-search-left-icon {
|
|
1826
1836
|
padding-left: var(--qc-spacer-xs);
|
|
1827
1837
|
}
|
|
1828
|
-
.qc-search-input button {
|
|
1829
|
-
cursor: pointer;
|
|
1830
|
-
}
|
|
1831
1838
|
.qc-search-input button::before {
|
|
1832
1839
|
background: transparent;
|
|
1833
1840
|
}
|
|
1841
|
+
.qc-search-input button {
|
|
1842
|
+
cursor: pointer;
|
|
1843
|
+
}
|
|
1834
1844
|
qc-search-bar {
|
|
1835
1845
|
position: relative;
|
|
1836
1846
|
display: block;
|
|
@@ -1893,8 +1903,6 @@ label.qc-selection-button {
|
|
|
1893
1903
|
z-index: 10;
|
|
1894
1904
|
background: transparent;
|
|
1895
1905
|
border: 0;
|
|
1896
|
-
padding: var(--qc-spacer-sm);
|
|
1897
|
-
min-width: 100%;
|
|
1898
1906
|
}
|
|
1899
1907
|
label.qc-selection-button::before {
|
|
1900
1908
|
position: absolute;
|
|
@@ -1910,6 +1918,10 @@ label.qc-selection-button:has(input:focus), label.qc-selection-button:focus, lab
|
|
|
1910
1918
|
label.qc-selection-button:has(input:focus)::before, label.qc-selection-button:focus::before, label.qc-selection-button:has(textarea:focus)::before {
|
|
1911
1919
|
border: 2px solid var(--qc-color-formfield-focus-border);
|
|
1912
1920
|
}
|
|
1921
|
+
label.qc-selection-button {
|
|
1922
|
+
padding: var(--qc-spacer-sm);
|
|
1923
|
+
min-width: 100%;
|
|
1924
|
+
}
|
|
1913
1925
|
label.qc-selection-button::before {
|
|
1914
1926
|
border-style: solid;
|
|
1915
1927
|
border-width: 0.1rem;
|
|
@@ -2491,9 +2503,6 @@ li[aria-selected=true] {
|
|
|
2491
2503
|
z-index: 10;
|
|
2492
2504
|
background: transparent;
|
|
2493
2505
|
border: 0;
|
|
2494
|
-
font-size: var(--qc-font-size-md);
|
|
2495
|
-
line-height: var(--qc-line-height-md);
|
|
2496
|
-
font-weight: var(--qc-font-weight-regular);
|
|
2497
2506
|
}
|
|
2498
2507
|
.qc-dropdown-button::before {
|
|
2499
2508
|
position: absolute;
|
|
@@ -2509,6 +2518,11 @@ li[aria-selected=true] {
|
|
|
2509
2518
|
.qc-dropdown-button:has(input:focus)::before, .qc-dropdown-button:focus::before, .qc-dropdown-button:has(textarea:focus)::before {
|
|
2510
2519
|
border: 2px solid var(--qc-color-formfield-focus-border);
|
|
2511
2520
|
}
|
|
2521
|
+
.qc-dropdown-button {
|
|
2522
|
+
font-size: var(--qc-font-size-md);
|
|
2523
|
+
line-height: var(--qc-line-height-md);
|
|
2524
|
+
font-weight: var(--qc-font-weight-regular);
|
|
2525
|
+
}
|
|
2512
2526
|
.qc-dropdown-button:hover {
|
|
2513
2527
|
cursor: pointer;
|
|
2514
2528
|
}
|
package/public/css/qc-sdg.css
CHANGED
|
@@ -1372,7 +1372,6 @@ hr {
|
|
|
1372
1372
|
|
|
1373
1373
|
qc-notice {
|
|
1374
1374
|
display: block;
|
|
1375
|
-
margin-bottom: 3.2rem;
|
|
1376
1375
|
}
|
|
1377
1376
|
qc-notice h1, qc-notice h2, qc-notice h3, qc-notice h4, qc-notice h5, qc-notice h6, qc-notice [role=heading] {
|
|
1378
1377
|
margin: 0;
|
|
@@ -1385,18 +1384,21 @@ qc-notice h1, qc-notice h2, qc-notice h3, qc-notice h4, qc-notice h5, qc-notice
|
|
|
1385
1384
|
qc-notice ul {
|
|
1386
1385
|
padding-left: var(--qc-spacer-sm) !important;
|
|
1387
1386
|
}
|
|
1388
|
-
qc-notice[type=error] ul li {
|
|
1389
|
-
color: var(--qc-color-red-regular);
|
|
1390
|
-
}
|
|
1391
1387
|
qc-notice[type=error] ul li::marker {
|
|
1392
1388
|
color: var(--qc-color-text-primary);
|
|
1393
1389
|
}
|
|
1390
|
+
qc-notice[type=error] ul li {
|
|
1391
|
+
color: var(--qc-color-red-regular);
|
|
1392
|
+
}
|
|
1394
1393
|
qc-notice[type=error] ul li a {
|
|
1395
1394
|
color: inherit;
|
|
1396
1395
|
}
|
|
1397
1396
|
qc-notice[type=error] ul li a:hover, qc-notice[type=error] ul li a:focus {
|
|
1398
1397
|
text-decoration: none;
|
|
1399
1398
|
}
|
|
1399
|
+
qc-notice {
|
|
1400
|
+
margin-bottom: 3.2rem;
|
|
1401
|
+
}
|
|
1400
1402
|
|
|
1401
1403
|
.qc-piv-header .piv-top .right-section .links ul, qc-piv-header [slot=links], qc-piv-header [slot=links] ul {
|
|
1402
1404
|
list-style: none;
|
|
@@ -1524,9 +1526,6 @@ qc-piv-header a,
|
|
|
1524
1526
|
--qc-color-link-text: white;
|
|
1525
1527
|
--qc-color-link-visited: white;
|
|
1526
1528
|
--qc-color-link-active: white;
|
|
1527
|
-
font-family: var(--qc-font-family-header);
|
|
1528
|
-
text-decoration: none;
|
|
1529
|
-
font-weight: var(--qc-font-weight-regular);
|
|
1530
1529
|
}
|
|
1531
1530
|
qc-piv-header a:hover,
|
|
1532
1531
|
.qc-piv-header a:hover {
|
|
@@ -1537,6 +1536,13 @@ qc-piv-header a:focus-visible:has(img), qc-piv-header a:focus:has(img),
|
|
|
1537
1536
|
.qc-piv-header a:focus:has(img) {
|
|
1538
1537
|
outline-offset: -2px;
|
|
1539
1538
|
}
|
|
1539
|
+
qc-piv-header a, qc-piv-header span,
|
|
1540
|
+
.qc-piv-header a,
|
|
1541
|
+
.qc-piv-header span {
|
|
1542
|
+
font-family: var(--qc-font-family-header);
|
|
1543
|
+
text-decoration: none;
|
|
1544
|
+
font-weight: var(--qc-font-weight-regular);
|
|
1545
|
+
}
|
|
1540
1546
|
|
|
1541
1547
|
.go-to-content {
|
|
1542
1548
|
display: flex;
|
|
@@ -1688,8 +1694,6 @@ qc-piv-footer a:hover {
|
|
|
1688
1694
|
z-index: 10;
|
|
1689
1695
|
background: transparent;
|
|
1690
1696
|
border: 0;
|
|
1691
|
-
flex-shrink: 0;
|
|
1692
|
-
cursor: pointer;
|
|
1693
1697
|
}
|
|
1694
1698
|
.qc-general-alert button::before {
|
|
1695
1699
|
position: absolute;
|
|
@@ -1705,9 +1709,15 @@ qc-piv-footer a:hover {
|
|
|
1705
1709
|
.qc-general-alert button:has(input:focus)::before, .qc-general-alert button:focus::before, .qc-general-alert button:has(textarea:focus)::before {
|
|
1706
1710
|
border: 2px solid var(--qc-color-formfield-focus-border);
|
|
1707
1711
|
}
|
|
1712
|
+
.qc-general-alert button {
|
|
1713
|
+
flex-shrink: 0;
|
|
1714
|
+
}
|
|
1708
1715
|
.qc-general-alert button::before {
|
|
1709
1716
|
background: transparent;
|
|
1710
1717
|
}
|
|
1718
|
+
.qc-general-alert button {
|
|
1719
|
+
cursor: pointer;
|
|
1720
|
+
}
|
|
1711
1721
|
|
|
1712
1722
|
qc-alert {
|
|
1713
1723
|
display: block;
|
|
@@ -1719,6 +1729,11 @@ qc-alert [slot] a, qc-alert:not([slot=content]) a {
|
|
|
1719
1729
|
color: var(--qc-color-blue-piv);
|
|
1720
1730
|
}
|
|
1721
1731
|
|
|
1732
|
+
.qc-to-top[demo=false] {
|
|
1733
|
+
position: fixed;
|
|
1734
|
+
bottom: 9.6rem;
|
|
1735
|
+
right: 3.2rem;
|
|
1736
|
+
}
|
|
1722
1737
|
.qc-to-top {
|
|
1723
1738
|
display: flex;
|
|
1724
1739
|
z-index: 99;
|
|
@@ -1733,11 +1748,6 @@ qc-alert [slot] a, qc-alert:not([slot=content]) a {
|
|
|
1733
1748
|
background-size: 1.6rem 2rem;
|
|
1734
1749
|
box-shadow: 0 var(--qc-box_shadow-1-offset) var(--qc-box_shadow-1-blur) var(--qc-color-box_shadow);
|
|
1735
1750
|
}
|
|
1736
|
-
.qc-to-top[demo=false] {
|
|
1737
|
-
position: fixed;
|
|
1738
|
-
bottom: 9.6rem;
|
|
1739
|
-
right: 3.2rem;
|
|
1740
|
-
}
|
|
1741
1751
|
.qc-to-top[style*=block] {
|
|
1742
1752
|
display: flex !important;
|
|
1743
1753
|
}
|
|
@@ -1783,13 +1793,13 @@ qc-search-input {
|
|
|
1783
1793
|
.qc-search-bar::before, .qc-search-input::before {
|
|
1784
1794
|
border: 1px solid var(--qc-color-formfield-border);
|
|
1785
1795
|
}
|
|
1796
|
+
.qc-search-bar button::before, .qc-search-input button::before {
|
|
1797
|
+
background: transparent;
|
|
1798
|
+
}
|
|
1786
1799
|
.qc-search-bar button, .qc-search-input button {
|
|
1787
1800
|
width: 4rem;
|
|
1788
1801
|
flex-shrink: 0;
|
|
1789
1802
|
}
|
|
1790
|
-
.qc-search-bar button::before, .qc-search-input button::before {
|
|
1791
|
-
background: transparent;
|
|
1792
|
-
}
|
|
1793
1803
|
|
|
1794
1804
|
.qc-search-input.qc-search-left-icon-disabled qc-icon, .qc-search-input.qc-search-left-icon-disabled::before {
|
|
1795
1805
|
background-color: var(--qc-color-grey-pale);
|
|
@@ -1825,12 +1835,12 @@ qc-search-input {
|
|
|
1825
1835
|
.qc-search-input.qc-search-left-icon {
|
|
1826
1836
|
padding-left: var(--qc-spacer-xs);
|
|
1827
1837
|
}
|
|
1828
|
-
.qc-search-input button {
|
|
1829
|
-
cursor: pointer;
|
|
1830
|
-
}
|
|
1831
1838
|
.qc-search-input button::before {
|
|
1832
1839
|
background: transparent;
|
|
1833
1840
|
}
|
|
1841
|
+
.qc-search-input button {
|
|
1842
|
+
cursor: pointer;
|
|
1843
|
+
}
|
|
1834
1844
|
qc-search-bar {
|
|
1835
1845
|
position: relative;
|
|
1836
1846
|
display: block;
|
|
@@ -1893,8 +1903,6 @@ label.qc-selection-button {
|
|
|
1893
1903
|
z-index: 10;
|
|
1894
1904
|
background: transparent;
|
|
1895
1905
|
border: 0;
|
|
1896
|
-
padding: var(--qc-spacer-sm);
|
|
1897
|
-
min-width: 100%;
|
|
1898
1906
|
}
|
|
1899
1907
|
label.qc-selection-button::before {
|
|
1900
1908
|
position: absolute;
|
|
@@ -1910,6 +1918,10 @@ label.qc-selection-button:has(input:focus), label.qc-selection-button:focus, lab
|
|
|
1910
1918
|
label.qc-selection-button:has(input:focus)::before, label.qc-selection-button:focus::before, label.qc-selection-button:has(textarea:focus)::before {
|
|
1911
1919
|
border: 2px solid var(--qc-color-formfield-focus-border);
|
|
1912
1920
|
}
|
|
1921
|
+
label.qc-selection-button {
|
|
1922
|
+
padding: var(--qc-spacer-sm);
|
|
1923
|
+
min-width: 100%;
|
|
1924
|
+
}
|
|
1913
1925
|
label.qc-selection-button::before {
|
|
1914
1926
|
border-style: solid;
|
|
1915
1927
|
border-width: 0.1rem;
|
|
@@ -2491,9 +2503,6 @@ li[aria-selected=true] {
|
|
|
2491
2503
|
z-index: 10;
|
|
2492
2504
|
background: transparent;
|
|
2493
2505
|
border: 0;
|
|
2494
|
-
font-size: var(--qc-font-size-md);
|
|
2495
|
-
line-height: var(--qc-line-height-md);
|
|
2496
|
-
font-weight: var(--qc-font-weight-regular);
|
|
2497
2506
|
}
|
|
2498
2507
|
.qc-dropdown-button::before {
|
|
2499
2508
|
position: absolute;
|
|
@@ -2509,6 +2518,11 @@ li[aria-selected=true] {
|
|
|
2509
2518
|
.qc-dropdown-button:has(input:focus)::before, .qc-dropdown-button:focus::before, .qc-dropdown-button:has(textarea:focus)::before {
|
|
2510
2519
|
border: 2px solid var(--qc-color-formfield-focus-border);
|
|
2511
2520
|
}
|
|
2521
|
+
.qc-dropdown-button {
|
|
2522
|
+
font-size: var(--qc-font-size-md);
|
|
2523
|
+
line-height: var(--qc-line-height-md);
|
|
2524
|
+
font-weight: var(--qc-font-weight-regular);
|
|
2525
|
+
}
|
|
2512
2526
|
.qc-dropdown-button:hover {
|
|
2513
2527
|
cursor: pointer;
|
|
2514
2528
|
}
|
package/public/index.html
CHANGED
|
@@ -600,33 +600,33 @@
|
|
|
600
600
|
<qc-doc-exemple caption="Exemple de différents liens hypertexte selon leurs états.">
|
|
601
601
|
<dl>
|
|
602
602
|
<dt>Lien interne</dt>
|
|
603
|
-
<dd><a href="
|
|
603
|
+
<dd><a href="#" class="not-visited">Lien interne</a></dd>
|
|
604
604
|
<dd>
|
|
605
|
-
<qc-external-link><a href="
|
|
605
|
+
<qc-external-link><a href="#" class="not-visited">Lien externe</a></qc-external-link>
|
|
606
606
|
</dd>
|
|
607
607
|
|
|
608
608
|
<dt>Lien au survol (pseudo-classe :hover)</dt>
|
|
609
|
-
<dd><a href="
|
|
609
|
+
<dd><a href="#" class="pseudo-hover">Lien interne</a></dd>
|
|
610
610
|
<dd>
|
|
611
|
-
<qc-external-link><a href="
|
|
611
|
+
<qc-external-link><a href="#" class="pseudo-hover">Lien externe</a>
|
|
612
612
|
</qc-external-link>
|
|
613
613
|
</dd>
|
|
614
614
|
<dt>Lien au focus (pseudo-classe :focus)</dt>
|
|
615
|
-
<dd><a href="
|
|
615
|
+
<dd><a href="#" class="pseudo-focus">Lien interne</a></dd>
|
|
616
616
|
<dd>
|
|
617
|
-
<qc-external-link><a href="
|
|
617
|
+
<qc-external-link><a href="#" class="pseudo-focus">Lien externe</a>
|
|
618
618
|
</qc-external-link>
|
|
619
619
|
</dd>
|
|
620
620
|
<dt>Lien au clic (pseudo-classe :active)</dt>
|
|
621
|
-
<dd><a href="
|
|
621
|
+
<dd><a href="#" class="pseudo-active">Lien interne</a></dd>
|
|
622
622
|
<dd>
|
|
623
|
-
<qc-external-link><a href="
|
|
623
|
+
<qc-external-link><a href="#" class="pseudo-active">Lien externe</a>
|
|
624
624
|
</qc-external-link>
|
|
625
625
|
</dd>
|
|
626
626
|
<dt>Lien visité (pseudo-classe :visited)</dt>
|
|
627
|
-
<dd><a href="
|
|
627
|
+
<dd><a href="#" class="pseudo-visited">Lien interne</a></dd>
|
|
628
628
|
<dd>
|
|
629
|
-
<qc-external-link><a href="
|
|
629
|
+
<qc-external-link><a href="#" class="pseudo-visited">Lien externe</a>
|
|
630
630
|
</qc-external-link>
|
|
631
631
|
</dd>
|
|
632
632
|
</dl>
|
|
@@ -839,7 +839,7 @@
|
|
|
839
839
|
<h3>Exemples</h3>
|
|
840
840
|
<h4>Alerte jaune</h4>
|
|
841
841
|
<p>
|
|
842
|
-
<a href="
|
|
842
|
+
<a href="#"
|
|
843
843
|
id="show-qc-alert"
|
|
844
844
|
hidden
|
|
845
845
|
>
|
|
@@ -863,7 +863,7 @@
|
|
|
863
863
|
caption="Exemple d’alerte générale">
|
|
864
864
|
<qc-alert type="general"
|
|
865
865
|
maskable="false">
|
|
866
|
-
<p>Alerte bleue d’importance modérée <a href="
|
|
866
|
+
<p>Alerte bleue d’importance modérée <a href="#">avec un lien textuel</a></p>
|
|
867
867
|
</qc-alert>
|
|
868
868
|
</qc-doc-exemple>
|
|
869
869
|
|
|
@@ -1009,13 +1009,13 @@
|
|
|
1009
1009
|
title="Des erreurs sont présentes dans le formulaire :">
|
|
1010
1010
|
<ul>
|
|
1011
1011
|
<li>
|
|
1012
|
-
<a href="
|
|
1012
|
+
<a href="#">Le champ « Nom de famille » est obligatoire ;</a>
|
|
1013
1013
|
</li>
|
|
1014
1014
|
<li>
|
|
1015
|
-
<a href="
|
|
1015
|
+
<a href="#">Le champ « Prénom » est obligatoire ;</a>
|
|
1016
1016
|
</li>
|
|
1017
1017
|
<li>
|
|
1018
|
-
<a href="
|
|
1018
|
+
<a href="#">Le champ « Numéro de dossier » est obligatoire.</a>
|
|
1019
1019
|
</li>
|
|
1020
1020
|
</ul>
|
|
1021
1021
|
</qc-notice>
|
|
@@ -1708,8 +1708,6 @@
|
|
|
1708
1708
|
</table>
|
|
1709
1709
|
</div>
|
|
1710
1710
|
|
|
1711
|
-
<p>Pour les autres attributs, voir la rubrique de <a href="#selection-button-attributes">boutons de sélection</a>.</p>
|
|
1712
|
-
|
|
1713
1711
|
<h5>Zone d’ajout de contenu HTML</h5>
|
|
1714
1712
|
|
|
1715
1713
|
<p>Ce composant ne comporte qu'une seule zone d'ajout de contenu par défaut.</p>
|
|
@@ -2120,11 +2118,6 @@
|
|
|
2120
2118
|
</table>
|
|
2121
2119
|
</div>
|
|
2122
2120
|
|
|
2123
|
-
<h4>Champs alignés horizontalement (classe <code>qc-textfield-row</code>)</h4>
|
|
2124
|
-
|
|
2125
|
-
<p>Les champs regroupés sur une ligne peuvent être placés dans un div avec la classe <code>qc-textfield-row</code>. De cette façon, les messages d'erreur ne provoquent pas de décalage. <br/>
|
|
2126
|
-
Voir le code des champs Téléphone et Poste dans l'exemple ci-dessus.</p>
|
|
2127
|
-
|
|
2128
2121
|
<h4>Propriété js</h4>
|
|
2129
2122
|
<div class="table-overflow">
|
|
2130
2123
|
<table class="qc-table qc-striped component-attributes-description">
|
|
@@ -2627,9 +2620,14 @@
|
|
|
2627
2620
|
<p>Ce composant ne comporte qu'une seule zone d'ajout de contenu.</p>
|
|
2628
2621
|
|
|
2629
2622
|
<hr/>
|
|
2630
|
-
<h3 id="champs-alignes">Champs alignés horizontalement (classe <code>qc‑
|
|
2623
|
+
<h3 id="champs-alignes">Champs alignés horizontalement (classe <code>qc‑formfield‑row</code>)</h3>
|
|
2631
2624
|
|
|
2632
|
-
<p>
|
|
2625
|
+
<p>
|
|
2626
|
+
Les champs regroupés sur une ligne doivent être placés dans un <code>div</code> avec la classe <code>qc-formfield-row</code>.
|
|
2627
|
+
De cette façon, les messages d'erreur ne provoquent pas de décalage.
|
|
2628
|
+
<br/><br/>
|
|
2629
|
+
Voir le code des champs Téléphone et Poste dans l'exemple ci-dessus.
|
|
2630
|
+
</p>
|
|
2633
2631
|
|
|
2634
2632
|
<h4>Exemple</h4>
|
|
2635
2633
|
<qc-doc-exemple caption="Exemple de champs sur une seule ligne">
|
|
@@ -2731,11 +2729,6 @@
|
|
|
2731
2729
|
});
|
|
2732
2730
|
</script>
|
|
2733
2731
|
|
|
2734
|
-
<h4>Documentation technique</h4>
|
|
2735
|
-
<p>Placer les champs à regrouper sur une seule ligne dans un div avec la classe <code>qc-formfield-row</code></p>
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
2732
|
<hr/>
|
|
2740
2733
|
<h2 id="toTop">Haut de page</h2>
|
|
2741
2734
|
<p>
|
|
@@ -2811,7 +2804,7 @@
|
|
|
2811
2804
|
<ul>
|
|
2812
2805
|
<li><a href="#fakeEnglish">English</a>
|
|
2813
2806
|
</li>
|
|
2814
|
-
<li><a href="
|
|
2807
|
+
<li><a href="#">Nous joindre</a>
|
|
2815
2808
|
</li>
|
|
2816
2809
|
</ul>
|
|
2817
2810
|
</nav>
|
|
@@ -2832,7 +2825,7 @@
|
|
|
2832
2825
|
<ul slot="links">
|
|
2833
2826
|
<li><a href="#fakeEnglish">English</a>
|
|
2834
2827
|
</li>
|
|
2835
|
-
<li><a href="
|
|
2828
|
+
<li><a href="#">Nous joindre</a>
|
|
2836
2829
|
</li>
|
|
2837
2830
|
</ul>
|
|
2838
2831
|
|