@ds-autonomie/web-components 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/chunks/{chunk.K6WCEYZI.js → chunk.2CCKS3CP.js} +1 -1
  3. package/dist/chunks/{chunk.HH63FIEF.js → chunk.2DGAEK66.js} +12 -3
  4. package/dist/chunks/{chunk.O73OYTYJ.js → chunk.2HV2U4RQ.js} +2 -4
  5. package/dist/chunks/{chunk.EHVJT7BH.js → chunk.2R6P5TGQ.js} +1 -1
  6. package/dist/chunks/{chunk.KOH5V4C6.js → chunk.4MC32HP7.js} +21 -17
  7. package/dist/chunks/{chunk.BLPP3Q5H.js → chunk.5324JGM4.js} +11 -4
  8. package/dist/chunks/{chunk.WIEJJS3W.js → chunk.6BJBVSW4.js} +1 -1
  9. package/dist/chunks/{chunk.D7CATJYB.js → chunk.6IH66JBY.js} +1 -1
  10. package/dist/chunks/{chunk.YS7MY5CH.js → chunk.7EWUWW3E.js} +18 -24
  11. package/dist/chunks/chunk.7HGZSZJK.js +409 -0
  12. package/dist/chunks/{chunk.ODSCDJDO.js → chunk.ARVWTY56.js} +5 -4
  13. package/dist/chunks/{chunk.KDAK2GXX.js → chunk.AYXPVAYS.js} +1 -1
  14. package/dist/chunks/{chunk.WSVP75MH.js → chunk.CBMFAOZI.js} +1 -1
  15. package/dist/chunks/chunk.CMJ2SRTL.js +26 -0
  16. package/dist/chunks/{chunk.DURVPB6M.js → chunk.D6DEGG4H.js} +25 -6
  17. package/dist/chunks/{chunk.MY434P47.js → chunk.DFTZEFHF.js} +2 -2
  18. package/dist/chunks/{chunk.4XT2OJD2.js → chunk.DZWH4V6H.js} +8 -4
  19. package/dist/chunks/{chunk.NDEZEB3Z.js → chunk.EDRQ2QWB.js} +10 -5
  20. package/dist/chunks/{chunk.XSCX6TC5.js → chunk.EXIGM5NV.js} +4 -1
  21. package/dist/chunks/{chunk.OVK7QCA7.js → chunk.F4XMSVNF.js} +13 -9
  22. package/dist/chunks/{chunk.4A3WMGMZ.js → chunk.FHDPJN6L.js} +1 -1
  23. package/dist/chunks/{chunk.ABGBXXKA.js → chunk.FTWZNCEH.js} +1 -1
  24. package/dist/chunks/{chunk.6FAUBLR3.js → chunk.G3ESG6Q5.js} +1 -1
  25. package/dist/chunks/{chunk.PWWER3ZK.js → chunk.GJCVGGCP.js} +48 -24
  26. package/dist/chunks/{chunk.WHK7EFIM.js → chunk.GP5Z27QB.js} +7 -4
  27. package/dist/chunks/{chunk.UA32LJYW.js → chunk.HEOTAAPU.js} +2 -2
  28. package/dist/chunks/{chunk.JETXIC4F.js → chunk.HPK6C7NJ.js} +1 -1
  29. package/dist/chunks/{chunk.A2PAK6VF.js → chunk.ILUHEJYG.js} +2 -2
  30. package/dist/chunks/{chunk.5XL2LZLC.js → chunk.IQ7SDYSC.js} +4 -0
  31. package/dist/chunks/{chunk.GYTA2LJC.js → chunk.J6XP4AFN.js} +1 -1
  32. package/dist/chunks/{chunk.UZLQVFDR.js → chunk.L6LQN6AI.js} +2 -2
  33. package/dist/chunks/{chunk.BEB47LM2.js → chunk.LSKBY2HF.js} +2 -2
  34. package/dist/chunks/{chunk.WNHQYL5W.js → chunk.MTZZV3NB.js} +4 -20
  35. package/dist/chunks/{chunk.7ZCCXTFG.js → chunk.NBQ3AEK6.js} +2 -2
  36. package/dist/chunks/{chunk.HC5BO5YV.js → chunk.NHYFVEGM.js} +5 -16
  37. package/dist/chunks/{chunk.QKNNLZ2M.js → chunk.NKPNQBLW.js} +5 -5
  38. package/dist/chunks/{chunk.MOWTZFON.js → chunk.NKVYNBAI.js} +1 -1
  39. package/dist/chunks/{chunk.7NWAYDYI.js → chunk.NOEQVLAW.js} +3 -3
  40. package/dist/chunks/{chunk.INCGVIAQ.js → chunk.QSPKKO3T.js} +1 -1
  41. package/dist/chunks/chunk.R37CT3PN.js +865 -0
  42. package/dist/chunks/{chunk.IRQOFNJE.js → chunk.RSJYKNXT.js} +8 -3
  43. package/dist/chunks/{chunk.5XUV3SRW.js → chunk.ST2QYN4S.js} +11 -6
  44. package/dist/chunks/{chunk.LT7JMZ3T.js → chunk.T7JSALXE.js} +2 -2
  45. package/dist/chunks/{chunk.N6VVY6XD.js → chunk.U5KRBVRP.js} +6 -3
  46. package/dist/chunks/{chunk.5LT3B7MI.js → chunk.UQYPPFBJ.js} +1 -1
  47. package/dist/chunks/{chunk.2HUORR44.js → chunk.V6V7AGDB.js} +1 -1
  48. package/dist/chunks/{chunk.UV53JTE3.js → chunk.VIULAG23.js} +1 -1
  49. package/dist/chunks/{chunk.42W4S2HN.js → chunk.VM355VAS.js} +1 -1
  50. package/dist/chunks/{chunk.G7AELPSO.js → chunk.VRU3XH45.js} +4 -4
  51. package/dist/chunks/{chunk.HLYGKGDG.js → chunk.W74UQSZJ.js} +8 -5
  52. package/dist/chunks/{chunk.AR5HJD7F.js → chunk.X6RQ2SQC.js} +1 -1
  53. package/dist/chunks/chunk.ZQJVCRB2.js +10 -0
  54. package/dist/chunks/{chunk.RIJQGADY.js → chunk.ZW4JE66G.js} +11 -4
  55. package/dist/components/accordion/accordion.js +7 -7
  56. package/dist/components/alert/alert.js +9 -8
  57. package/dist/components/animation/animation.js +2 -2
  58. package/dist/components/avatar/avatar.d.ts +1 -1
  59. package/dist/components/avatar/avatar.js +7 -6
  60. package/dist/components/avatar-group/avatar-group.d.ts +1 -1
  61. package/dist/components/badge/badge.d.ts +1 -1
  62. package/dist/components/breadcrumb/breadcrumb.js +7 -7
  63. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  64. package/dist/components/button/button.js +9 -8
  65. package/dist/components/checkbox/checkbox.js +8 -7
  66. package/dist/components/checkbox-button/checkbox-button.js +6 -6
  67. package/dist/components/checkbox-group/checkbox-group.d.ts +1 -0
  68. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  69. package/dist/components/combobox/combobox.d.ts +175 -0
  70. package/dist/components/combobox/combobox.js +37 -0
  71. package/dist/components/combobox/combobox.styles.d.ts +2 -0
  72. package/dist/components/combobox/combobox.styles.js +9 -0
  73. package/dist/components/dialog/dialog.js +9 -8
  74. package/dist/components/divider/divider.d.ts +1 -1
  75. package/dist/components/drawer/drawer.js +10 -9
  76. package/dist/components/dropdown/dropdown.js +3 -3
  77. package/dist/components/format-bytes/format-bytes.js +2 -2
  78. package/dist/components/format-date/format-date.js +2 -2
  79. package/dist/components/format-number/format-number.js +2 -2
  80. package/dist/components/icon/icon.js +5 -5
  81. package/dist/components/icon-button/icon-button.d.ts +1 -1
  82. package/dist/components/icon-button/icon-button.js +7 -6
  83. package/dist/components/include/include.js +2 -2
  84. package/dist/components/input/input.d.ts +1 -1
  85. package/dist/components/input/input.js +10 -9
  86. package/dist/components/input/input.styles.js +1 -1
  87. package/dist/components/input-mask/input-mask.d.ts +1 -0
  88. package/dist/components/input-mask/input-mask.js +6 -5
  89. package/dist/components/input-mask/input-mask.styles.js +1 -1
  90. package/dist/components/input-phone/input-phone.d.ts +1 -1
  91. package/dist/components/input-phone/input-phone.js +24 -23
  92. package/dist/components/input-phone/input-phone.styles.js +1 -1
  93. package/dist/components/menu/menu.d.ts +1 -1
  94. package/dist/components/menu-item/menu-item.d.ts +1 -1
  95. package/dist/components/menu-item/menu-item.js +6 -6
  96. package/dist/components/menu-label/menu-label.d.ts +1 -1
  97. package/dist/components/mutation-observer/mutation-observer.js +2 -2
  98. package/dist/components/option/option.js +8 -8
  99. package/dist/components/option/option.styles.js +1 -1
  100. package/dist/components/progress-bar/progress-bar.d.ts +1 -1
  101. package/dist/components/progress-bar/progress-bar.js +3 -2
  102. package/dist/components/progress-ring/progress-ring.d.ts +1 -2
  103. package/dist/components/progress-ring/progress-ring.js +2 -2
  104. package/dist/components/radio/radio.js +6 -6
  105. package/dist/components/radio-button/radio-button.js +2 -2
  106. package/dist/components/radio-group/radio-group.js +2 -2
  107. package/dist/components/relative-time/relative-time.js +2 -2
  108. package/dist/components/resize-observer/resize-observer.js +2 -2
  109. package/dist/components/select/select.d.ts +4 -0
  110. package/dist/components/select/select.js +13 -12
  111. package/dist/components/select/select.styles.js +1 -1
  112. package/dist/components/skeleton/skeleton.d.ts +1 -1
  113. package/dist/components/spinner/spinner.js +2 -2
  114. package/dist/components/tab/tab.d.ts +1 -1
  115. package/dist/components/tab/tab.js +3 -3
  116. package/dist/components/tab-group/tab-group.d.ts +1 -1
  117. package/dist/components/tab-group/tab-group.js +3 -3
  118. package/dist/components/tab-panel/tab-panel.d.ts +1 -1
  119. package/dist/components/tab-panel/tab-panel.js +2 -2
  120. package/dist/components/tag/tag.js +9 -8
  121. package/dist/components/textarea/textarea.d.ts +1 -0
  122. package/dist/components/textarea/textarea.js +4 -3
  123. package/dist/components/tooltip/tooltip.js +3 -3
  124. package/dist/components/tree/tree.d.ts +2 -1
  125. package/dist/components/tree/tree.js +12 -11
  126. package/dist/components/tree-item/tree-item.d.ts +1 -1
  127. package/dist/components/tree-item/tree-item.js +11 -10
  128. package/dist/custom-elements.json +1104 -74
  129. package/dist/design-system.d.ts +1 -0
  130. package/dist/design-system.js +96 -90
  131. package/dist/internal/debounce.d.ts +1 -1
  132. package/dist/internal/debounce.js +3 -3
  133. package/dist/internal/default-value.d.ts +1 -1
  134. package/dist/internal/default-value.js +24 -21
  135. package/dist/internal/watch.js +1 -1
  136. package/dist/themes/dsa-wc-theme.css +37 -6
  137. package/dist/themes/dsa-wc-theme.min.css +1 -1
  138. package/dist/themes/dsa-wc-theme.styles.js +43 -6
  139. package/dist/translations/en-gb.js +1 -1
  140. package/dist/translations/en.js +1 -1
  141. package/dist/translations/fr.js +1 -1
  142. package/dist/utilities/directives.d.ts +1 -0
  143. package/dist/utilities/directives.js +7 -0
  144. package/dist/utilities/localize.d.ts +2 -0
  145. package/dist/utilities/localize.js +1 -1
  146. package/dist/vscode.html-custom-data.json +130 -6
  147. package/dist/web-types.json +618 -9
  148. package/package.json +1 -1
  149. package/dist/chunks/chunk.GI7VDIWX.js +0 -24
@@ -958,7 +958,7 @@
958
958
  "module": "/src/internal/shoelace-element.js"
959
959
  },
960
960
  "summary": "Avatars are used to represent a person or object.",
961
- "documentation": "https://shoelace.style/components/avatar",
961
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/05ef77-avatar",
962
962
  "dependencies": [
963
963
  "dsa-icon"
964
964
  ],
@@ -1013,7 +1013,7 @@
1013
1013
  "module": "/src/internal/shoelace-element"
1014
1014
  },
1015
1015
  "summary": "The avatar-group displays avatars in a grouped style",
1016
- "documentation": "https://shoelace.style/components/avatar",
1016
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/90e4fd-avatar-group",
1017
1017
  "tagName": "dsa-avatar-group",
1018
1018
  "customElement": true
1019
1019
  }
@@ -1120,7 +1120,7 @@
1120
1120
  "module": "/src/internal/shoelace-element"
1121
1121
  },
1122
1122
  "summary": "Badges are used to draw attention and display statuses or counts.",
1123
- "documentation": "https://shoelace.style/components/badge",
1123
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/700cd3-badge",
1124
1124
  "tagName": "dsa-badge",
1125
1125
  "customElement": true
1126
1126
  }
@@ -2668,6 +2668,10 @@
2668
2668
  {
2669
2669
  "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
2670
2670
  "name": "help-text"
2671
+ },
2672
+ {
2673
+ "description": "The tooltip slot allows additional information to be passed along the label.",
2674
+ "name": "tooltip"
2671
2675
  }
2672
2676
  ],
2673
2677
  "members": [
@@ -2898,11 +2902,868 @@
2898
2902
  },
2899
2903
  {
2900
2904
  "kind": "method",
2901
- "name": "handleValueChange"
2905
+ "name": "handleValueChange"
2906
+ },
2907
+ {
2908
+ "kind": "method",
2909
+ "name": "handleErrorChange"
2910
+ },
2911
+ {
2912
+ "kind": "method",
2913
+ "name": "checkValidity",
2914
+ "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
2915
+ },
2916
+ {
2917
+ "kind": "method",
2918
+ "name": "getForm",
2919
+ "return": {
2920
+ "type": {
2921
+ "text": "HTMLFormElement | null"
2922
+ }
2923
+ },
2924
+ "description": "Gets the associated form, if one exists."
2925
+ },
2926
+ {
2927
+ "kind": "method",
2928
+ "name": "reportValidity",
2929
+ "return": {
2930
+ "type": {
2931
+ "text": "boolean"
2932
+ }
2933
+ },
2934
+ "description": "Checks for validity and shows the browser's validation message if the control is invalid."
2935
+ },
2936
+ {
2937
+ "kind": "method",
2938
+ "name": "setCustomValidity",
2939
+ "parameters": [
2940
+ {
2941
+ "name": "message",
2942
+ "default": "''"
2943
+ }
2944
+ ],
2945
+ "description": "Sets a custom validation message. Pass an empty string to restore validity."
2946
+ }
2947
+ ],
2948
+ "events": [
2949
+ {
2950
+ "description": "Emitted when the checkbox group's selected value changes.",
2951
+ "name": "dsa-change"
2952
+ },
2953
+ {
2954
+ "description": "Emitted when the checkbox group receives user input.",
2955
+ "name": "dsa-input"
2956
+ },
2957
+ {
2958
+ "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
2959
+ "name": "dsa-invalid"
2960
+ }
2961
+ ],
2962
+ "attributes": [
2963
+ {
2964
+ "name": "label",
2965
+ "type": {
2966
+ "text": "string"
2967
+ },
2968
+ "default": "''",
2969
+ "description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
2970
+ "fieldName": "label"
2971
+ },
2972
+ {
2973
+ "name": "help-text",
2974
+ "type": {
2975
+ "text": "string"
2976
+ },
2977
+ "default": "''",
2978
+ "description": "The checkbox groups's help text. If you need to display HTML, use the `help-text` slot instead.",
2979
+ "fieldName": "helpText"
2980
+ },
2981
+ {
2982
+ "name": "name",
2983
+ "type": {
2984
+ "text": "string"
2985
+ },
2986
+ "default": "'option'",
2987
+ "description": "The name of the checkbox group, submitted as a name/value pair with form data.",
2988
+ "fieldName": "name"
2989
+ },
2990
+ {
2991
+ "name": "value",
2992
+ "type": {
2993
+ "text": "string[]"
2994
+ },
2995
+ "default": "[]",
2996
+ "description": "The current value of the checkbox group, submitted as a name/value pair with form data. The value is a comma-delimited list of values based on the checked checkboxes.",
2997
+ "fieldName": "value"
2998
+ },
2999
+ {
3000
+ "name": "form",
3001
+ "type": {
3002
+ "text": "string"
3003
+ },
3004
+ "default": "''",
3005
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
3006
+ "fieldName": "form"
3007
+ },
3008
+ {
3009
+ "name": "required",
3010
+ "type": {
3011
+ "text": "boolean"
3012
+ },
3013
+ "default": "false",
3014
+ "description": "Ensures a child checkbox is checked before allowing the containing form to submit.",
3015
+ "fieldName": "required"
3016
+ },
3017
+ {
3018
+ "name": "horizontal",
3019
+ "type": {
3020
+ "text": "boolean"
3021
+ },
3022
+ "default": "false",
3023
+ "description": "Sets the orientation of the checkbox options",
3024
+ "fieldName": "horizontal"
3025
+ },
3026
+ {
3027
+ "name": "error",
3028
+ "type": {
3029
+ "text": "boolean"
3030
+ },
3031
+ "default": "false",
3032
+ "description": "Indicates whether the group should be in error state",
3033
+ "fieldName": "error"
3034
+ },
3035
+ {
3036
+ "name": "error-message",
3037
+ "type": {
3038
+ "text": "string"
3039
+ },
3040
+ "default": "''",
3041
+ "description": "An error message that is shown when `error` is set to true",
3042
+ "fieldName": "errorMessage"
3043
+ }
3044
+ ],
3045
+ "superclass": {
3046
+ "name": "ShoelaceElement",
3047
+ "module": "/src/internal/shoelace-element"
3048
+ },
3049
+ "summary": "Checkbox groups are used to group multiple [checkbox](/components/checkbox) or [checkbox buttons](/components/checkbox-button) so they function as a single form control.",
3050
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/262df4-checkbox-group",
3051
+ "dependencies": [
3052
+ "dsa-error-text"
3053
+ ],
3054
+ "tagName": "dsa-checkbox-group",
3055
+ "customElement": true
3056
+ }
3057
+ ],
3058
+ "exports": [
3059
+ {
3060
+ "kind": "js",
3061
+ "name": "default",
3062
+ "declaration": {
3063
+ "name": "DSACheckboxGroup",
3064
+ "module": "components/checkbox-group/checkbox-group.js"
3065
+ }
3066
+ },
3067
+ {
3068
+ "kind": "custom-element-definition",
3069
+ "name": "dsa-checkbox-group",
3070
+ "declaration": {
3071
+ "name": "DSACheckboxGroup",
3072
+ "module": "components/checkbox-group/checkbox-group.js"
3073
+ }
3074
+ }
3075
+ ]
3076
+ },
3077
+ {
3078
+ "kind": "javascript-module",
3079
+ "path": "components/combobox/combobox.js",
3080
+ "declarations": [
3081
+ {
3082
+ "kind": "class",
3083
+ "description": "",
3084
+ "name": "DSACombobox",
3085
+ "slots": [
3086
+ {
3087
+ "description": "The listbox options. Must be `<dsa-option>` elements. Alternatively, you can use the `items` property.",
3088
+ "name": ""
3089
+ },
3090
+ {
3091
+ "description": "The input's label. Alternatively, you can use the `label` attribute.",
3092
+ "name": "label"
3093
+ },
3094
+ {
3095
+ "description": "Used to prepend a presentational icon or similar element to the combobox.",
3096
+ "name": "prefix"
3097
+ },
3098
+ {
3099
+ "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
3100
+ "name": "help-text"
3101
+ },
3102
+ {
3103
+ "description": "The tooltip slot allows additional information to be passed along the label",
3104
+ "name": "tooltip"
3105
+ }
3106
+ ],
3107
+ "members": [
3108
+ {
3109
+ "kind": "field",
3110
+ "name": "formControlController",
3111
+ "privacy": "private",
3112
+ "readonly": true,
3113
+ "default": "new FormControlController(this, {\n assumeInteractionOn: ['dsa-blur', 'dsa-input'],\n })"
3114
+ },
3115
+ {
3116
+ "kind": "field",
3117
+ "name": "hasSlotController",
3118
+ "privacy": "private",
3119
+ "readonly": true,
3120
+ "default": "new HasSlotController(\n this,\n 'help-text',\n 'label'\n )"
3121
+ },
3122
+ {
3123
+ "kind": "field",
3124
+ "name": "localize",
3125
+ "privacy": "private",
3126
+ "readonly": true,
3127
+ "default": "new LocalizeController(this)"
3128
+ },
3129
+ {
3130
+ "kind": "field",
3131
+ "name": "popup",
3132
+ "type": {
3133
+ "text": "DSAPopup"
3134
+ }
3135
+ },
3136
+ {
3137
+ "kind": "field",
3138
+ "name": "combobox",
3139
+ "type": {
3140
+ "text": "HTMLSlotElement"
3141
+ }
3142
+ },
3143
+ {
3144
+ "kind": "field",
3145
+ "name": "displayInput",
3146
+ "type": {
3147
+ "text": "HTMLInputElement"
3148
+ }
3149
+ },
3150
+ {
3151
+ "kind": "field",
3152
+ "name": "valueInput",
3153
+ "type": {
3154
+ "text": "HTMLInputElement"
3155
+ }
3156
+ },
3157
+ {
3158
+ "kind": "field",
3159
+ "name": "listbox",
3160
+ "type": {
3161
+ "text": "HTMLSlotElement"
3162
+ }
3163
+ },
3164
+ {
3165
+ "kind": "field",
3166
+ "name": "hasVisualFocus",
3167
+ "type": {
3168
+ "text": "boolean"
3169
+ },
3170
+ "privacy": "private",
3171
+ "default": "false"
3172
+ },
3173
+ {
3174
+ "kind": "field",
3175
+ "name": "displayLabel",
3176
+ "type": {
3177
+ "text": "string"
3178
+ },
3179
+ "default": "''"
3180
+ },
3181
+ {
3182
+ "kind": "field",
3183
+ "name": "currentOption",
3184
+ "type": {
3185
+ "text": "DSAOption | undefined"
3186
+ }
3187
+ },
3188
+ {
3189
+ "kind": "field",
3190
+ "name": "selectedOptions",
3191
+ "type": {
3192
+ "text": "DSAOption[]"
3193
+ },
3194
+ "default": "[]"
3195
+ },
3196
+ {
3197
+ "kind": "field",
3198
+ "name": "allOptions",
3199
+ "type": {
3200
+ "text": "DSAOption[]"
3201
+ },
3202
+ "default": "[]"
3203
+ },
3204
+ {
3205
+ "kind": "field",
3206
+ "name": "filteredOptions",
3207
+ "type": {
3208
+ "text": "DSAOption[]"
3209
+ },
3210
+ "default": "[]"
3211
+ },
3212
+ {
3213
+ "kind": "field",
3214
+ "name": "name",
3215
+ "type": {
3216
+ "text": "string"
3217
+ },
3218
+ "default": "''",
3219
+ "description": "The name of the combobox, submitted as a name/value pair with form data.",
3220
+ "attribute": "name"
3221
+ },
3222
+ {
3223
+ "kind": "field",
3224
+ "name": "title",
3225
+ "type": {
3226
+ "text": "string"
3227
+ },
3228
+ "default": "''",
3229
+ "description": "The title contains a text representing advisory information related to the element it belongs to.",
3230
+ "attribute": "title"
3231
+ },
3232
+ {
3233
+ "kind": "field",
3234
+ "name": "open",
3235
+ "type": {
3236
+ "text": "boolean"
3237
+ },
3238
+ "default": "false",
3239
+ "description": "Indicates whether or not the combobox is open. You can toggle this attribute to show and hide the menu, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the combobox's open state.",
3240
+ "attribute": "open",
3241
+ "reflects": true
3242
+ },
3243
+ {
3244
+ "kind": "field",
3245
+ "name": "value",
3246
+ "type": {
3247
+ "text": "string | string[]"
3248
+ },
3249
+ "default": "''",
3250
+ "description": "The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the\nvalue will be a space-delimited list of values based on the options selected.",
3251
+ "attribute": "value"
3252
+ },
3253
+ {
3254
+ "kind": "field",
3255
+ "name": "defaultValue",
3256
+ "type": {
3257
+ "text": "string"
3258
+ },
3259
+ "default": "''",
3260
+ "description": "The default value of the form control. Primarily used for resetting the form control."
3261
+ },
3262
+ {
3263
+ "kind": "field",
3264
+ "name": "size",
3265
+ "type": {
3266
+ "text": "'small' | 'medium' | 'large'"
3267
+ },
3268
+ "default": "'medium'",
3269
+ "description": "The combobox's size.",
3270
+ "attribute": "size"
3271
+ },
3272
+ {
3273
+ "kind": "field",
3274
+ "name": "placeholder",
3275
+ "type": {
3276
+ "text": "string"
3277
+ },
3278
+ "default": "''",
3279
+ "description": "Placeholder text to show as a hint when the combobox is empty.",
3280
+ "attribute": "placeholder"
3281
+ },
3282
+ {
3283
+ "kind": "field",
3284
+ "name": "label",
3285
+ "type": {
3286
+ "text": "string"
3287
+ },
3288
+ "default": "''",
3289
+ "description": "The combobox's label. If you need to display HTML, use the `label` slot instead.",
3290
+ "attribute": "label"
3291
+ },
3292
+ {
3293
+ "kind": "field",
3294
+ "name": "variant",
3295
+ "type": {
3296
+ "text": "'base' | 'layer'"
3297
+ },
3298
+ "default": "'base'",
3299
+ "description": "The combobox's variant.",
3300
+ "attribute": "variant",
3301
+ "reflects": true
3302
+ },
3303
+ {
3304
+ "kind": "field",
3305
+ "name": "hoist",
3306
+ "type": {
3307
+ "text": "boolean"
3308
+ },
3309
+ "default": "false",
3310
+ "description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
3311
+ "attribute": "hoist"
3312
+ },
3313
+ {
3314
+ "kind": "field",
3315
+ "name": "placement",
3316
+ "type": {
3317
+ "text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'"
3318
+ },
3319
+ "default": "'bottom'",
3320
+ "description": "The preferred placement of the combobox's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
3321
+ "attribute": "placement",
3322
+ "reflects": true
3323
+ },
3324
+ {
3325
+ "kind": "field",
3326
+ "name": "helpText",
3327
+ "type": {
3328
+ "text": "string"
3329
+ },
3330
+ "default": "''",
3331
+ "description": "The combobox's help text. If you need to display HTML, use the `help-text` slot instead.",
3332
+ "attribute": "help-text"
3333
+ },
3334
+ {
3335
+ "kind": "field",
3336
+ "name": "disabled",
3337
+ "type": {
3338
+ "text": "boolean"
3339
+ },
3340
+ "default": "false",
3341
+ "description": "Disables the combobox control.",
3342
+ "attribute": "disabled",
3343
+ "reflects": true
3344
+ },
3345
+ {
3346
+ "kind": "field",
3347
+ "name": "clearable",
3348
+ "type": {
3349
+ "text": "boolean"
3350
+ },
3351
+ "default": "false",
3352
+ "description": "Adds a clear button when the select is not empty.",
3353
+ "attribute": "clearable"
3354
+ },
3355
+ {
3356
+ "kind": "field",
3357
+ "name": "form",
3358
+ "type": {
3359
+ "text": "string"
3360
+ },
3361
+ "default": "''",
3362
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
3363
+ "attribute": "form",
3364
+ "reflects": true
3365
+ },
3366
+ {
3367
+ "kind": "field",
3368
+ "name": "required",
3369
+ "type": {
3370
+ "text": "boolean"
3371
+ },
3372
+ "default": "false",
3373
+ "description": "The combobox's required attribute.",
3374
+ "attribute": "required",
3375
+ "reflects": true
3376
+ },
3377
+ {
3378
+ "kind": "field",
3379
+ "name": "error",
3380
+ "type": {
3381
+ "text": "boolean"
3382
+ },
3383
+ "default": "false",
3384
+ "description": "Indicates whether the input should be in error state",
3385
+ "attribute": "error"
3386
+ },
3387
+ {
3388
+ "kind": "field",
3389
+ "name": "errorMessage",
3390
+ "type": {
3391
+ "text": "string"
3392
+ },
3393
+ "default": "''",
3394
+ "description": "An error message that is shown when `error` is set to true",
3395
+ "attribute": "error-message"
3396
+ },
3397
+ {
3398
+ "kind": "field",
3399
+ "name": "noSyncWidth",
3400
+ "type": {
3401
+ "text": "boolean"
3402
+ },
3403
+ "default": "false",
3404
+ "description": "When set to true, the Popup's width is no longer equal to its anchor's width",
3405
+ "attribute": "no-sync-width"
3406
+ },
3407
+ {
3408
+ "kind": "field",
3409
+ "name": "items",
3410
+ "type": {
3411
+ "text": "DSAOption[] | undefined"
3412
+ },
3413
+ "default": "undefined"
3414
+ },
3415
+ {
3416
+ "kind": "field",
3417
+ "name": "multiple",
3418
+ "type": {
3419
+ "text": "boolean"
3420
+ },
3421
+ "default": "false",
3422
+ "description": "Allows more than one option to be selected.",
3423
+ "attribute": "multiple"
3424
+ },
3425
+ {
3426
+ "kind": "field",
3427
+ "name": "maxOptionsVisible",
3428
+ "type": {
3429
+ "text": "number"
3430
+ },
3431
+ "default": "3",
3432
+ "description": "The maximum number of selected options to show when `multiple` is true. After the maximum, \"+n\" will be shown to\nindicate the number of additional items that are selected. Set to 0 to remove the limit.",
3433
+ "attribute": "max-options-visible"
3434
+ },
3435
+ {
3436
+ "kind": "field",
3437
+ "name": "validity",
3438
+ "description": "Gets the validity state object",
3439
+ "readonly": true
3440
+ },
3441
+ {
3442
+ "kind": "field",
3443
+ "name": "validationMessage",
3444
+ "description": "Gets the validation message",
3445
+ "readonly": true
3446
+ },
3447
+ {
3448
+ "kind": "method",
3449
+ "name": "handleBlur",
3450
+ "privacy": "private",
3451
+ "description": "Input events"
3452
+ },
3453
+ {
3454
+ "kind": "method",
3455
+ "name": "handleFocus",
3456
+ "privacy": "private"
3457
+ },
3458
+ {
3459
+ "kind": "method",
3460
+ "name": "handleComboboxMouseDown",
3461
+ "privacy": "private",
3462
+ "parameters": [
3463
+ {
3464
+ "name": "event",
3465
+ "type": {
3466
+ "text": "MouseEvent"
3467
+ }
3468
+ }
3469
+ ]
3470
+ },
3471
+ {
3472
+ "kind": "method",
3473
+ "name": "handleComboboxKeyDown",
3474
+ "privacy": "private",
3475
+ "parameters": [
3476
+ {
3477
+ "name": "event",
3478
+ "type": {
3479
+ "text": "KeyboardEvent"
3480
+ }
3481
+ }
3482
+ ]
3483
+ },
3484
+ {
3485
+ "kind": "method",
3486
+ "name": "handleChange",
3487
+ "privacy": "private"
3488
+ },
3489
+ {
3490
+ "kind": "method",
3491
+ "name": "handleInput",
3492
+ "privacy": "private"
3493
+ },
3494
+ {
3495
+ "kind": "method",
3496
+ "name": "handleClearClick",
3497
+ "privacy": "private",
3498
+ "parameters": [
3499
+ {
3500
+ "name": "event",
3501
+ "type": {
3502
+ "text": "MouseEvent"
3503
+ }
3504
+ }
3505
+ ]
3506
+ },
3507
+ {
3508
+ "kind": "method",
3509
+ "name": "filterOptions",
3510
+ "privacy": "private",
3511
+ "parameters": [
3512
+ {
3513
+ "name": "filter",
3514
+ "type": {
3515
+ "text": "string"
3516
+ }
3517
+ }
3518
+ ]
3519
+ },
3520
+ {
3521
+ "kind": "method",
3522
+ "name": "toggleOptionSelection",
3523
+ "privacy": "private",
3524
+ "parameters": [
3525
+ {
3526
+ "name": "option",
3527
+ "type": {
3528
+ "text": "DSAOption"
3529
+ }
3530
+ },
3531
+ {
3532
+ "name": "force",
3533
+ "optional": true,
3534
+ "type": {
3535
+ "text": "boolean"
3536
+ }
3537
+ }
3538
+ ]
3539
+ },
3540
+ {
3541
+ "kind": "method",
3542
+ "name": "handleOptionClick",
3543
+ "privacy": "private",
3544
+ "parameters": [
3545
+ {
3546
+ "name": "event",
3547
+ "type": {
3548
+ "text": "MouseEvent"
3549
+ }
3550
+ }
3551
+ ]
3552
+ },
3553
+ {
3554
+ "kind": "method",
3555
+ "name": "handleDefaultSlotChange",
3556
+ "privacy": "private"
3557
+ },
3558
+ {
3559
+ "kind": "method",
3560
+ "name": "handleTagRemove",
3561
+ "privacy": "private",
3562
+ "parameters": [
3563
+ {
3564
+ "name": "event",
3565
+ "type": {
3566
+ "text": "DSARemoveEvent"
3567
+ }
3568
+ },
3569
+ {
3570
+ "name": "option",
3571
+ "type": {
3572
+ "text": "DSAOption"
3573
+ }
3574
+ }
3575
+ ]
3576
+ },
3577
+ {
3578
+ "kind": "method",
3579
+ "name": "getAllOptions",
3580
+ "privacy": "private"
3581
+ },
3582
+ {
3583
+ "kind": "method",
3584
+ "name": "clearSelectedOptions",
3585
+ "privacy": "private"
3586
+ },
3587
+ {
3588
+ "kind": "method",
3589
+ "name": "setCurrentOption",
3590
+ "privacy": "private",
3591
+ "parameters": [
3592
+ {
3593
+ "name": "option",
3594
+ "type": {
3595
+ "text": "DSAOption | undefined"
3596
+ }
3597
+ },
3598
+ {
3599
+ "name": "focus",
3600
+ "default": "false"
3601
+ }
3602
+ ]
3603
+ },
3604
+ {
3605
+ "kind": "method",
3606
+ "name": "setSelectedOptions",
3607
+ "privacy": "private",
3608
+ "parameters": [
3609
+ {
3610
+ "name": "option",
3611
+ "type": {
3612
+ "text": "DSAOption | DSAOption[]"
3613
+ }
3614
+ }
3615
+ ]
3616
+ },
3617
+ {
3618
+ "kind": "method",
3619
+ "name": "handleClearMouseDown",
3620
+ "privacy": "private",
3621
+ "parameters": [
3622
+ {
3623
+ "name": "event",
3624
+ "type": {
3625
+ "text": "MouseEvent"
3626
+ }
3627
+ }
3628
+ ]
3629
+ },
3630
+ {
3631
+ "kind": "method",
3632
+ "name": "selectionChanged",
3633
+ "privacy": "private"
3634
+ },
3635
+ {
3636
+ "kind": "method",
3637
+ "name": "handleInvalid",
3638
+ "privacy": "private",
3639
+ "parameters": [
3640
+ {
3641
+ "name": "event",
3642
+ "type": {
3643
+ "text": "Event"
3644
+ }
3645
+ }
3646
+ ]
3647
+ },
3648
+ {
3649
+ "kind": "method",
3650
+ "name": "addOpenListeners",
3651
+ "privacy": "private",
3652
+ "description": "Listeners"
3653
+ },
3654
+ {
3655
+ "kind": "method",
3656
+ "name": "removeOpenListeners",
3657
+ "privacy": "private"
3658
+ },
3659
+ {
3660
+ "kind": "method",
3661
+ "name": "handleDocumentFocusIn",
3662
+ "privacy": "private",
3663
+ "parameters": [
3664
+ {
3665
+ "name": "event",
3666
+ "type": {
3667
+ "text": "FocusEvent"
3668
+ }
3669
+ }
3670
+ ]
3671
+ },
3672
+ {
3673
+ "kind": "method",
3674
+ "name": "handleDocumentMouseDown",
3675
+ "privacy": "private",
3676
+ "parameters": [
3677
+ {
3678
+ "name": "event",
3679
+ "type": {
3680
+ "text": "MouseEvent"
3681
+ }
3682
+ }
3683
+ ]
3684
+ },
3685
+ {
3686
+ "kind": "method",
3687
+ "name": "handleDocumentKeyDown",
3688
+ "privacy": "private",
3689
+ "parameters": [
3690
+ {
3691
+ "name": "event",
3692
+ "type": {
3693
+ "text": "KeyboardEvent"
3694
+ }
3695
+ }
3696
+ ]
3697
+ },
3698
+ {
3699
+ "kind": "method",
3700
+ "name": "handleEscapeAndTabKeys",
3701
+ "privacy": "private",
3702
+ "parameters": [
3703
+ {
3704
+ "name": "key",
3705
+ "type": {
3706
+ "text": "string"
3707
+ }
3708
+ }
3709
+ ]
3710
+ },
3711
+ {
3712
+ "kind": "method",
3713
+ "name": "handleEnterKey",
3714
+ "privacy": "private",
3715
+ "parameters": [
3716
+ {
3717
+ "name": "event",
3718
+ "type": {
3719
+ "text": "KeyboardEvent"
3720
+ }
3721
+ }
3722
+ ]
3723
+ },
3724
+ {
3725
+ "kind": "method",
3726
+ "name": "handleArrowKeys",
3727
+ "privacy": "private"
3728
+ },
3729
+ {
3730
+ "kind": "method",
3731
+ "name": "handleNavigationKeys",
3732
+ "privacy": "private",
3733
+ "parameters": [
3734
+ {
3735
+ "name": "event",
3736
+ "type": {
3737
+ "text": "KeyboardEvent"
3738
+ }
3739
+ }
3740
+ ]
3741
+ },
3742
+ {
3743
+ "kind": "method",
3744
+ "name": "handleDisabledChange"
3745
+ },
3746
+ {
3747
+ "kind": "method",
3748
+ "name": "handleItemsChange"
3749
+ },
3750
+ {
3751
+ "kind": "method",
3752
+ "name": "handleValueChange"
3753
+ },
3754
+ {
3755
+ "kind": "method",
3756
+ "name": "handleOpenChange"
3757
+ },
3758
+ {
3759
+ "kind": "method",
3760
+ "name": "show",
3761
+ "description": "Shows the listbox."
2902
3762
  },
2903
3763
  {
2904
3764
  "kind": "method",
2905
- "name": "handleErrorChange"
3765
+ "name": "hide",
3766
+ "description": "Hides the listbox."
2906
3767
  },
2907
3768
  {
2908
3769
  "kind": "method",
@@ -2922,11 +3783,6 @@
2922
3783
  {
2923
3784
  "kind": "method",
2924
3785
  "name": "reportValidity",
2925
- "return": {
2926
- "type": {
2927
- "text": "boolean"
2928
- }
2929
- },
2930
3786
  "description": "Checks for validity and shows the browser's validation message if the control is invalid."
2931
3787
  },
2932
3788
  {
@@ -2935,62 +3791,188 @@
2935
3791
  "parameters": [
2936
3792
  {
2937
3793
  "name": "message",
2938
- "default": "''"
3794
+ "type": {
3795
+ "text": "string"
3796
+ }
2939
3797
  }
2940
3798
  ],
2941
3799
  "description": "Sets a custom validation message. Pass an empty string to restore validity."
3800
+ },
3801
+ {
3802
+ "kind": "method",
3803
+ "name": "focus",
3804
+ "parameters": [
3805
+ {
3806
+ "name": "options",
3807
+ "optional": true,
3808
+ "type": {
3809
+ "text": "FocusOptions"
3810
+ }
3811
+ }
3812
+ ],
3813
+ "description": "Sets focus on the control."
3814
+ },
3815
+ {
3816
+ "kind": "method",
3817
+ "name": "blur",
3818
+ "description": "Removes focus from the control."
2942
3819
  }
2943
3820
  ],
2944
3821
  "events": [
2945
3822
  {
2946
- "description": "Emitted when the checkbox group's selected value changes.",
3823
+ "description": "Emitted when the control's value changes.",
2947
3824
  "name": "dsa-change"
2948
3825
  },
2949
3826
  {
2950
- "description": "Emitted when the checkbox group receives user input.",
3827
+ "description": "Emitted when the control receives input.",
2951
3828
  "name": "dsa-input"
2952
3829
  },
3830
+ {
3831
+ "description": "Emitted when the control gains focus.",
3832
+ "name": "dsa-focus"
3833
+ },
3834
+ {
3835
+ "description": "Emitted when the control loses focus.",
3836
+ "name": "dsa-blur"
3837
+ },
3838
+ {
3839
+ "description": "Emitted when the combobox's menu opens.",
3840
+ "name": "dsa-show"
3841
+ },
3842
+ {
3843
+ "description": "Emitted after the combobox's menu opens and all animations are complete.",
3844
+ "name": "dsa-after-show"
3845
+ },
3846
+ {
3847
+ "description": "Emitted when the combobox's menu closes.",
3848
+ "name": "dsa-hide"
3849
+ },
3850
+ {
3851
+ "description": "Emitted after the combobox's menu closes and all animations are complete.",
3852
+ "name": "dsa-after-hide"
3853
+ },
2953
3854
  {
2954
3855
  "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
2955
3856
  "name": "dsa-invalid"
2956
3857
  }
2957
3858
  ],
2958
3859
  "attributes": [
3860
+ {
3861
+ "name": "name",
3862
+ "type": {
3863
+ "text": "string"
3864
+ },
3865
+ "default": "''",
3866
+ "description": "The name of the combobox, submitted as a name/value pair with form data.",
3867
+ "fieldName": "name"
3868
+ },
3869
+ {
3870
+ "name": "title",
3871
+ "type": {
3872
+ "text": "string"
3873
+ },
3874
+ "default": "''",
3875
+ "description": "The title contains a text representing advisory information related to the element it belongs to.",
3876
+ "fieldName": "title"
3877
+ },
3878
+ {
3879
+ "name": "open",
3880
+ "type": {
3881
+ "text": "boolean"
3882
+ },
3883
+ "default": "false",
3884
+ "description": "Indicates whether or not the combobox is open. You can toggle this attribute to show and hide the menu, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the combobox's open state.",
3885
+ "fieldName": "open"
3886
+ },
3887
+ {
3888
+ "name": "value",
3889
+ "type": {
3890
+ "text": "string | string[]"
3891
+ },
3892
+ "default": "''",
3893
+ "description": "The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the\nvalue will be a space-delimited list of values based on the options selected.",
3894
+ "fieldName": "value"
3895
+ },
3896
+ {
3897
+ "name": "size",
3898
+ "type": {
3899
+ "text": "'small' | 'medium' | 'large'"
3900
+ },
3901
+ "default": "'medium'",
3902
+ "description": "The combobox's size.",
3903
+ "fieldName": "size"
3904
+ },
3905
+ {
3906
+ "name": "placeholder",
3907
+ "type": {
3908
+ "text": "string"
3909
+ },
3910
+ "default": "''",
3911
+ "description": "Placeholder text to show as a hint when the combobox is empty.",
3912
+ "fieldName": "placeholder"
3913
+ },
2959
3914
  {
2960
3915
  "name": "label",
2961
3916
  "type": {
2962
3917
  "text": "string"
2963
3918
  },
2964
3919
  "default": "''",
2965
- "description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
3920
+ "description": "The combobox's label. If you need to display HTML, use the `label` slot instead.",
2966
3921
  "fieldName": "label"
2967
3922
  },
3923
+ {
3924
+ "name": "variant",
3925
+ "type": {
3926
+ "text": "'base' | 'layer'"
3927
+ },
3928
+ "default": "'base'",
3929
+ "description": "The combobox's variant.",
3930
+ "fieldName": "variant"
3931
+ },
3932
+ {
3933
+ "name": "hoist",
3934
+ "type": {
3935
+ "text": "boolean"
3936
+ },
3937
+ "default": "false",
3938
+ "description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
3939
+ "fieldName": "hoist"
3940
+ },
3941
+ {
3942
+ "name": "placement",
3943
+ "type": {
3944
+ "text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'"
3945
+ },
3946
+ "default": "'bottom'",
3947
+ "description": "The preferred placement of the combobox's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
3948
+ "fieldName": "placement"
3949
+ },
2968
3950
  {
2969
3951
  "name": "help-text",
2970
3952
  "type": {
2971
3953
  "text": "string"
2972
3954
  },
2973
3955
  "default": "''",
2974
- "description": "The checkbox groups's help text. If you need to display HTML, use the `help-text` slot instead.",
3956
+ "description": "The combobox's help text. If you need to display HTML, use the `help-text` slot instead.",
2975
3957
  "fieldName": "helpText"
2976
3958
  },
2977
3959
  {
2978
- "name": "name",
3960
+ "name": "disabled",
2979
3961
  "type": {
2980
- "text": "string"
3962
+ "text": "boolean"
2981
3963
  },
2982
- "default": "'option'",
2983
- "description": "The name of the checkbox group, submitted as a name/value pair with form data.",
2984
- "fieldName": "name"
3964
+ "default": "false",
3965
+ "description": "Disables the combobox control.",
3966
+ "fieldName": "disabled"
2985
3967
  },
2986
3968
  {
2987
- "name": "value",
3969
+ "name": "clearable",
2988
3970
  "type": {
2989
- "text": "string[]"
3971
+ "text": "boolean"
2990
3972
  },
2991
- "default": "[]",
2992
- "description": "The current value of the checkbox group, submitted as a name/value pair with form data. The value is a comma-delimited list of values based on the checked checkboxes.",
2993
- "fieldName": "value"
3973
+ "default": "false",
3974
+ "description": "Adds a clear button when the select is not empty.",
3975
+ "fieldName": "clearable"
2994
3976
  },
2995
3977
  {
2996
3978
  "name": "form",
@@ -3007,25 +3989,16 @@
3007
3989
  "text": "boolean"
3008
3990
  },
3009
3991
  "default": "false",
3010
- "description": "Ensures a child checkbox is checked before allowing the containing form to submit.",
3992
+ "description": "The combobox's required attribute.",
3011
3993
  "fieldName": "required"
3012
3994
  },
3013
- {
3014
- "name": "horizontal",
3015
- "type": {
3016
- "text": "boolean"
3017
- },
3018
- "default": "false",
3019
- "description": "Sets the orientation of the checkbox options",
3020
- "fieldName": "horizontal"
3021
- },
3022
3995
  {
3023
3996
  "name": "error",
3024
3997
  "type": {
3025
3998
  "text": "boolean"
3026
3999
  },
3027
4000
  "default": "false",
3028
- "description": "Indicates whether the group should be in error state",
4001
+ "description": "Indicates whether the input should be in error state",
3029
4002
  "fieldName": "error"
3030
4003
  },
3031
4004
  {
@@ -3036,18 +4009,48 @@
3036
4009
  "default": "''",
3037
4010
  "description": "An error message that is shown when `error` is set to true",
3038
4011
  "fieldName": "errorMessage"
4012
+ },
4013
+ {
4014
+ "name": "no-sync-width",
4015
+ "type": {
4016
+ "text": "boolean"
4017
+ },
4018
+ "default": "false",
4019
+ "description": "When set to true, the Popup's width is no longer equal to its anchor's width",
4020
+ "fieldName": "noSyncWidth"
4021
+ },
4022
+ {
4023
+ "name": "multiple",
4024
+ "type": {
4025
+ "text": "boolean"
4026
+ },
4027
+ "default": "false",
4028
+ "description": "Allows more than one option to be selected.",
4029
+ "fieldName": "multiple"
4030
+ },
4031
+ {
4032
+ "name": "max-options-visible",
4033
+ "type": {
4034
+ "text": "number"
4035
+ },
4036
+ "default": "3",
4037
+ "description": "The maximum number of selected options to show when `multiple` is true. After the maximum, \"+n\" will be shown to\nindicate the number of additional items that are selected. Set to 0 to remove the limit.",
4038
+ "fieldName": "maxOptionsVisible"
3039
4039
  }
3040
4040
  ],
3041
4041
  "superclass": {
3042
4042
  "name": "ShoelaceElement",
3043
4043
  "module": "/src/internal/shoelace-element"
3044
4044
  },
3045
- "summary": "Checkbox groups are used to group multiple [checkbox](/components/checkbox) or [checkbox buttons](/components/checkbox-button) so they function as a single form control.",
3046
- "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/262df4-checkbox-group",
4045
+ "summary": "Comboboxes allow you to type a value directly or select a value from a menu of predefined options. Values are filtered by checking the presence of the search term.",
4046
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/678522-combobox-beta",
3047
4047
  "dependencies": [
4048
+ "dsa-icon",
4049
+ "dsa-popup",
4050
+ "dsa-tag",
3048
4051
  "dsa-error-text"
3049
4052
  ],
3050
- "tagName": "dsa-checkbox-group",
4053
+ "tagName": "dsa-combobox",
3051
4054
  "customElement": true
3052
4055
  }
3053
4056
  ],
@@ -3056,16 +4059,16 @@
3056
4059
  "kind": "js",
3057
4060
  "name": "default",
3058
4061
  "declaration": {
3059
- "name": "DSACheckboxGroup",
3060
- "module": "components/checkbox-group/checkbox-group.js"
4062
+ "name": "DSACombobox",
4063
+ "module": "components/combobox/combobox.js"
3061
4064
  }
3062
4065
  },
3063
4066
  {
3064
4067
  "kind": "custom-element-definition",
3065
- "name": "dsa-checkbox-group",
4068
+ "name": "dsa-combobox",
3066
4069
  "declaration": {
3067
- "name": "DSACheckboxGroup",
3068
- "module": "components/checkbox-group/checkbox-group.js"
4070
+ "name": "DSACombobox",
4071
+ "module": "components/combobox/combobox.js"
3069
4072
  }
3070
4073
  }
3071
4074
  ]
@@ -3376,7 +4379,7 @@
3376
4379
  "module": "/src/internal/shoelace-element"
3377
4380
  },
3378
4381
  "summary": "Dividers are used to visually separate or group elements.",
3379
- "documentation": "https://shoelace.style/components/divider",
4382
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/49023f-divider",
3380
4383
  "tagName": "dsa-divider",
3381
4384
  "customElement": true
3382
4385
  }
@@ -5271,7 +6274,7 @@
5271
6274
  "module": "/src/internal/shoelace-element"
5272
6275
  },
5273
6276
  "summary": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.",
5274
- "documentation": "https://shoelace.style/components/icon-button",
6277
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/840b81-icon-button",
5275
6278
  "dependencies": [
5276
6279
  "dsa-icon"
5277
6280
  ],
@@ -5485,6 +6488,10 @@
5485
6488
  {
5486
6489
  "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
5487
6490
  "name": "help-text"
6491
+ },
6492
+ {
6493
+ "description": "The tooltip slot allows additional information to be passed along the label.",
6494
+ "name": "tooltip"
5488
6495
  }
5489
6496
  ],
5490
6497
  "members": [
@@ -5915,11 +6922,6 @@
5915
6922
  "name": "handlePasswordToggle",
5916
6923
  "privacy": "private"
5917
6924
  },
5918
- {
5919
- "kind": "method",
5920
- "name": "getPickerIcon",
5921
- "privacy": "private"
5922
- },
5923
6925
  {
5924
6926
  "kind": "method",
5925
6927
  "name": "handleErrorChange"
@@ -6520,6 +7522,10 @@
6520
7522
  {
6521
7523
  "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
6522
7524
  "name": "help-text"
7525
+ },
7526
+ {
7527
+ "description": "The tooltip slot allows additional information to be passed along the label.",
7528
+ "name": "tooltip"
6523
7529
  }
6524
7530
  ],
6525
7531
  "members": [
@@ -7440,13 +8446,13 @@
7440
8446
  "description": "The input's label. Alternatively, you can use the `label` attribute.",
7441
8447
  "name": "label"
7442
8448
  },
7443
- {
7444
- "description": "Used to prepend a presentational icon or similar element to the input.",
7445
- "name": "prefix"
7446
- },
7447
8449
  {
7448
8450
  "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
7449
8451
  "name": "help-text"
8452
+ },
8453
+ {
8454
+ "description": "The tooltip slot allows additional information to be passed along the label.",
8455
+ "name": "tooltip"
7450
8456
  }
7451
8457
  ],
7452
8458
  "members": [
@@ -8393,7 +9399,7 @@
8393
9399
  "module": "/src/internal/shoelace-element"
8394
9400
  },
8395
9401
  "summary": "Menus provide a list of options for the user to choose from.",
8396
- "documentation": "https://shoelace.style/components/menu",
9402
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/691d41-menu",
8397
9403
  "tagName": "dsa-menu",
8398
9404
  "customElement": true
8399
9405
  }
@@ -8603,7 +9609,7 @@
8603
9609
  "module": "/src/internal/shoelace-element"
8604
9610
  },
8605
9611
  "summary": "Menu items provide options for the user to pick from in a menu.",
8606
- "documentation": "https://shoelace.style/components/menu-item",
9612
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/033eea-menu-item",
8607
9613
  "dependencies": [
8608
9614
  "dsa-icon"
8609
9615
  ],
@@ -8650,7 +9656,7 @@
8650
9656
  "module": "/src/internal/shoelace-element"
8651
9657
  },
8652
9658
  "summary": "Menu labels are used to describe a group of menu items.",
8653
- "documentation": "https://shoelace.style/components/menu-label",
9659
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/409314-menu-label",
8654
9660
  "tagName": "dsa-menu-label",
8655
9661
  "customElement": true
8656
9662
  }
@@ -9694,7 +10700,7 @@
9694
10700
  "module": "/src/internal/shoelace-element"
9695
10701
  },
9696
10702
  "summary": "Progress bars are used to show the status of an ongoing operation.",
9697
- "documentation": "https://shoelace.style/components/progress-bar",
10703
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/37d331-progress-bar",
9698
10704
  "tagName": "dsa-progress-bar",
9699
10705
  "customElement": true
9700
10706
  }
@@ -9727,13 +10733,6 @@
9727
10733
  "description": "",
9728
10734
  "name": "DSAProgressRing",
9729
10735
  "members": [
9730
- {
9731
- "kind": "field",
9732
- "name": "localize",
9733
- "privacy": "private",
9734
- "readonly": true,
9735
- "default": "new LocalizeController(this)"
9736
- },
9737
10736
  {
9738
10737
  "kind": "field",
9739
10738
  "name": "indicator",
@@ -9815,7 +10814,7 @@
9815
10814
  "module": "/src/internal/shoelace-element"
9816
10815
  },
9817
10816
  "summary": "Progress rings are used to show the progress of a determinate operation in a circular fashion.",
9818
- "documentation": "https://shoelace.style/components/progress-ring",
10817
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/3228f9-progress-ring",
9819
10818
  "tagName": "dsa-progress-ring",
9820
10819
  "customElement": true
9821
10820
  }
@@ -11007,6 +12006,10 @@
11007
12006
  {
11008
12007
  "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
11009
12008
  "name": "help-text"
12009
+ },
12010
+ {
12011
+ "description": "The tooltip slot allows additional information to be passed along the label.",
12012
+ "name": "tooltip"
11010
12013
  }
11011
12014
  ],
11012
12015
  "members": [
@@ -11217,6 +12220,16 @@
11217
12220
  "attribute": "disabled",
11218
12221
  "reflects": true
11219
12222
  },
12223
+ {
12224
+ "kind": "field",
12225
+ "name": "readonly",
12226
+ "type": {
12227
+ "text": "boolean"
12228
+ },
12229
+ "default": "false",
12230
+ "description": "Makes the select readonly",
12231
+ "attribute": "readonly"
12232
+ },
11220
12233
  {
11221
12234
  "kind": "field",
11222
12235
  "name": "clearable",
@@ -11584,6 +12597,10 @@
11584
12597
  "kind": "method",
11585
12598
  "name": "handleDisabledChange"
11586
12599
  },
12600
+ {
12601
+ "kind": "method",
12602
+ "name": "handleReadonlyChange"
12603
+ },
11587
12604
  {
11588
12605
  "kind": "method",
11589
12606
  "name": "handleValueChange"
@@ -11779,6 +12796,15 @@
11779
12796
  "description": "Disables the select control.",
11780
12797
  "fieldName": "disabled"
11781
12798
  },
12799
+ {
12800
+ "name": "readonly",
12801
+ "type": {
12802
+ "text": "boolean"
12803
+ },
12804
+ "default": "false",
12805
+ "description": "Makes the select readonly",
12806
+ "fieldName": "readonly"
12807
+ },
11782
12808
  {
11783
12809
  "name": "clearable",
11784
12810
  "type": {
@@ -11973,7 +12999,7 @@
11973
12999
  "module": "/src/internal/shoelace-element"
11974
13000
  },
11975
13001
  "summary": "Skeletons are used to provide a visual representation of where content will eventually be drawn.",
11976
- "documentation": "https://shoelace.style/components/skeleton",
13002
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/25df58-skeleton",
11977
13003
  "tagName": "dsa-skeleton",
11978
13004
  "customElement": true
11979
13005
  }
@@ -12257,7 +13283,7 @@
12257
13283
  "module": "/src/internal/shoelace-element"
12258
13284
  },
12259
13285
  "summary": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).",
12260
- "documentation": "https://shoelace.style/components/tab",
13286
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/84e25f-tab",
12261
13287
  "dependencies": [
12262
13288
  "dsa-icon-button"
12263
13289
  ],
@@ -12558,7 +13584,7 @@
12558
13584
  "module": "/src/internal/shoelace-element"
12559
13585
  },
12560
13586
  "summary": "Tab groups organize content into a container that shows one section at a time.",
12561
- "documentation": "https://shoelace.style/components/tab-group",
13587
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/60c052-tab-group",
12562
13588
  "dependencies": [
12563
13589
  "dsa-icon-button"
12564
13590
  ],
@@ -12669,7 +13695,7 @@
12669
13695
  "module": "/src/internal/shoelace-element"
12670
13696
  },
12671
13697
  "summary": "Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.",
12672
- "documentation": "https://shoelace.style/components/tab-panel",
13698
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/59253a-tab-panel",
12673
13699
  "tagName": "dsa-tab-panel",
12674
13700
  "customElement": true
12675
13701
  }
@@ -12857,6 +13883,10 @@
12857
13883
  {
12858
13884
  "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
12859
13885
  "name": "help-text"
13886
+ },
13887
+ {
13888
+ "description": "The tooltip slot allows additional information to be passed along the label.",
13889
+ "name": "tooltip"
12860
13890
  }
12861
13891
  ],
12862
13892
  "members": [
@@ -14237,7 +15267,7 @@
14237
15267
  "module": "/src/internal/shoelace-element"
14238
15268
  },
14239
15269
  "summary": "Trees allow you to display a hierarchical list of selectable [tree items](/components/tree-item). Items with children can be expanded and collapsed as desired by the user.",
14240
- "documentation": "https://shoelace.style/components/tree",
15270
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/226aa4-tree",
14241
15271
  "tagName": "dsa-tree",
14242
15272
  "customElement": true
14243
15273
  }
@@ -14545,7 +15575,7 @@
14545
15575
  "module": "/src/internal/shoelace-element"
14546
15576
  },
14547
15577
  "summary": "A tree item serves as a hierarchical node that lives inside a [tree](/components/tree).",
14548
- "documentation": "https://shoelace.style/components/tree-item",
15578
+ "documentation": "https://dsa.service-public-autonomie.fr/062dac5f6/p/19ca87-tree-item",
14549
15579
  "dependencies": [
14550
15580
  "dsa-checkbox",
14551
15581
  "dsa-icon",
@@ -14621,7 +15651,7 @@
14621
15651
  ],
14622
15652
  "package": {
14623
15653
  "name": "@ds-autonomie/web-components",
14624
- "version": "1.0.1",
15654
+ "version": "1.1.0",
14625
15655
  "author": "CNSA",
14626
15656
  "license": "MIT"
14627
15657
  }