@ds-autonomie/web-components 2.21.1 → 2.21.2
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 +6 -0
- package/cdn/chunks/chunk.5KKFNICD.js +121 -0
- package/cdn/chunks/{chunk.XXFCN6MW.js → chunk.EBMR5RUP.js} +1 -1
- package/cdn/chunks/{chunk.24NXLHSI.js → chunk.U4A36HDQ.js} +1 -1
- package/cdn/chunks/{chunk.3Q73BJS5.js → chunk.UUN3KGYB.js} +1 -1
- package/cdn/components/filter-counter/filter-counter.js +1 -1
- package/cdn/components/filter-date/filter-date.js +1 -1
- package/cdn/components/filter-select/filter-select.d.ts +0 -1
- package/cdn/components/filter-select/filter-select.js +1 -1
- package/cdn/components/tree/tree.js +1 -1
- package/cdn/custom-elements.json +261 -267
- package/cdn/design-system.js +1 -1
- package/cdn/vscode.html-custom-data.json +41 -41
- package/cdn/web-types.json +144 -148
- package/dist/chunks/{chunk.FTIQ3KCK.js → chunk.H7FCKWK4.js} +12 -24
- package/dist/components/filter-counter/filter-counter.js +2 -2
- package/dist/components/filter-date/filter-date.js +2 -2
- package/dist/components/filter-select/filter-select.d.ts +0 -1
- package/dist/components/filter-select/filter-select.js +2 -2
- package/dist/components/tree/tree.js +2 -2
- package/dist/custom-elements.json +261 -267
- package/dist/design-system.js +23 -23
- package/dist/vscode.html-custom-data.json +41 -41
- package/dist/web-types.json +144 -148
- package/package.json +1 -1
- package/cdn/chunks/chunk.DLQV224B.js +0 -121
- package/dist/chunks/{chunk.YOK7OXBS.js → chunk.4EG67OAK.js} +3 -3
- package/dist/chunks/{chunk.RKGIZ4JZ.js → chunk.BJPQ42FM.js} +3 -3
- package/dist/chunks/{chunk.Z4TGH2YA.js → chunk.XSZCCDGA.js} +3 -3
|
@@ -10775,12 +10775,6 @@
|
|
|
10775
10775
|
"privacy": "private",
|
|
10776
10776
|
"default": "null"
|
|
10777
10777
|
},
|
|
10778
|
-
{
|
|
10779
|
-
"kind": "field",
|
|
10780
|
-
"name": "optionsByValue",
|
|
10781
|
-
"privacy": "private",
|
|
10782
|
-
"default": "new Map<string, DSAOption>()"
|
|
10783
|
-
},
|
|
10784
10778
|
{
|
|
10785
10779
|
"kind": "field",
|
|
10786
10780
|
"name": "normalizedLabelsByValue",
|
|
@@ -29951,52 +29945,12 @@
|
|
|
29951
29945
|
},
|
|
29952
29946
|
{
|
|
29953
29947
|
"kind": "javascript-module",
|
|
29954
|
-
"path": "components/tag/tag-
|
|
29955
|
-
"declarations": [
|
|
29956
|
-
{
|
|
29957
|
-
"kind": "variable",
|
|
29958
|
-
"name": "TAG_VARIANTS",
|
|
29959
|
-
"type": {
|
|
29960
|
-
"text": "[\n 'purple-100',\n 'purple-200',\n 'purple-300',\n 'purple-400',\n 'blue-100',\n 'blue-200',\n 'blue-300',\n 'blue-400',\n 'orange-100',\n 'orange-200',\n 'orange-300',\n 'orange-400',\n 'pink-100',\n 'pink-200',\n 'pink-300',\n 'pink-400',\n 'yellow-100',\n 'yellow-200',\n 'yellow-300',\n 'yellow-400',\n 'green-100',\n 'green-200',\n 'green-300',\n 'green-400',\n 'neutral-100',\n 'neutral-200',\n 'neutral-300',\n 'neutral-400',\n]"
|
|
29961
|
-
},
|
|
29962
|
-
"default": "[ 'purple-100', 'purple-200', 'purple-300', 'purple-400', 'blue-100', 'blue-200', 'blue-300', 'blue-400', 'orange-100', 'orange-200', 'orange-300', 'orange-400', 'pink-100', 'pink-200', 'pink-300', 'pink-400', 'yellow-100', 'yellow-200', 'yellow-300', 'yellow-400', 'green-100', 'green-200', 'green-300', 'green-400', 'neutral-100', 'neutral-200', 'neutral-300', 'neutral-400', ]"
|
|
29963
|
-
},
|
|
29964
|
-
{
|
|
29965
|
-
"kind": "variable",
|
|
29966
|
-
"name": "DEPRECATED_TAG_VARIANTS",
|
|
29967
|
-
"type": {
|
|
29968
|
-
"text": "[\n 'purple-500',\n 'blue-500',\n 'blue-600',\n 'orange-500',\n 'orange-600',\n 'pink-500',\n 'yellow-500',\n 'yellow-600',\n 'yellow-700',\n 'green-500',\n 'green-600',\n 'green-700',\n]"
|
|
29969
|
-
},
|
|
29970
|
-
"default": "[ 'purple-500', 'blue-500', 'blue-600', 'orange-500', 'orange-600', 'pink-500', 'yellow-500', 'yellow-600', 'yellow-700', 'green-500', 'green-600', 'green-700', ]"
|
|
29971
|
-
}
|
|
29972
|
-
],
|
|
29973
|
-
"exports": [
|
|
29974
|
-
{
|
|
29975
|
-
"kind": "js",
|
|
29976
|
-
"name": "TAG_VARIANTS",
|
|
29977
|
-
"declaration": {
|
|
29978
|
-
"name": "TAG_VARIANTS",
|
|
29979
|
-
"module": "components/tag/tag-variants.js"
|
|
29980
|
-
}
|
|
29981
|
-
},
|
|
29982
|
-
{
|
|
29983
|
-
"kind": "js",
|
|
29984
|
-
"name": "DEPRECATED_TAG_VARIANTS",
|
|
29985
|
-
"declaration": {
|
|
29986
|
-
"name": "DEPRECATED_TAG_VARIANTS",
|
|
29987
|
-
"module": "components/tag/tag-variants.js"
|
|
29988
|
-
}
|
|
29989
|
-
}
|
|
29990
|
-
]
|
|
29991
|
-
},
|
|
29992
|
-
{
|
|
29993
|
-
"kind": "javascript-module",
|
|
29994
|
-
"path": "components/tag/tag.js",
|
|
29948
|
+
"path": "components/tag-button/tag-button.js",
|
|
29995
29949
|
"declarations": [
|
|
29996
29950
|
{
|
|
29997
29951
|
"kind": "class",
|
|
29998
29952
|
"description": "",
|
|
29999
|
-
"name": "
|
|
29953
|
+
"name": "DSATagButton",
|
|
30000
29954
|
"slots": [
|
|
30001
29955
|
{
|
|
30002
29956
|
"description": "Used to prepend a presentational icon or similar element to the input.",
|
|
@@ -30010,50 +29964,28 @@
|
|
|
30010
29964
|
"members": [
|
|
30011
29965
|
{
|
|
30012
29966
|
"kind": "field",
|
|
30013
|
-
"name": "
|
|
29967
|
+
"name": "tagButton",
|
|
30014
29968
|
"type": {
|
|
30015
|
-
"text": "
|
|
30016
|
-
}
|
|
30017
|
-
"static": true,
|
|
30018
|
-
"default": "{ 'dsa-icon-button': DSAIconButton, 'dsa-tooltip': DSATooltip, 'dsa-visually-hidden': DSAVisuallyHidden, }"
|
|
30019
|
-
},
|
|
30020
|
-
{
|
|
30021
|
-
"kind": "field",
|
|
30022
|
-
"name": "localize",
|
|
30023
|
-
"privacy": "private",
|
|
30024
|
-
"readonly": true,
|
|
30025
|
-
"default": "new LocalizeController(this)"
|
|
29969
|
+
"text": "HTMLButtonElement | HTMLLinkElement"
|
|
29970
|
+
}
|
|
30026
29971
|
},
|
|
30027
29972
|
{
|
|
30028
29973
|
"kind": "field",
|
|
30029
|
-
"name": "
|
|
29974
|
+
"name": "label",
|
|
30030
29975
|
"type": {
|
|
30031
29976
|
"text": "string"
|
|
30032
29977
|
},
|
|
30033
|
-
"
|
|
30034
|
-
"
|
|
30035
|
-
|
|
30036
|
-
{
|
|
30037
|
-
"kind": "field",
|
|
30038
|
-
"name": "content",
|
|
30039
|
-
"type": {
|
|
30040
|
-
"text": "HTMLElement"
|
|
30041
|
-
}
|
|
30042
|
-
},
|
|
30043
|
-
{
|
|
30044
|
-
"kind": "field",
|
|
30045
|
-
"name": "removeButton",
|
|
30046
|
-
"type": {
|
|
30047
|
-
"text": "HTMLElement"
|
|
30048
|
-
}
|
|
29978
|
+
"default": "''",
|
|
29979
|
+
"description": "The tag's label",
|
|
29980
|
+
"attribute": "label"
|
|
30049
29981
|
},
|
|
30050
29982
|
{
|
|
30051
29983
|
"kind": "field",
|
|
30052
29984
|
"name": "variant",
|
|
30053
29985
|
"type": {
|
|
30054
|
-
"text": "
|
|
29986
|
+
"text": "'neutral' | 'active'"
|
|
30055
29987
|
},
|
|
30056
|
-
"default": "'
|
|
29988
|
+
"default": "'neutral'",
|
|
30057
29989
|
"description": "The tag's theme variant.",
|
|
30058
29990
|
"attribute": "variant",
|
|
30059
29991
|
"reflects": true
|
|
@@ -30071,68 +30003,129 @@
|
|
|
30071
30003
|
},
|
|
30072
30004
|
{
|
|
30073
30005
|
"kind": "field",
|
|
30074
|
-
"name": "
|
|
30006
|
+
"name": "accessibleName",
|
|
30075
30007
|
"type": {
|
|
30076
|
-
"text": "
|
|
30008
|
+
"text": "string"
|
|
30077
30009
|
},
|
|
30078
|
-
"
|
|
30079
|
-
"
|
|
30080
|
-
"
|
|
30010
|
+
"description": "Provides an accessible label for the element",
|
|
30011
|
+
"attribute": "accessible-name",
|
|
30012
|
+
"reflects": true
|
|
30081
30013
|
},
|
|
30082
30014
|
{
|
|
30083
30015
|
"kind": "field",
|
|
30084
|
-
"name": "
|
|
30016
|
+
"name": "description",
|
|
30085
30017
|
"type": {
|
|
30086
30018
|
"text": "string"
|
|
30087
30019
|
},
|
|
30088
30020
|
"default": "''",
|
|
30089
|
-
"
|
|
30090
|
-
"
|
|
30021
|
+
"description": "Provides an accessible description for the element",
|
|
30022
|
+
"attribute": "description"
|
|
30091
30023
|
},
|
|
30092
30024
|
{
|
|
30093
30025
|
"kind": "field",
|
|
30094
|
-
"name": "
|
|
30026
|
+
"name": "href",
|
|
30095
30027
|
"type": {
|
|
30096
30028
|
"text": "string"
|
|
30097
30029
|
},
|
|
30098
30030
|
"default": "''",
|
|
30099
|
-
"description": "(
|
|
30100
|
-
"attribute": "
|
|
30101
|
-
"reflects": true
|
|
30031
|
+
"description": "(Link) Change thetag role to link. Specifies the URL of the page the link goes to.",
|
|
30032
|
+
"attribute": "href"
|
|
30102
30033
|
},
|
|
30103
30034
|
{
|
|
30104
30035
|
"kind": "field",
|
|
30105
|
-
"name": "
|
|
30036
|
+
"name": "rel",
|
|
30106
30037
|
"type": {
|
|
30107
|
-
"text": "
|
|
30038
|
+
"text": "string"
|
|
30108
30039
|
},
|
|
30109
|
-
"default": "
|
|
30110
|
-
"description": "
|
|
30111
|
-
"attribute": "
|
|
30040
|
+
"default": "'noreferrer noopener'",
|
|
30041
|
+
"description": "(Link) Determines the relationship between the current document and the linked document",
|
|
30042
|
+
"attribute": "rel"
|
|
30043
|
+
},
|
|
30044
|
+
{
|
|
30045
|
+
"kind": "field",
|
|
30046
|
+
"name": "download",
|
|
30047
|
+
"type": {
|
|
30048
|
+
"text": "string | undefined"
|
|
30049
|
+
},
|
|
30050
|
+
"description": "(Link) Specifies that the target will be downloaded when a user clicks on the hyperlink",
|
|
30051
|
+
"attribute": "download"
|
|
30052
|
+
},
|
|
30053
|
+
{
|
|
30054
|
+
"kind": "field",
|
|
30055
|
+
"name": "target",
|
|
30056
|
+
"type": {
|
|
30057
|
+
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
30058
|
+
},
|
|
30059
|
+
"default": "'_self'",
|
|
30060
|
+
"description": "(Link) Specifies where to open the linked document.",
|
|
30061
|
+
"attribute": "target"
|
|
30112
30062
|
},
|
|
30113
30063
|
{
|
|
30114
30064
|
"kind": "method",
|
|
30115
|
-
"name": "
|
|
30065
|
+
"name": "isLink",
|
|
30116
30066
|
"privacy": "private"
|
|
30117
30067
|
},
|
|
30118
30068
|
{
|
|
30119
30069
|
"kind": "method",
|
|
30120
|
-
"name": "
|
|
30070
|
+
"name": "handleBlur",
|
|
30071
|
+
"privacy": "private"
|
|
30072
|
+
},
|
|
30073
|
+
{
|
|
30074
|
+
"kind": "method",
|
|
30075
|
+
"name": "handleFocus",
|
|
30076
|
+
"privacy": "private"
|
|
30077
|
+
},
|
|
30078
|
+
{
|
|
30079
|
+
"kind": "method",
|
|
30080
|
+
"name": "click",
|
|
30081
|
+
"description": "Simulates a click on the tag button."
|
|
30082
|
+
},
|
|
30083
|
+
{
|
|
30084
|
+
"kind": "method",
|
|
30085
|
+
"name": "focus",
|
|
30086
|
+
"parameters": [
|
|
30087
|
+
{
|
|
30088
|
+
"name": "options",
|
|
30089
|
+
"optional": true,
|
|
30090
|
+
"type": {
|
|
30091
|
+
"text": "FocusOptions"
|
|
30092
|
+
}
|
|
30093
|
+
}
|
|
30094
|
+
],
|
|
30095
|
+
"description": "Sets focus on the tag button."
|
|
30096
|
+
},
|
|
30097
|
+
{
|
|
30098
|
+
"kind": "method",
|
|
30099
|
+
"name": "blur",
|
|
30100
|
+
"description": "Removes focus from the tag button."
|
|
30121
30101
|
}
|
|
30122
30102
|
],
|
|
30123
30103
|
"events": [
|
|
30124
30104
|
{
|
|
30125
|
-
"description": "Emitted when the
|
|
30126
|
-
"name": "dsa-
|
|
30105
|
+
"description": "Emitted when the tag loses focus.",
|
|
30106
|
+
"name": "dsa-blur"
|
|
30107
|
+
},
|
|
30108
|
+
{
|
|
30109
|
+
"description": "Emitted when the tag gains focus.",
|
|
30110
|
+
"name": "dsa-focus"
|
|
30127
30111
|
}
|
|
30128
30112
|
],
|
|
30129
30113
|
"attributes": [
|
|
30114
|
+
{
|
|
30115
|
+
"name": "label",
|
|
30116
|
+
"type": {
|
|
30117
|
+
"text": "string"
|
|
30118
|
+
},
|
|
30119
|
+
"default": "''",
|
|
30120
|
+
"description": "The tag's label",
|
|
30121
|
+
"fieldName": "label"
|
|
30122
|
+
},
|
|
30130
30123
|
{
|
|
30131
30124
|
"name": "variant",
|
|
30132
30125
|
"type": {
|
|
30133
|
-
"text": "
|
|
30126
|
+
"text": "'neutral' | 'active'"
|
|
30134
30127
|
},
|
|
30135
|
-
"default": "'
|
|
30128
|
+
"default": "'neutral'",
|
|
30136
30129
|
"description": "The tag's theme variant.",
|
|
30137
30130
|
"fieldName": "variant"
|
|
30138
30131
|
},
|
|
@@ -30146,53 +30139,65 @@
|
|
|
30146
30139
|
"fieldName": "size"
|
|
30147
30140
|
},
|
|
30148
30141
|
{
|
|
30149
|
-
"name": "
|
|
30142
|
+
"name": "accessible-name",
|
|
30150
30143
|
"type": {
|
|
30151
|
-
"text": "
|
|
30144
|
+
"text": "string"
|
|
30152
30145
|
},
|
|
30153
|
-
"
|
|
30154
|
-
"
|
|
30155
|
-
"fieldName": "removable"
|
|
30146
|
+
"description": "Provides an accessible label for the element",
|
|
30147
|
+
"fieldName": "accessibleName"
|
|
30156
30148
|
},
|
|
30157
30149
|
{
|
|
30158
|
-
"name": "
|
|
30150
|
+
"name": "description",
|
|
30159
30151
|
"type": {
|
|
30160
30152
|
"text": "string"
|
|
30161
30153
|
},
|
|
30162
30154
|
"default": "''",
|
|
30163
|
-
"
|
|
30155
|
+
"description": "Provides an accessible description for the element",
|
|
30156
|
+
"fieldName": "description"
|
|
30164
30157
|
},
|
|
30165
30158
|
{
|
|
30166
|
-
"name": "
|
|
30159
|
+
"name": "href",
|
|
30167
30160
|
"type": {
|
|
30168
30161
|
"text": "string"
|
|
30169
30162
|
},
|
|
30170
30163
|
"default": "''",
|
|
30171
|
-
"description": "(
|
|
30172
|
-
"fieldName": "
|
|
30164
|
+
"description": "(Link) Change thetag role to link. Specifies the URL of the page the link goes to.",
|
|
30165
|
+
"fieldName": "href"
|
|
30173
30166
|
},
|
|
30174
30167
|
{
|
|
30175
|
-
"name": "
|
|
30168
|
+
"name": "rel",
|
|
30176
30169
|
"type": {
|
|
30177
|
-
"text": "
|
|
30170
|
+
"text": "string"
|
|
30178
30171
|
},
|
|
30179
|
-
"default": "
|
|
30180
|
-
"description": "
|
|
30181
|
-
"fieldName": "
|
|
30172
|
+
"default": "'noreferrer noopener'",
|
|
30173
|
+
"description": "(Link) Determines the relationship between the current document and the linked document",
|
|
30174
|
+
"fieldName": "rel"
|
|
30175
|
+
},
|
|
30176
|
+
{
|
|
30177
|
+
"name": "download",
|
|
30178
|
+
"type": {
|
|
30179
|
+
"text": "string | undefined"
|
|
30180
|
+
},
|
|
30181
|
+
"description": "(Link) Specifies that the target will be downloaded when a user clicks on the hyperlink",
|
|
30182
|
+
"fieldName": "download"
|
|
30183
|
+
},
|
|
30184
|
+
{
|
|
30185
|
+
"name": "target",
|
|
30186
|
+
"type": {
|
|
30187
|
+
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
30188
|
+
},
|
|
30189
|
+
"default": "'_self'",
|
|
30190
|
+
"description": "(Link) Specifies where to open the linked document.",
|
|
30191
|
+
"fieldName": "target"
|
|
30182
30192
|
}
|
|
30183
30193
|
],
|
|
30184
30194
|
"superclass": {
|
|
30185
30195
|
"name": "ShoelaceElement",
|
|
30186
30196
|
"package": "@internal/shoelace-element"
|
|
30187
30197
|
},
|
|
30188
|
-
"summary": "
|
|
30189
|
-
"documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/tag-tag/web-ztnWI4xr",
|
|
30190
|
-
"
|
|
30191
|
-
"dsa-icon-button",
|
|
30192
|
-
"dsa-tooltip",
|
|
30193
|
-
"dsa-visually-hidden"
|
|
30194
|
-
],
|
|
30195
|
-
"tagName": "dsa-tag",
|
|
30198
|
+
"summary": "Tag buttons are are a clickable version of the tag component.",
|
|
30199
|
+
"documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/tag-tag/web-ztnWI4xr#section-dsa-tag-button-8b",
|
|
30200
|
+
"tagName": "dsa-tag-button",
|
|
30196
30201
|
"customElement": true
|
|
30197
30202
|
}
|
|
30198
30203
|
],
|
|
@@ -30201,28 +30206,68 @@
|
|
|
30201
30206
|
"kind": "js",
|
|
30202
30207
|
"name": "default",
|
|
30203
30208
|
"declaration": {
|
|
30204
|
-
"name": "
|
|
30205
|
-
"module": "components/tag/tag.js"
|
|
30206
|
-
}
|
|
30209
|
+
"name": "DSATagButton",
|
|
30210
|
+
"module": "components/tag-button/tag-button.js"
|
|
30211
|
+
}
|
|
30207
30212
|
},
|
|
30208
30213
|
{
|
|
30209
30214
|
"kind": "custom-element-definition",
|
|
30210
|
-
"name": "dsa-tag",
|
|
30215
|
+
"name": "dsa-tag-button",
|
|
30211
30216
|
"declaration": {
|
|
30212
|
-
"name": "
|
|
30213
|
-
"module": "components/tag/tag.js"
|
|
30217
|
+
"name": "DSATagButton",
|
|
30218
|
+
"module": "components/tag-button/tag-button.js"
|
|
30214
30219
|
}
|
|
30215
30220
|
}
|
|
30216
30221
|
]
|
|
30217
30222
|
},
|
|
30218
30223
|
{
|
|
30219
30224
|
"kind": "javascript-module",
|
|
30220
|
-
"path": "components/tag
|
|
30225
|
+
"path": "components/tag/tag-variants.js",
|
|
30226
|
+
"declarations": [
|
|
30227
|
+
{
|
|
30228
|
+
"kind": "variable",
|
|
30229
|
+
"name": "TAG_VARIANTS",
|
|
30230
|
+
"type": {
|
|
30231
|
+
"text": "[\n 'purple-100',\n 'purple-200',\n 'purple-300',\n 'purple-400',\n 'blue-100',\n 'blue-200',\n 'blue-300',\n 'blue-400',\n 'orange-100',\n 'orange-200',\n 'orange-300',\n 'orange-400',\n 'pink-100',\n 'pink-200',\n 'pink-300',\n 'pink-400',\n 'yellow-100',\n 'yellow-200',\n 'yellow-300',\n 'yellow-400',\n 'green-100',\n 'green-200',\n 'green-300',\n 'green-400',\n 'neutral-100',\n 'neutral-200',\n 'neutral-300',\n 'neutral-400',\n]"
|
|
30232
|
+
},
|
|
30233
|
+
"default": "[ 'purple-100', 'purple-200', 'purple-300', 'purple-400', 'blue-100', 'blue-200', 'blue-300', 'blue-400', 'orange-100', 'orange-200', 'orange-300', 'orange-400', 'pink-100', 'pink-200', 'pink-300', 'pink-400', 'yellow-100', 'yellow-200', 'yellow-300', 'yellow-400', 'green-100', 'green-200', 'green-300', 'green-400', 'neutral-100', 'neutral-200', 'neutral-300', 'neutral-400', ]"
|
|
30234
|
+
},
|
|
30235
|
+
{
|
|
30236
|
+
"kind": "variable",
|
|
30237
|
+
"name": "DEPRECATED_TAG_VARIANTS",
|
|
30238
|
+
"type": {
|
|
30239
|
+
"text": "[\n 'purple-500',\n 'blue-500',\n 'blue-600',\n 'orange-500',\n 'orange-600',\n 'pink-500',\n 'yellow-500',\n 'yellow-600',\n 'yellow-700',\n 'green-500',\n 'green-600',\n 'green-700',\n]"
|
|
30240
|
+
},
|
|
30241
|
+
"default": "[ 'purple-500', 'blue-500', 'blue-600', 'orange-500', 'orange-600', 'pink-500', 'yellow-500', 'yellow-600', 'yellow-700', 'green-500', 'green-600', 'green-700', ]"
|
|
30242
|
+
}
|
|
30243
|
+
],
|
|
30244
|
+
"exports": [
|
|
30245
|
+
{
|
|
30246
|
+
"kind": "js",
|
|
30247
|
+
"name": "TAG_VARIANTS",
|
|
30248
|
+
"declaration": {
|
|
30249
|
+
"name": "TAG_VARIANTS",
|
|
30250
|
+
"module": "components/tag/tag-variants.js"
|
|
30251
|
+
}
|
|
30252
|
+
},
|
|
30253
|
+
{
|
|
30254
|
+
"kind": "js",
|
|
30255
|
+
"name": "DEPRECATED_TAG_VARIANTS",
|
|
30256
|
+
"declaration": {
|
|
30257
|
+
"name": "DEPRECATED_TAG_VARIANTS",
|
|
30258
|
+
"module": "components/tag/tag-variants.js"
|
|
30259
|
+
}
|
|
30260
|
+
}
|
|
30261
|
+
]
|
|
30262
|
+
},
|
|
30263
|
+
{
|
|
30264
|
+
"kind": "javascript-module",
|
|
30265
|
+
"path": "components/tag/tag.js",
|
|
30221
30266
|
"declarations": [
|
|
30222
30267
|
{
|
|
30223
30268
|
"kind": "class",
|
|
30224
30269
|
"description": "",
|
|
30225
|
-
"name": "
|
|
30270
|
+
"name": "DSATag",
|
|
30226
30271
|
"slots": [
|
|
30227
30272
|
{
|
|
30228
30273
|
"description": "Used to prepend a presentational icon or similar element to the input.",
|
|
@@ -30236,28 +30281,50 @@
|
|
|
30236
30281
|
"members": [
|
|
30237
30282
|
{
|
|
30238
30283
|
"kind": "field",
|
|
30239
|
-
"name": "
|
|
30284
|
+
"name": "dependencies",
|
|
30240
30285
|
"type": {
|
|
30241
|
-
"text": "
|
|
30242
|
-
}
|
|
30286
|
+
"text": "object"
|
|
30287
|
+
},
|
|
30288
|
+
"static": true,
|
|
30289
|
+
"default": "{ 'dsa-icon-button': DSAIconButton, 'dsa-tooltip': DSATooltip, 'dsa-visually-hidden': DSAVisuallyHidden, }"
|
|
30243
30290
|
},
|
|
30244
30291
|
{
|
|
30245
30292
|
"kind": "field",
|
|
30246
|
-
"name": "
|
|
30293
|
+
"name": "localize",
|
|
30294
|
+
"privacy": "private",
|
|
30295
|
+
"readonly": true,
|
|
30296
|
+
"default": "new LocalizeController(this)"
|
|
30297
|
+
},
|
|
30298
|
+
{
|
|
30299
|
+
"kind": "field",
|
|
30300
|
+
"name": "iconButtonSize",
|
|
30247
30301
|
"type": {
|
|
30248
30302
|
"text": "string"
|
|
30249
30303
|
},
|
|
30250
|
-
"
|
|
30251
|
-
"
|
|
30252
|
-
|
|
30304
|
+
"privacy": "private",
|
|
30305
|
+
"default": "'small'"
|
|
30306
|
+
},
|
|
30307
|
+
{
|
|
30308
|
+
"kind": "field",
|
|
30309
|
+
"name": "content",
|
|
30310
|
+
"type": {
|
|
30311
|
+
"text": "HTMLElement"
|
|
30312
|
+
}
|
|
30313
|
+
},
|
|
30314
|
+
{
|
|
30315
|
+
"kind": "field",
|
|
30316
|
+
"name": "removeButton",
|
|
30317
|
+
"type": {
|
|
30318
|
+
"text": "HTMLElement"
|
|
30319
|
+
}
|
|
30253
30320
|
},
|
|
30254
30321
|
{
|
|
30255
30322
|
"kind": "field",
|
|
30256
30323
|
"name": "variant",
|
|
30257
30324
|
"type": {
|
|
30258
|
-
"text": "
|
|
30325
|
+
"text": "| (typeof TAG_VARIANTS)[number]\n | (typeof DEPRECATED_TAG_VARIANTS)[number]"
|
|
30259
30326
|
},
|
|
30260
|
-
"default": "'
|
|
30327
|
+
"default": "'purple-100'",
|
|
30261
30328
|
"description": "The tag's theme variant.",
|
|
30262
30329
|
"attribute": "variant",
|
|
30263
30330
|
"reflects": true
|
|
@@ -30275,129 +30342,68 @@
|
|
|
30275
30342
|
},
|
|
30276
30343
|
{
|
|
30277
30344
|
"kind": "field",
|
|
30278
|
-
"name": "
|
|
30345
|
+
"name": "removable",
|
|
30279
30346
|
"type": {
|
|
30280
|
-
"text": "
|
|
30347
|
+
"text": "boolean"
|
|
30281
30348
|
},
|
|
30282
|
-
"
|
|
30283
|
-
"
|
|
30284
|
-
"
|
|
30349
|
+
"default": "false",
|
|
30350
|
+
"description": "Makes the tag removable and shows a remove button.",
|
|
30351
|
+
"attribute": "removable"
|
|
30285
30352
|
},
|
|
30286
30353
|
{
|
|
30287
30354
|
"kind": "field",
|
|
30288
|
-
"name": "
|
|
30355
|
+
"name": "label",
|
|
30289
30356
|
"type": {
|
|
30290
30357
|
"text": "string"
|
|
30291
30358
|
},
|
|
30292
30359
|
"default": "''",
|
|
30293
|
-
"
|
|
30294
|
-
"
|
|
30360
|
+
"attribute": "label",
|
|
30361
|
+
"reflects": true
|
|
30295
30362
|
},
|
|
30296
30363
|
{
|
|
30297
30364
|
"kind": "field",
|
|
30298
|
-
"name": "
|
|
30365
|
+
"name": "accessibleName",
|
|
30299
30366
|
"type": {
|
|
30300
30367
|
"text": "string"
|
|
30301
30368
|
},
|
|
30302
30369
|
"default": "''",
|
|
30303
|
-
"description": "(
|
|
30304
|
-
"attribute": "
|
|
30305
|
-
|
|
30306
|
-
{
|
|
30307
|
-
"kind": "field",
|
|
30308
|
-
"name": "rel",
|
|
30309
|
-
"type": {
|
|
30310
|
-
"text": "string"
|
|
30311
|
-
},
|
|
30312
|
-
"default": "'noreferrer noopener'",
|
|
30313
|
-
"description": "(Link) Determines the relationship between the current document and the linked document",
|
|
30314
|
-
"attribute": "rel"
|
|
30315
|
-
},
|
|
30316
|
-
{
|
|
30317
|
-
"kind": "field",
|
|
30318
|
-
"name": "download",
|
|
30319
|
-
"type": {
|
|
30320
|
-
"text": "string | undefined"
|
|
30321
|
-
},
|
|
30322
|
-
"description": "(Link) Specifies that the target will be downloaded when a user clicks on the hyperlink",
|
|
30323
|
-
"attribute": "download"
|
|
30370
|
+
"description": "(Optional) An accessible name for the tag",
|
|
30371
|
+
"attribute": "accessible-name",
|
|
30372
|
+
"reflects": true
|
|
30324
30373
|
},
|
|
30325
30374
|
{
|
|
30326
30375
|
"kind": "field",
|
|
30327
|
-
"name": "
|
|
30376
|
+
"name": "tooltip",
|
|
30328
30377
|
"type": {
|
|
30329
|
-
"text": "
|
|
30378
|
+
"text": "boolean"
|
|
30330
30379
|
},
|
|
30331
|
-
"default": "
|
|
30332
|
-
"description": "
|
|
30333
|
-
"attribute": "
|
|
30334
|
-
},
|
|
30335
|
-
{
|
|
30336
|
-
"kind": "method",
|
|
30337
|
-
"name": "isLink",
|
|
30338
|
-
"privacy": "private"
|
|
30339
|
-
},
|
|
30340
|
-
{
|
|
30341
|
-
"kind": "method",
|
|
30342
|
-
"name": "handleBlur",
|
|
30343
|
-
"privacy": "private"
|
|
30380
|
+
"default": "false",
|
|
30381
|
+
"description": "Display the tag label in a tooltip",
|
|
30382
|
+
"attribute": "tooltip"
|
|
30344
30383
|
},
|
|
30345
30384
|
{
|
|
30346
30385
|
"kind": "method",
|
|
30347
|
-
"name": "
|
|
30386
|
+
"name": "handleRemoveClick",
|
|
30348
30387
|
"privacy": "private"
|
|
30349
30388
|
},
|
|
30350
30389
|
{
|
|
30351
30390
|
"kind": "method",
|
|
30352
|
-
"name": "
|
|
30353
|
-
"description": "Simulates a click on the tag button."
|
|
30354
|
-
},
|
|
30355
|
-
{
|
|
30356
|
-
"kind": "method",
|
|
30357
|
-
"name": "focus",
|
|
30358
|
-
"parameters": [
|
|
30359
|
-
{
|
|
30360
|
-
"name": "options",
|
|
30361
|
-
"optional": true,
|
|
30362
|
-
"type": {
|
|
30363
|
-
"text": "FocusOptions"
|
|
30364
|
-
}
|
|
30365
|
-
}
|
|
30366
|
-
],
|
|
30367
|
-
"description": "Sets focus on the tag button."
|
|
30368
|
-
},
|
|
30369
|
-
{
|
|
30370
|
-
"kind": "method",
|
|
30371
|
-
"name": "blur",
|
|
30372
|
-
"description": "Removes focus from the tag button."
|
|
30391
|
+
"name": "updateIconButtonSize"
|
|
30373
30392
|
}
|
|
30374
30393
|
],
|
|
30375
30394
|
"events": [
|
|
30376
30395
|
{
|
|
30377
|
-
"description": "Emitted when the
|
|
30378
|
-
"name": "dsa-
|
|
30379
|
-
},
|
|
30380
|
-
{
|
|
30381
|
-
"description": "Emitted when the tag gains focus.",
|
|
30382
|
-
"name": "dsa-focus"
|
|
30396
|
+
"description": "Emitted when the remove button is activated.",
|
|
30397
|
+
"name": "dsa-remove"
|
|
30383
30398
|
}
|
|
30384
30399
|
],
|
|
30385
30400
|
"attributes": [
|
|
30386
|
-
{
|
|
30387
|
-
"name": "label",
|
|
30388
|
-
"type": {
|
|
30389
|
-
"text": "string"
|
|
30390
|
-
},
|
|
30391
|
-
"default": "''",
|
|
30392
|
-
"description": "The tag's label",
|
|
30393
|
-
"fieldName": "label"
|
|
30394
|
-
},
|
|
30395
30401
|
{
|
|
30396
30402
|
"name": "variant",
|
|
30397
30403
|
"type": {
|
|
30398
|
-
"text": "
|
|
30404
|
+
"text": "| (typeof TAG_VARIANTS)[number]\n | (typeof DEPRECATED_TAG_VARIANTS)[number]"
|
|
30399
30405
|
},
|
|
30400
|
-
"default": "'
|
|
30406
|
+
"default": "'purple-100'",
|
|
30401
30407
|
"description": "The tag's theme variant.",
|
|
30402
30408
|
"fieldName": "variant"
|
|
30403
30409
|
},
|
|
@@ -30411,65 +30417,53 @@
|
|
|
30411
30417
|
"fieldName": "size"
|
|
30412
30418
|
},
|
|
30413
30419
|
{
|
|
30414
|
-
"name": "
|
|
30420
|
+
"name": "removable",
|
|
30415
30421
|
"type": {
|
|
30416
|
-
"text": "
|
|
30422
|
+
"text": "boolean"
|
|
30417
30423
|
},
|
|
30418
|
-
"
|
|
30419
|
-
"
|
|
30424
|
+
"default": "false",
|
|
30425
|
+
"description": "Makes the tag removable and shows a remove button.",
|
|
30426
|
+
"fieldName": "removable"
|
|
30420
30427
|
},
|
|
30421
30428
|
{
|
|
30422
|
-
"name": "
|
|
30429
|
+
"name": "label",
|
|
30423
30430
|
"type": {
|
|
30424
30431
|
"text": "string"
|
|
30425
30432
|
},
|
|
30426
30433
|
"default": "''",
|
|
30427
|
-
"
|
|
30428
|
-
"fieldName": "description"
|
|
30434
|
+
"fieldName": "label"
|
|
30429
30435
|
},
|
|
30430
30436
|
{
|
|
30431
|
-
"name": "
|
|
30437
|
+
"name": "accessible-name",
|
|
30432
30438
|
"type": {
|
|
30433
30439
|
"text": "string"
|
|
30434
30440
|
},
|
|
30435
30441
|
"default": "''",
|
|
30436
|
-
"description": "(
|
|
30437
|
-
"fieldName": "
|
|
30438
|
-
},
|
|
30439
|
-
{
|
|
30440
|
-
"name": "rel",
|
|
30441
|
-
"type": {
|
|
30442
|
-
"text": "string"
|
|
30443
|
-
},
|
|
30444
|
-
"default": "'noreferrer noopener'",
|
|
30445
|
-
"description": "(Link) Determines the relationship between the current document and the linked document",
|
|
30446
|
-
"fieldName": "rel"
|
|
30447
|
-
},
|
|
30448
|
-
{
|
|
30449
|
-
"name": "download",
|
|
30450
|
-
"type": {
|
|
30451
|
-
"text": "string | undefined"
|
|
30452
|
-
},
|
|
30453
|
-
"description": "(Link) Specifies that the target will be downloaded when a user clicks on the hyperlink",
|
|
30454
|
-
"fieldName": "download"
|
|
30442
|
+
"description": "(Optional) An accessible name for the tag",
|
|
30443
|
+
"fieldName": "accessibleName"
|
|
30455
30444
|
},
|
|
30456
30445
|
{
|
|
30457
|
-
"name": "
|
|
30446
|
+
"name": "tooltip",
|
|
30458
30447
|
"type": {
|
|
30459
|
-
"text": "
|
|
30448
|
+
"text": "boolean"
|
|
30460
30449
|
},
|
|
30461
|
-
"default": "
|
|
30462
|
-
"description": "
|
|
30463
|
-
"fieldName": "
|
|
30450
|
+
"default": "false",
|
|
30451
|
+
"description": "Display the tag label in a tooltip",
|
|
30452
|
+
"fieldName": "tooltip"
|
|
30464
30453
|
}
|
|
30465
30454
|
],
|
|
30466
30455
|
"superclass": {
|
|
30467
30456
|
"name": "ShoelaceElement",
|
|
30468
30457
|
"package": "@internal/shoelace-element"
|
|
30469
30458
|
},
|
|
30470
|
-
"summary": "
|
|
30471
|
-
"documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/tag-tag/web-ztnWI4xr
|
|
30472
|
-
"
|
|
30459
|
+
"summary": "Tags are used as labels to organize things or to indicate a selection.",
|
|
30460
|
+
"documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/tag-tag/web-ztnWI4xr",
|
|
30461
|
+
"dependencies": [
|
|
30462
|
+
"dsa-icon-button",
|
|
30463
|
+
"dsa-tooltip",
|
|
30464
|
+
"dsa-visually-hidden"
|
|
30465
|
+
],
|
|
30466
|
+
"tagName": "dsa-tag",
|
|
30473
30467
|
"customElement": true
|
|
30474
30468
|
}
|
|
30475
30469
|
],
|
|
@@ -30478,16 +30472,16 @@
|
|
|
30478
30472
|
"kind": "js",
|
|
30479
30473
|
"name": "default",
|
|
30480
30474
|
"declaration": {
|
|
30481
|
-
"name": "
|
|
30482
|
-
"module": "components/tag
|
|
30475
|
+
"name": "DSATag",
|
|
30476
|
+
"module": "components/tag/tag.js"
|
|
30483
30477
|
}
|
|
30484
30478
|
},
|
|
30485
30479
|
{
|
|
30486
30480
|
"kind": "custom-element-definition",
|
|
30487
|
-
"name": "dsa-tag
|
|
30481
|
+
"name": "dsa-tag",
|
|
30488
30482
|
"declaration": {
|
|
30489
|
-
"name": "
|
|
30490
|
-
"module": "components/tag
|
|
30483
|
+
"name": "DSATag",
|
|
30484
|
+
"module": "components/tag/tag.js"
|
|
30491
30485
|
}
|
|
30492
30486
|
}
|
|
30493
30487
|
]
|
|
@@ -32053,7 +32047,7 @@
|
|
|
32053
32047
|
],
|
|
32054
32048
|
"package": {
|
|
32055
32049
|
"name": "@ds-autonomie/web-components",
|
|
32056
|
-
"version": "2.21.
|
|
32050
|
+
"version": "2.21.2",
|
|
32057
32051
|
"author": "CNSA",
|
|
32058
32052
|
"homepage": "https://dsa.service-public-autonomie.fr",
|
|
32059
32053
|
"license": "MIT"
|