@ds-autonomie/web-components 2.3.0 → 2.3.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.
- package/CHANGELOG.md +10 -0
- package/cdn/chunks/{chunk.ERQYJQKU.js → chunk.2P3IVRMK.js} +3 -2
- package/cdn/chunks/{chunk.D2LMY47K.js → chunk.3OSWL542.js} +9 -0
- package/cdn/chunks/{chunk.G7UC5QGP.js → chunk.55Y4QE5R.js} +1 -1
- package/cdn/chunks/{chunk.OMBOQURT.js → chunk.5BWMYJNC.js} +1 -1
- package/{dist/chunks/chunk.6BXZEG5L.js → cdn/chunks/chunk.6YEPFMKU.js} +3 -3
- package/cdn/chunks/{chunk.LYPHJJYB.js → chunk.AATBJDAH.js} +3 -3
- package/cdn/chunks/{chunk.IZ6KYT7R.js → chunk.AVH4JYLK.js} +17 -16
- package/cdn/chunks/{chunk.ZVQQ7DON.js → chunk.EEKS3ZN7.js} +0 -2
- package/cdn/chunks/{chunk.2T2ABKP4.js → chunk.EHSLOI5L.js} +1 -1
- package/cdn/chunks/{chunk.2QGLZHHF.js → chunk.GS6TNOKD.js} +1 -1
- package/cdn/chunks/{chunk.DKFGG7WX.js → chunk.ISEH6AO6.js} +10 -3
- package/cdn/chunks/{chunk.LLZPEDQW.js → chunk.JHXMD4L2.js} +1 -1
- package/cdn/chunks/{chunk.WOKVCL7Q.js → chunk.JIUJNSW6.js} +1 -1
- package/cdn/chunks/{chunk.I4EWJGZZ.js → chunk.KS7QG726.js} +10 -3
- package/cdn/chunks/{chunk.CL4C4BFH.js → chunk.LBM4RHMA.js} +2 -0
- package/cdn/chunks/{chunk.74QWC4UR.js → chunk.M53HNM5Y.js} +9 -8
- package/cdn/chunks/{chunk.DNQJR4KR.js → chunk.OMPBUYUW.js} +1 -3
- package/cdn/chunks/{chunk.WE7BT7PI.js → chunk.QEPPYDSN.js} +1 -1
- package/cdn/chunks/{chunk.5AKIIMXP.js → chunk.RJUKDJQG.js} +6 -1
- package/cdn/chunks/{chunk.YWD53U3T.js → chunk.S3G2QBTA.js} +3 -3
- package/cdn/chunks/{chunk.ITHTXYNC.js → chunk.TGMW5D2F.js} +1 -0
- package/cdn/chunks/{chunk.SF3YU6PZ.js → chunk.TOWWOPMH.js} +0 -3
- package/cdn/chunks/{chunk.WCF4VYWI.js → chunk.VZPL3NCB.js} +3 -3
- package/cdn/chunks/{chunk.PQYUBPRU.js → chunk.W6N2ZQTH.js} +3 -2
- package/cdn/chunks/{chunk.CKDGFB52.js → chunk.WYBADVDH.js} +22 -16
- package/cdn/chunks/{core-js.JQALWJRI.js → core-js.TKFIM466.js} +1 -1
- package/cdn/chunks/{dom.47DVCSJV.js → dom.6JFLMPA6.js} +1 -1
- package/cdn/chunks/{wc-datepicker.entry.XBA7YLCU.js → wc-datepicker.entry.Y6YDPVTT.js} +3 -3
- package/cdn/components/calendar/calendar.js +3 -3
- package/cdn/components/checkbox-card/checkbox-card.js +1 -1
- package/cdn/components/combobox/combobox.js +3 -3
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/file-upload/file-upload.js +1 -1
- package/cdn/components/file-upload-item/file-upload-item.js +2 -1
- package/cdn/components/filter-base/filter-base.js +1 -1
- package/cdn/components/filter-counter/filter-counter.js +10 -10
- package/cdn/components/filter-date/filter-date.js +6 -6
- package/cdn/components/filter-range/filter-range.js +10 -10
- package/cdn/components/filter-select/filter-select.js +11 -11
- package/cdn/components/input/input.js +10 -10
- package/cdn/components/input-date/input-date.js +7 -7
- package/cdn/components/input-mask/input-mask.js +2 -2
- package/cdn/components/input-otp/input-otp.js +2 -2
- package/cdn/components/input-phone/input-phone.js +4 -4
- package/cdn/components/input-time/input-time.js +4 -4
- package/cdn/components/input-time/input-time.styles.js +1 -1
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.js +1 -1
- package/cdn/components/pagination/pagination.js +11 -11
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/profile-button/profile-button.js +1 -1
- package/cdn/components/progress-bar/progress-bar.d.ts +1 -1
- package/cdn/components/progress-ring/progress-ring.d.ts +2 -2
- package/cdn/components/progress-ring/progress-ring.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-card/radio-card.js +1 -1
- package/cdn/components/select/select.js +3 -3
- package/cdn/components/table-of-contents/table-of-contents.js +1 -1
- package/cdn/components/textarea/textarea.js +2 -2
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/custom-elements.json +171 -170
- package/cdn/design-system.js +25 -25
- package/cdn/internal/components/date-field/date-field.js +16 -13
- package/cdn/internal/components/form-control/form-control-layout.d.ts +0 -1
- package/cdn/internal/components/form-control/form-control-layout.js +0 -3
- package/cdn/internal/components/radio-icon/radio-icon.styles.js +9 -0
- package/cdn/utilities/date.js +1 -1
- package/cdn/vscode.html-custom-data.json +28 -28
- package/cdn/web-types.json +79 -79
- package/dist/chunks/{chunk.XDEXZL3R.js → chunk.2BZBH3CX.js} +9 -0
- package/dist/chunks/{chunk.I2PWWNDZ.js → chunk.2KECVLQH.js} +3 -3
- package/dist/chunks/{chunk.Z2YO6E64.js → chunk.2YE5HPSL.js} +4 -3
- package/dist/chunks/{chunk.P5DC3N5P.js → chunk.3JLROK74.js} +22 -16
- package/dist/chunks/{chunk.CN6TUCPE.js → chunk.4C3EA7WT.js} +1 -1
- package/dist/chunks/{chunk.UL2XNE5X.js → chunk.4YOAT5R7.js} +1 -1
- package/dist/chunks/{chunk.52V3WTR3.js → chunk.52CUBOF2.js} +1 -1
- package/dist/chunks/{chunk.D6SKE3AF.js → chunk.6UCJKKYR.js} +1 -1
- package/{cdn/chunks/chunk.6BXZEG5L.js → dist/chunks/chunk.6YEPFMKU.js} +3 -3
- package/dist/chunks/{chunk.GGBIEJ25.js → chunk.7BE555XS.js} +1 -1
- package/dist/chunks/{chunk.DLACE2NU.js → chunk.BALZ7HK5.js} +2 -0
- package/dist/chunks/{chunk.AFRAGNLK.js → chunk.GZO5TQGU.js} +3 -2
- package/dist/chunks/{chunk.L2EOSD7N.js → chunk.IHTWK22H.js} +1 -3
- package/dist/chunks/{chunk.WELYJWNG.js → chunk.JNZTWND7.js} +6 -1
- package/dist/chunks/{chunk.BQEHELQ5.js → chunk.KGZLC7FO.js} +1 -0
- package/dist/chunks/{chunk.7YIOE3D2.js → chunk.KQJQQDCQ.js} +3 -2
- package/dist/chunks/{chunk.5EBCNG2J.js → chunk.LGDM46D4.js} +0 -3
- package/dist/chunks/{chunk.4P7DDUA4.js → chunk.NHPMJYPM.js} +4 -1
- package/dist/chunks/{chunk.GW2MJTCT.js → chunk.RCN745RS.js} +1 -1
- package/dist/chunks/{chunk.KQ224IDT.js → chunk.SP5JKDHH.js} +0 -2
- package/dist/chunks/{chunk.IDGKF6AP.js → chunk.THO67JP2.js} +1 -1
- package/dist/chunks/{chunk.O4WGPUE5.js → chunk.UJAK75R6.js} +3 -3
- package/dist/chunks/{chunk.B4SMUSVU.js → chunk.XE37RME4.js} +17 -16
- package/dist/components/calendar/calendar.js +2 -2
- package/dist/components/checkbox-card/checkbox-card.js +1 -1
- package/dist/components/combobox/combobox.js +2 -2
- package/dist/components/file-upload/file-upload.js +1 -1
- package/dist/components/file-upload-item/file-upload-item.js +1 -1
- package/dist/components/filter-counter/filter-counter.js +8 -8
- package/dist/components/filter-date/filter-date.js +4 -4
- package/dist/components/filter-range/filter-range.js +8 -8
- package/dist/components/filter-select/filter-select.js +9 -9
- package/dist/components/input/input.js +8 -8
- package/dist/components/input-date/input-date.js +5 -5
- package/dist/components/input-mask/input-mask.js +2 -2
- package/dist/components/input-otp/input-otp.js +2 -2
- package/dist/components/input-phone/input-phone.js +3 -3
- package/dist/components/input-time/input-time.js +3 -3
- package/dist/components/input-time/input-time.styles.js +1 -1
- package/dist/components/menu-item/menu-item.js +1 -1
- package/dist/components/pagination/pagination.js +9 -9
- package/dist/components/progress-bar/progress-bar.d.ts +1 -1
- package/dist/components/progress-ring/progress-ring.d.ts +2 -2
- package/dist/components/progress-ring/progress-ring.js +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-card/radio-card.js +1 -1
- package/dist/components/select/select.js +2 -2
- package/dist/components/table-of-contents/table-of-contents.js +1 -1
- package/dist/components/textarea/textarea.js +2 -2
- package/dist/custom-elements.json +171 -170
- package/dist/design-system.js +23 -23
- package/dist/internal/components/date-field/date-field.js +16 -13
- package/dist/internal/components/form-control/form-control-layout.d.ts +0 -1
- package/dist/internal/components/form-control/form-control-layout.js +0 -3
- package/dist/internal/components/radio-icon/radio-icon.styles.js +9 -0
- package/dist/utilities/date.js +1 -1
- package/dist/vscode.html-custom-data.json +28 -28
- package/dist/web-types.json +79 -79
- package/package.json +25 -25
package/cdn/custom-elements.json
CHANGED
|
@@ -19083,7 +19083,8 @@
|
|
|
19083
19083
|
},
|
|
19084
19084
|
"default": "false",
|
|
19085
19085
|
"description": "Aspect of the pagination. Should be false when used for table pagination",
|
|
19086
|
-
"attribute": "compact"
|
|
19086
|
+
"attribute": "compact",
|
|
19087
|
+
"reflects": true
|
|
19087
19088
|
},
|
|
19088
19089
|
{
|
|
19089
19090
|
"kind": "field",
|
|
@@ -20246,7 +20247,7 @@
|
|
|
20246
20247
|
"text": "boolean"
|
|
20247
20248
|
},
|
|
20248
20249
|
"default": "false",
|
|
20249
|
-
"description": "When true, percentage is ignored, the
|
|
20250
|
+
"description": "When true, percentage is ignored, the value is hidden, and the progress bar is drawn in an indeterminate state.",
|
|
20250
20251
|
"attribute": "indeterminate",
|
|
20251
20252
|
"reflects": true
|
|
20252
20253
|
},
|
|
@@ -20277,7 +20278,7 @@
|
|
|
20277
20278
|
"text": "boolean"
|
|
20278
20279
|
},
|
|
20279
20280
|
"default": "false",
|
|
20280
|
-
"description": "When true, percentage is ignored, the
|
|
20281
|
+
"description": "When true, percentage is ignored, the value is hidden, and the progress bar is drawn in an indeterminate state.",
|
|
20281
20282
|
"fieldName": "indeterminate"
|
|
20282
20283
|
},
|
|
20283
20284
|
{
|
|
@@ -20319,120 +20320,6 @@
|
|
|
20319
20320
|
}
|
|
20320
20321
|
]
|
|
20321
20322
|
},
|
|
20322
|
-
{
|
|
20323
|
-
"kind": "javascript-module",
|
|
20324
|
-
"path": "components/progress-ring/progress-ring.js",
|
|
20325
|
-
"declarations": [
|
|
20326
|
-
{
|
|
20327
|
-
"kind": "class",
|
|
20328
|
-
"description": "",
|
|
20329
|
-
"name": "DSAProgressRing",
|
|
20330
|
-
"members": [
|
|
20331
|
-
{
|
|
20332
|
-
"kind": "field",
|
|
20333
|
-
"name": "indicator",
|
|
20334
|
-
"type": {
|
|
20335
|
-
"text": "SVGCircleElement"
|
|
20336
|
-
}
|
|
20337
|
-
},
|
|
20338
|
-
{
|
|
20339
|
-
"kind": "field",
|
|
20340
|
-
"name": "indicatorOffset",
|
|
20341
|
-
"type": {
|
|
20342
|
-
"text": "string"
|
|
20343
|
-
}
|
|
20344
|
-
},
|
|
20345
|
-
{
|
|
20346
|
-
"kind": "field",
|
|
20347
|
-
"name": "value",
|
|
20348
|
-
"type": {
|
|
20349
|
-
"text": "number"
|
|
20350
|
-
},
|
|
20351
|
-
"default": "0",
|
|
20352
|
-
"description": "The current progress as a percentage, 0 to 100.",
|
|
20353
|
-
"attribute": "value",
|
|
20354
|
-
"reflects": true
|
|
20355
|
-
},
|
|
20356
|
-
{
|
|
20357
|
-
"kind": "field",
|
|
20358
|
-
"name": "label",
|
|
20359
|
-
"type": {
|
|
20360
|
-
"text": "string"
|
|
20361
|
-
},
|
|
20362
|
-
"default": "''",
|
|
20363
|
-
"description": "A custom label for assistive devices.",
|
|
20364
|
-
"attribute": "label"
|
|
20365
|
-
},
|
|
20366
|
-
{
|
|
20367
|
-
"kind": "field",
|
|
20368
|
-
"name": "size",
|
|
20369
|
-
"type": {
|
|
20370
|
-
"text": "'small' | 'medium'"
|
|
20371
|
-
},
|
|
20372
|
-
"default": "'medium'",
|
|
20373
|
-
"description": "The progress-ring's size.",
|
|
20374
|
-
"attribute": "size",
|
|
20375
|
-
"reflects": true
|
|
20376
|
-
}
|
|
20377
|
-
],
|
|
20378
|
-
"attributes": [
|
|
20379
|
-
{
|
|
20380
|
-
"name": "value",
|
|
20381
|
-
"type": {
|
|
20382
|
-
"text": "number"
|
|
20383
|
-
},
|
|
20384
|
-
"default": "0",
|
|
20385
|
-
"description": "The current progress as a percentage, 0 to 100.",
|
|
20386
|
-
"fieldName": "value"
|
|
20387
|
-
},
|
|
20388
|
-
{
|
|
20389
|
-
"name": "label",
|
|
20390
|
-
"type": {
|
|
20391
|
-
"text": "string"
|
|
20392
|
-
},
|
|
20393
|
-
"default": "''",
|
|
20394
|
-
"description": "A custom label for assistive devices.",
|
|
20395
|
-
"fieldName": "label"
|
|
20396
|
-
},
|
|
20397
|
-
{
|
|
20398
|
-
"name": "size",
|
|
20399
|
-
"type": {
|
|
20400
|
-
"text": "'small' | 'medium'"
|
|
20401
|
-
},
|
|
20402
|
-
"default": "'medium'",
|
|
20403
|
-
"description": "The progress-ring's size.",
|
|
20404
|
-
"fieldName": "size"
|
|
20405
|
-
}
|
|
20406
|
-
],
|
|
20407
|
-
"superclass": {
|
|
20408
|
-
"name": "ShoelaceElement",
|
|
20409
|
-
"module": "/src/internal/shoelace-element"
|
|
20410
|
-
},
|
|
20411
|
-
"summary": "Progress rings are used to show the progress of a determinate operation in a circular fashion.",
|
|
20412
|
-
"documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/indicateurs-de-progression-progress-indicators/roue-de-progression-progress-ring/web-wyY0Fgvv",
|
|
20413
|
-
"tagName": "dsa-progress-ring",
|
|
20414
|
-
"customElement": true
|
|
20415
|
-
}
|
|
20416
|
-
],
|
|
20417
|
-
"exports": [
|
|
20418
|
-
{
|
|
20419
|
-
"kind": "js",
|
|
20420
|
-
"name": "default",
|
|
20421
|
-
"declaration": {
|
|
20422
|
-
"name": "DSAProgressRing",
|
|
20423
|
-
"module": "components/progress-ring/progress-ring.js"
|
|
20424
|
-
}
|
|
20425
|
-
},
|
|
20426
|
-
{
|
|
20427
|
-
"kind": "custom-element-definition",
|
|
20428
|
-
"name": "dsa-progress-ring",
|
|
20429
|
-
"declaration": {
|
|
20430
|
-
"name": "DSAProgressRing",
|
|
20431
|
-
"module": "components/progress-ring/progress-ring.js"
|
|
20432
|
-
}
|
|
20433
|
-
}
|
|
20434
|
-
]
|
|
20435
|
-
},
|
|
20436
20323
|
{
|
|
20437
20324
|
"kind": "javascript-module",
|
|
20438
20325
|
"path": "components/quote/quote.js",
|
|
@@ -20598,6 +20485,120 @@
|
|
|
20598
20485
|
}
|
|
20599
20486
|
]
|
|
20600
20487
|
},
|
|
20488
|
+
{
|
|
20489
|
+
"kind": "javascript-module",
|
|
20490
|
+
"path": "components/progress-ring/progress-ring.js",
|
|
20491
|
+
"declarations": [
|
|
20492
|
+
{
|
|
20493
|
+
"kind": "class",
|
|
20494
|
+
"description": "",
|
|
20495
|
+
"name": "DSAProgressRing",
|
|
20496
|
+
"members": [
|
|
20497
|
+
{
|
|
20498
|
+
"kind": "field",
|
|
20499
|
+
"name": "indicator",
|
|
20500
|
+
"type": {
|
|
20501
|
+
"text": "SVGCircleElement"
|
|
20502
|
+
}
|
|
20503
|
+
},
|
|
20504
|
+
{
|
|
20505
|
+
"kind": "field",
|
|
20506
|
+
"name": "indicatorOffset",
|
|
20507
|
+
"type": {
|
|
20508
|
+
"text": "string"
|
|
20509
|
+
}
|
|
20510
|
+
},
|
|
20511
|
+
{
|
|
20512
|
+
"kind": "field",
|
|
20513
|
+
"name": "value",
|
|
20514
|
+
"type": {
|
|
20515
|
+
"text": "number"
|
|
20516
|
+
},
|
|
20517
|
+
"default": "0",
|
|
20518
|
+
"description": "The current progress as a percentage, 0 to 100.",
|
|
20519
|
+
"attribute": "value",
|
|
20520
|
+
"reflects": true
|
|
20521
|
+
},
|
|
20522
|
+
{
|
|
20523
|
+
"kind": "field",
|
|
20524
|
+
"name": "label",
|
|
20525
|
+
"type": {
|
|
20526
|
+
"text": "string"
|
|
20527
|
+
},
|
|
20528
|
+
"default": "''",
|
|
20529
|
+
"description": "A custom label for assistive devices.",
|
|
20530
|
+
"attribute": "label"
|
|
20531
|
+
},
|
|
20532
|
+
{
|
|
20533
|
+
"kind": "field",
|
|
20534
|
+
"name": "size",
|
|
20535
|
+
"type": {
|
|
20536
|
+
"text": "'small' | 'medium'"
|
|
20537
|
+
},
|
|
20538
|
+
"default": "'medium'",
|
|
20539
|
+
"description": "The progress-ring's size.",
|
|
20540
|
+
"attribute": "size",
|
|
20541
|
+
"reflects": true
|
|
20542
|
+
}
|
|
20543
|
+
],
|
|
20544
|
+
"attributes": [
|
|
20545
|
+
{
|
|
20546
|
+
"name": "value",
|
|
20547
|
+
"type": {
|
|
20548
|
+
"text": "number"
|
|
20549
|
+
},
|
|
20550
|
+
"default": "0",
|
|
20551
|
+
"description": "The current progress as a percentage, 0 to 100.",
|
|
20552
|
+
"fieldName": "value"
|
|
20553
|
+
},
|
|
20554
|
+
{
|
|
20555
|
+
"name": "label",
|
|
20556
|
+
"type": {
|
|
20557
|
+
"text": "string"
|
|
20558
|
+
},
|
|
20559
|
+
"default": "''",
|
|
20560
|
+
"description": "A custom label for assistive devices.",
|
|
20561
|
+
"fieldName": "label"
|
|
20562
|
+
},
|
|
20563
|
+
{
|
|
20564
|
+
"name": "size",
|
|
20565
|
+
"type": {
|
|
20566
|
+
"text": "'small' | 'medium'"
|
|
20567
|
+
},
|
|
20568
|
+
"default": "'medium'",
|
|
20569
|
+
"description": "The progress-ring's size.",
|
|
20570
|
+
"fieldName": "size"
|
|
20571
|
+
}
|
|
20572
|
+
],
|
|
20573
|
+
"superclass": {
|
|
20574
|
+
"name": "ShoelaceElement",
|
|
20575
|
+
"module": "/src/internal/shoelace-element"
|
|
20576
|
+
},
|
|
20577
|
+
"summary": "Progress rings are used to show the progress of a determinate operation in a circular fashion.",
|
|
20578
|
+
"documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/indicateurs-de-progression-progress-indicators/roue-de-progression-progress-ring/web-wyY0Fgvv",
|
|
20579
|
+
"tagName": "dsa-progress-ring",
|
|
20580
|
+
"customElement": true
|
|
20581
|
+
}
|
|
20582
|
+
],
|
|
20583
|
+
"exports": [
|
|
20584
|
+
{
|
|
20585
|
+
"kind": "js",
|
|
20586
|
+
"name": "default",
|
|
20587
|
+
"declaration": {
|
|
20588
|
+
"name": "DSAProgressRing",
|
|
20589
|
+
"module": "components/progress-ring/progress-ring.js"
|
|
20590
|
+
}
|
|
20591
|
+
},
|
|
20592
|
+
{
|
|
20593
|
+
"kind": "custom-element-definition",
|
|
20594
|
+
"name": "dsa-progress-ring",
|
|
20595
|
+
"declaration": {
|
|
20596
|
+
"name": "DSAProgressRing",
|
|
20597
|
+
"module": "components/progress-ring/progress-ring.js"
|
|
20598
|
+
}
|
|
20599
|
+
}
|
|
20600
|
+
]
|
|
20601
|
+
},
|
|
20601
20602
|
{
|
|
20602
20603
|
"kind": "javascript-module",
|
|
20603
20604
|
"path": "components/radio/radio.js",
|
|
@@ -23003,6 +23004,58 @@
|
|
|
23003
23004
|
}
|
|
23004
23005
|
]
|
|
23005
23006
|
},
|
|
23007
|
+
{
|
|
23008
|
+
"kind": "javascript-module",
|
|
23009
|
+
"path": "components/skip-links/skip-links.js",
|
|
23010
|
+
"declarations": [
|
|
23011
|
+
{
|
|
23012
|
+
"kind": "class",
|
|
23013
|
+
"description": "",
|
|
23014
|
+
"name": "DSASkipLinks",
|
|
23015
|
+
"slots": [
|
|
23016
|
+
{
|
|
23017
|
+
"description": "The link options. Must be `<dsa-skip-link-item>` elements.",
|
|
23018
|
+
"name": ""
|
|
23019
|
+
}
|
|
23020
|
+
],
|
|
23021
|
+
"members": [
|
|
23022
|
+
{
|
|
23023
|
+
"kind": "field",
|
|
23024
|
+
"name": "localize",
|
|
23025
|
+
"privacy": "private",
|
|
23026
|
+
"readonly": true,
|
|
23027
|
+
"default": "new LocalizeController(this)"
|
|
23028
|
+
}
|
|
23029
|
+
],
|
|
23030
|
+
"superclass": {
|
|
23031
|
+
"name": "ShoelaceElement",
|
|
23032
|
+
"module": "/src/internal/shoelace-element"
|
|
23033
|
+
},
|
|
23034
|
+
"summary": "Skip links allows users to jump directly to specific content areas, bypassing repetitive or navigational elements. Skip links are often placed at the beginning of a web page and are hidden from the visual layout until they receive focus.",
|
|
23035
|
+
"documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/lien-d-acces-rapide-quick-access-link/web-EDrofFeg",
|
|
23036
|
+
"tagName": "dsa-skip-links",
|
|
23037
|
+
"customElement": true
|
|
23038
|
+
}
|
|
23039
|
+
],
|
|
23040
|
+
"exports": [
|
|
23041
|
+
{
|
|
23042
|
+
"kind": "js",
|
|
23043
|
+
"name": "default",
|
|
23044
|
+
"declaration": {
|
|
23045
|
+
"name": "DSASkipLinks",
|
|
23046
|
+
"module": "components/skip-links/skip-links.js"
|
|
23047
|
+
}
|
|
23048
|
+
},
|
|
23049
|
+
{
|
|
23050
|
+
"kind": "custom-element-definition",
|
|
23051
|
+
"name": "dsa-skip-links",
|
|
23052
|
+
"declaration": {
|
|
23053
|
+
"name": "DSASkipLinks",
|
|
23054
|
+
"module": "components/skip-links/skip-links.js"
|
|
23055
|
+
}
|
|
23056
|
+
}
|
|
23057
|
+
]
|
|
23058
|
+
},
|
|
23006
23059
|
{
|
|
23007
23060
|
"kind": "javascript-module",
|
|
23008
23061
|
"path": "components/skip-link-item/skip-link-item.js",
|
|
@@ -23105,58 +23158,6 @@
|
|
|
23105
23158
|
}
|
|
23106
23159
|
]
|
|
23107
23160
|
},
|
|
23108
|
-
{
|
|
23109
|
-
"kind": "javascript-module",
|
|
23110
|
-
"path": "components/skip-links/skip-links.js",
|
|
23111
|
-
"declarations": [
|
|
23112
|
-
{
|
|
23113
|
-
"kind": "class",
|
|
23114
|
-
"description": "",
|
|
23115
|
-
"name": "DSASkipLinks",
|
|
23116
|
-
"slots": [
|
|
23117
|
-
{
|
|
23118
|
-
"description": "The link options. Must be `<dsa-skip-link-item>` elements.",
|
|
23119
|
-
"name": ""
|
|
23120
|
-
}
|
|
23121
|
-
],
|
|
23122
|
-
"members": [
|
|
23123
|
-
{
|
|
23124
|
-
"kind": "field",
|
|
23125
|
-
"name": "localize",
|
|
23126
|
-
"privacy": "private",
|
|
23127
|
-
"readonly": true,
|
|
23128
|
-
"default": "new LocalizeController(this)"
|
|
23129
|
-
}
|
|
23130
|
-
],
|
|
23131
|
-
"superclass": {
|
|
23132
|
-
"name": "ShoelaceElement",
|
|
23133
|
-
"module": "/src/internal/shoelace-element"
|
|
23134
|
-
},
|
|
23135
|
-
"summary": "Skip links allows users to jump directly to specific content areas, bypassing repetitive or navigational elements. Skip links are often placed at the beginning of a web page and are hidden from the visual layout until they receive focus.",
|
|
23136
|
-
"documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/lien-d-acces-rapide-quick-access-link/web-EDrofFeg",
|
|
23137
|
-
"tagName": "dsa-skip-links",
|
|
23138
|
-
"customElement": true
|
|
23139
|
-
}
|
|
23140
|
-
],
|
|
23141
|
-
"exports": [
|
|
23142
|
-
{
|
|
23143
|
-
"kind": "js",
|
|
23144
|
-
"name": "default",
|
|
23145
|
-
"declaration": {
|
|
23146
|
-
"name": "DSASkipLinks",
|
|
23147
|
-
"module": "components/skip-links/skip-links.js"
|
|
23148
|
-
}
|
|
23149
|
-
},
|
|
23150
|
-
{
|
|
23151
|
-
"kind": "custom-element-definition",
|
|
23152
|
-
"name": "dsa-skip-links",
|
|
23153
|
-
"declaration": {
|
|
23154
|
-
"name": "DSASkipLinks",
|
|
23155
|
-
"module": "components/skip-links/skip-links.js"
|
|
23156
|
-
}
|
|
23157
|
-
}
|
|
23158
|
-
]
|
|
23159
|
-
},
|
|
23160
23161
|
{
|
|
23161
23162
|
"kind": "javascript-module",
|
|
23162
23163
|
"path": "components/spinner/spinner.js",
|
|
@@ -29159,7 +29160,7 @@
|
|
|
29159
29160
|
],
|
|
29160
29161
|
"package": {
|
|
29161
29162
|
"name": "@ds-autonomie/web-components",
|
|
29162
|
-
"version": "2.3.
|
|
29163
|
+
"version": "2.3.1",
|
|
29163
29164
|
"author": "CNSA",
|
|
29164
29165
|
"homepage": "https://dsa.service-public-autonomie.fr",
|
|
29165
29166
|
"license": "MIT"
|
package/cdn/design-system.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import "./chunks/chunk.7ZBB555K.js";
|
|
15
15
|
import {
|
|
16
16
|
DSATextarea
|
|
17
|
-
} from "./chunks/chunk.
|
|
17
|
+
} from "./chunks/chunk.JIUJNSW6.js";
|
|
18
18
|
import "./chunks/chunk.V5TMX44U.js";
|
|
19
19
|
import {
|
|
20
20
|
DSATableHeaderRow
|
|
@@ -30,7 +30,7 @@ import "./chunks/chunk.W4FOPJHU.js";
|
|
|
30
30
|
import "./chunks/chunk.JEWSMUZM.js";
|
|
31
31
|
import {
|
|
32
32
|
DSATableOfContents
|
|
33
|
-
} from "./chunks/chunk.
|
|
33
|
+
} from "./chunks/chunk.EEKS3ZN7.js";
|
|
34
34
|
import "./chunks/chunk.4MBYAP5S.js";
|
|
35
35
|
import "./chunks/chunk.4HCR3FZE.js";
|
|
36
36
|
import {
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
import "./chunks/chunk.SJM6TZPX.js";
|
|
148
148
|
import {
|
|
149
149
|
DSAProgressRing
|
|
150
|
-
} from "./chunks/chunk.
|
|
150
|
+
} from "./chunks/chunk.S3G2QBTA.js";
|
|
151
151
|
import "./chunks/chunk.KNHNBAPO.js";
|
|
152
152
|
import {
|
|
153
153
|
DSANavbarMenu
|
|
@@ -155,7 +155,7 @@ import {
|
|
|
155
155
|
import "./chunks/chunk.EZAK6TIK.js";
|
|
156
156
|
import {
|
|
157
157
|
DSAPagination
|
|
158
|
-
} from "./chunks/chunk.
|
|
158
|
+
} from "./chunks/chunk.JHXMD4L2.js";
|
|
159
159
|
import "./chunks/chunk.A4FPLOFR.js";
|
|
160
160
|
import "./chunks/chunk.FF4JFUUR.js";
|
|
161
161
|
import {
|
|
@@ -184,7 +184,7 @@ import {
|
|
|
184
184
|
import "./chunks/chunk.HDRDFHGQ.js";
|
|
185
185
|
import {
|
|
186
186
|
DSAMenuItem
|
|
187
|
-
} from "./chunks/chunk.
|
|
187
|
+
} from "./chunks/chunk.OMPBUYUW.js";
|
|
188
188
|
import "./chunks/chunk.WQ3NUYLG.js";
|
|
189
189
|
import {
|
|
190
190
|
DSAMenuLabel
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
import "./chunks/chunk.C24LGDFR.js";
|
|
193
193
|
import {
|
|
194
194
|
DSAInputOTP
|
|
195
|
-
} from "./chunks/chunk.
|
|
195
|
+
} from "./chunks/chunk.EHSLOI5L.js";
|
|
196
196
|
import "./chunks/chunk.ZTXQFGQX.js";
|
|
197
197
|
import {
|
|
198
198
|
REGEXP_ONLY_DIGITS,
|
|
@@ -201,10 +201,10 @@ import {
|
|
|
201
201
|
} from "./chunks/chunk.F7NUIVDV.js";
|
|
202
202
|
import {
|
|
203
203
|
DSAInputPhone
|
|
204
|
-
} from "./chunks/chunk.
|
|
204
|
+
} from "./chunks/chunk.2P3IVRMK.js";
|
|
205
205
|
import {
|
|
206
206
|
DSASelect
|
|
207
|
-
} from "./chunks/chunk.
|
|
207
|
+
} from "./chunks/chunk.QEPPYDSN.js";
|
|
208
208
|
import "./chunks/chunk.JXHXRRPX.js";
|
|
209
209
|
import {
|
|
210
210
|
getPhoneConfig
|
|
@@ -218,7 +218,7 @@ import {
|
|
|
218
218
|
} from "./chunks/chunk.IER4ZBFV.js";
|
|
219
219
|
import {
|
|
220
220
|
DSAInputMask
|
|
221
|
-
} from "./chunks/chunk.
|
|
221
|
+
} from "./chunks/chunk.GS6TNOKD.js";
|
|
222
222
|
import "./chunks/chunk.THMGZ3JS.js";
|
|
223
223
|
import "./chunks/chunk.7OLEA3GQ.js";
|
|
224
224
|
import {
|
|
@@ -272,7 +272,7 @@ import {
|
|
|
272
272
|
} from "./chunks/chunk.YDBMOXIS.js";
|
|
273
273
|
import {
|
|
274
274
|
DSAFilterDate
|
|
275
|
-
} from "./chunks/chunk.
|
|
275
|
+
} from "./chunks/chunk.5BWMYJNC.js";
|
|
276
276
|
import "./chunks/chunk.JNYFWYEK.js";
|
|
277
277
|
import "./chunks/chunk.DQI2JTKU.js";
|
|
278
278
|
import {
|
|
@@ -285,26 +285,26 @@ import "./chunks/chunk.WFZ45OWG.js";
|
|
|
285
285
|
import "./chunks/chunk.Z3VIP662.js";
|
|
286
286
|
import {
|
|
287
287
|
DSAFilterSelect
|
|
288
|
-
} from "./chunks/chunk.
|
|
288
|
+
} from "./chunks/chunk.55Y4QE5R.js";
|
|
289
289
|
import {
|
|
290
290
|
DSAOption
|
|
291
291
|
} from "./chunks/chunk.YA7ZX7VM.js";
|
|
292
292
|
import "./chunks/chunk.CUCCBQJX.js";
|
|
293
293
|
import {
|
|
294
294
|
DSAInput
|
|
295
|
-
} from "./chunks/chunk.
|
|
296
|
-
import "./chunks/chunk.
|
|
295
|
+
} from "./chunks/chunk.AATBJDAH.js";
|
|
296
|
+
import "./chunks/chunk.W6N2ZQTH.js";
|
|
297
297
|
import "./chunks/chunk.IONY2GZF.js";
|
|
298
|
-
import "./chunks/chunk.
|
|
298
|
+
import "./chunks/chunk.TGMW5D2F.js";
|
|
299
299
|
import "./chunks/chunk.EF2VOGBL.js";
|
|
300
|
-
import "./chunks/chunk.
|
|
300
|
+
import "./chunks/chunk.WYBADVDH.js";
|
|
301
301
|
import "./chunks/chunk.DDRUVCZW.js";
|
|
302
302
|
import "./chunks/chunk.T56ZOKTF.js";
|
|
303
|
-
import "./chunks/chunk.
|
|
303
|
+
import "./chunks/chunk.AVH4JYLK.js";
|
|
304
304
|
import "./chunks/chunk.57V66KCM.js";
|
|
305
305
|
import {
|
|
306
306
|
DSAFileUploadItem
|
|
307
|
-
} from "./chunks/chunk.
|
|
307
|
+
} from "./chunks/chunk.ISEH6AO6.js";
|
|
308
308
|
import "./chunks/chunk.6OFBSNBH.js";
|
|
309
309
|
import "./chunks/chunk.FACPDJPH.js";
|
|
310
310
|
import "./chunks/chunk.4AMHKT45.js";
|
|
@@ -323,7 +323,7 @@ import {
|
|
|
323
323
|
import "./chunks/chunk.3NJ2VQ4A.js";
|
|
324
324
|
import {
|
|
325
325
|
DSAFileUpload
|
|
326
|
-
} from "./chunks/chunk.
|
|
326
|
+
} from "./chunks/chunk.LBM4RHMA.js";
|
|
327
327
|
import "./chunks/chunk.27YOIDOY.js";
|
|
328
328
|
import {
|
|
329
329
|
DSADivider
|
|
@@ -345,19 +345,19 @@ import {
|
|
|
345
345
|
DSACheckboxCard
|
|
346
346
|
} from "./chunks/chunk.7WXOGHV7.js";
|
|
347
347
|
import "./chunks/chunk.6BPVPY42.js";
|
|
348
|
-
import "./chunks/chunk.
|
|
348
|
+
import "./chunks/chunk.3OSWL542.js";
|
|
349
349
|
import {
|
|
350
350
|
DSACombobox
|
|
351
|
-
} from "./chunks/chunk.
|
|
351
|
+
} from "./chunks/chunk.RJUKDJQG.js";
|
|
352
352
|
import {
|
|
353
353
|
DSATag
|
|
354
354
|
} from "./chunks/chunk.RXUJBLKT.js";
|
|
355
355
|
import "./chunks/chunk.MOWF7MA3.js";
|
|
356
356
|
import "./chunks/chunk.O4MZVDWB.js";
|
|
357
|
-
import "./chunks/chunk.
|
|
357
|
+
import "./chunks/chunk.TOWWOPMH.js";
|
|
358
358
|
import {
|
|
359
359
|
DSAPopup
|
|
360
|
-
} from "./chunks/chunk.
|
|
360
|
+
} from "./chunks/chunk.KS7QG726.js";
|
|
361
361
|
import "./chunks/chunk.IEQULSYY.js";
|
|
362
362
|
import "./chunks/chunk.7FRA5H32.js";
|
|
363
363
|
import {
|
|
@@ -369,9 +369,9 @@ import "./chunks/chunk.JLZQJQF4.js";
|
|
|
369
369
|
import "./chunks/chunk.A7Y7SE26.js";
|
|
370
370
|
import {
|
|
371
371
|
DSACalendar
|
|
372
|
-
} from "./chunks/chunk.
|
|
373
|
-
import "./chunks/chunk.
|
|
374
|
-
import "./chunks/chunk.
|
|
372
|
+
} from "./chunks/chunk.M53HNM5Y.js";
|
|
373
|
+
import "./chunks/chunk.VZPL3NCB.js";
|
|
374
|
+
import "./chunks/chunk.6YEPFMKU.js";
|
|
375
375
|
import {
|
|
376
376
|
DSACallout
|
|
377
377
|
} from "./chunks/chunk.XD7G7WIJ.js";
|
|
@@ -18,7 +18,7 @@ import { customElement, property, query, state } from 'lit/decorators.js';
|
|
|
18
18
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
19
19
|
import { live } from 'lit/directives/live.js';
|
|
20
20
|
import { defaultValue } from '../../../internal/default-value';
|
|
21
|
-
import { isValidDate, monthLength } from '../../../utilities/date';
|
|
21
|
+
import { getDateFromISO, isValidDate, monthLength, } from '../../../utilities/date';
|
|
22
22
|
import { ifDefinedAndNotEmpty } from '../../../utilities/directives';
|
|
23
23
|
import { LocalizeController } from '../../../utilities/localize';
|
|
24
24
|
import { FormControlController } from '../../form';
|
|
@@ -145,14 +145,16 @@ let DSAInternalDateField = class DSAInternalDateField extends ShoelaceElement {
|
|
|
145
145
|
}
|
|
146
146
|
handleChange() {
|
|
147
147
|
const previousValue = this.value;
|
|
148
|
-
|
|
149
|
-
const
|
|
150
|
-
const
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
this.selectedDay = this.dayInput.max;
|
|
148
|
+
let tempSelectedDay = this.dayInput.value;
|
|
149
|
+
const tempSelectedMonth = this.monthInput.value;
|
|
150
|
+
const tempSelectedYear = this.yearInput.value;
|
|
151
|
+
if (tempSelectedDay > this.dayInput.max) {
|
|
152
|
+
tempSelectedDay = this.dayInput.max;
|
|
154
153
|
}
|
|
155
|
-
|
|
154
|
+
const tentativeDate = `${tempSelectedYear}-${tempSelectedMonth}-${tempSelectedDay}`;
|
|
155
|
+
if (tempSelectedDay === '' &&
|
|
156
|
+
tempSelectedMonth === '' &&
|
|
157
|
+
tempSelectedYear === '') {
|
|
156
158
|
this.setCustomValidity('');
|
|
157
159
|
this.value = '';
|
|
158
160
|
}
|
|
@@ -281,9 +283,9 @@ let DSAInternalDateField = class DSAInternalDateField extends ShoelaceElement {
|
|
|
281
283
|
this.selectedYear = '';
|
|
282
284
|
}
|
|
283
285
|
else {
|
|
284
|
-
this.selectedDay = `${
|
|
285
|
-
this.selectedMonth = `${
|
|
286
|
-
this.selectedYear = `${
|
|
286
|
+
this.selectedDay = `${getDateFromISO(this.value).getDate()}`.padStart(2, '0');
|
|
287
|
+
this.selectedMonth = `${getDateFromISO(this.value).getMonth() + 1}`.padStart(2, '0');
|
|
288
|
+
this.selectedYear = `${getDateFromISO(this.value).getFullYear()}`.padStart(4, '0');
|
|
287
289
|
}
|
|
288
290
|
yield this.updateComplete;
|
|
289
291
|
this.setCustomValidity('');
|
|
@@ -336,14 +338,15 @@ let DSAInternalDateField = class DSAInternalDateField extends ShoelaceElement {
|
|
|
336
338
|
this.formControlController.updateValidity();
|
|
337
339
|
}
|
|
338
340
|
renderSpinbutton(part) {
|
|
341
|
+
var _a, _b;
|
|
339
342
|
let className = '';
|
|
340
343
|
let ariaLabel = '';
|
|
341
344
|
let min = 1;
|
|
342
345
|
let max;
|
|
343
346
|
let placeholder;
|
|
344
347
|
let value;
|
|
345
|
-
const minDate =
|
|
346
|
-
const maxDate =
|
|
348
|
+
const minDate = getDateFromISO((_a = this.min) !== null && _a !== void 0 ? _a : '');
|
|
349
|
+
const maxDate = getDateFromISO((_b = this.max) !== null && _b !== void 0 ? _b : '');
|
|
347
350
|
const minYear = this.min ? minDate.getFullYear() : 1900;
|
|
348
351
|
const maxYear = this.max ? maxDate.getFullYear() : 2500;
|
|
349
352
|
const minMonth = minYear === maxYear ? minDate.getMonth() + 1 : 1;
|
|
@@ -17,7 +17,6 @@ export declare class FormControlLayout extends ShoelaceElement {
|
|
|
17
17
|
helpText: string;
|
|
18
18
|
/** Disables the form control. */
|
|
19
19
|
disabled: boolean;
|
|
20
|
-
lang: string;
|
|
21
20
|
/** Placeholder text to show as a hint when the form control is empty. */
|
|
22
21
|
placeholder: string;
|
|
23
22
|
/** Makes the form control readonly. */
|
|
@@ -139,9 +139,6 @@ __decorate([
|
|
|
139
139
|
__decorate([
|
|
140
140
|
property({ type: Boolean, reflect: true })
|
|
141
141
|
], FormControlLayout.prototype, "disabled", void 0);
|
|
142
|
-
__decorate([
|
|
143
|
-
property()
|
|
144
|
-
], FormControlLayout.prototype, "lang", void 0);
|
|
145
142
|
__decorate([
|
|
146
143
|
property()
|
|
147
144
|
], FormControlLayout.prototype, "placeholder", void 0);
|
|
@@ -83,4 +83,13 @@ export default css `
|
|
|
83
83
|
border-color: var(--dsa-wc-radio-border-color-readonly);
|
|
84
84
|
background-color: var(--dsa-wc-radio-color-readonly);
|
|
85
85
|
}
|
|
86
|
+
|
|
87
|
+
@media (forced-colors: active) {
|
|
88
|
+
.radio__control--checked {
|
|
89
|
+
border-color: Highlight;
|
|
90
|
+
}
|
|
91
|
+
.radio__control--checked .radio__inner {
|
|
92
|
+
background-color: Highlight;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
86
95
|
`;
|