@solid-design-system/components 1.21.1 → 1.22.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.
- package/dist/components/es/checkbox-group.js +1 -0
- package/dist/components/es/checkbox.js +11 -0
- package/dist/components/es/icon.js +4 -4
- package/dist/components/es/solid-components2.js +1 -1
- package/dist/components/es/solid-element.js +1 -1
- package/dist/components/umd/solid-components.js +24 -14
- package/dist/custom-elements.json +1 -1
- package/dist/package/components/checkbox/checkbox.d.ts +40 -0
- package/dist/package/components/checkbox/checkbox.js +179 -0
- package/dist/package/components/checkbox-group/checkbox-group.d.ts +20 -0
- package/dist/package/components/checkbox-group/checkbox-group.js +102 -0
- package/dist/package/components/icon/library.system.d.ts +2 -0
- package/dist/package/components/icon/library.system.js +11 -1
- package/dist/package/internal/default-value.d.ts +2 -0
- package/dist/package/internal/default-value.js +21 -0
- package/dist/package/solid-components.d.ts +2 -0
- package/dist/package/solid-components.js +32 -28
- package/dist/package/styles/tailwind.css.js +1 -1
- package/dist/versioned-components/es/accordion-group.js +1 -1
- package/dist/versioned-components/es/accordion.js +1 -1
- package/dist/versioned-components/es/badge.js +1 -1
- package/dist/versioned-components/es/brandshape.js +1 -1
- package/dist/versioned-components/es/button.js +1 -1
- package/dist/versioned-components/es/carousel-item.js +1 -1
- package/dist/versioned-components/es/carousel.js +3 -3
- package/dist/versioned-components/es/checkbox-group.js +1 -0
- package/dist/versioned-components/es/checkbox.js +11 -0
- package/dist/versioned-components/es/divider.js +1 -1
- package/dist/versioned-components/es/drawer.js +1 -1
- package/dist/versioned-components/es/dropdown.js +1 -1
- package/dist/versioned-components/es/form.js +1 -1
- package/dist/versioned-components/es/icon.js +4 -4
- package/dist/versioned-components/es/include.js +1 -1
- package/dist/versioned-components/es/link.js +1 -1
- package/dist/versioned-components/es/navigation-item.js +1 -1
- package/dist/versioned-components/es/popup.js +1 -1
- package/dist/versioned-components/es/radio-group.js +1 -1
- package/dist/versioned-components/es/radio.js +1 -1
- package/dist/versioned-components/es/solid-components2.js +1 -1
- package/dist/versioned-components/es/solid-element.js +1 -1
- package/dist/versioned-components/es/spinner.js +1 -1
- package/dist/versioned-components/es/tag.js +1 -1
- package/dist/versioned-components/es/teaser.js +1 -1
- package/dist/versioned-components/es/video.js +1 -1
- package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
- package/dist/versioned-package/_components/button-group/button-group.js +11 -11
- package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
- package/dist/versioned-package/components/accordion/accordion.js +2 -2
- package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
- package/dist/versioned-package/components/badge/badge.d.ts +1 -1
- package/dist/versioned-package/components/badge/badge.js +1 -1
- package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
- package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
- package/dist/versioned-package/components/button/button.d.ts +1 -1
- package/dist/versioned-package/components/button/button.js +4 -4
- package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
- package/dist/versioned-package/components/carousel/carousel.js +6 -6
- package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
- package/dist/versioned-package/components/checkbox/checkbox.d.ts +40 -0
- package/dist/versioned-package/components/checkbox/checkbox.js +179 -0
- package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +20 -0
- package/dist/versioned-package/components/checkbox-group/checkbox-group.js +102 -0
- package/dist/versioned-package/components/divider/divider.d.ts +1 -1
- package/dist/versioned-package/components/divider/divider.js +2 -2
- package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
- package/dist/versioned-package/components/drawer/drawer.js +2 -2
- package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
- package/dist/versioned-package/components/dropdown/dropdown.js +6 -6
- package/dist/versioned-package/components/icon/icon.d.ts +1 -1
- package/dist/versioned-package/components/icon/icon.js +1 -1
- package/dist/versioned-package/components/icon/library.system.d.ts +2 -0
- package/dist/versioned-package/components/icon/library.system.js +11 -1
- package/dist/versioned-package/components/include/include.d.ts +1 -1
- package/dist/versioned-package/components/include/include.js +1 -1
- package/dist/versioned-package/components/link/link.d.ts +1 -1
- package/dist/versioned-package/components/link/link.js +2 -2
- package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist/versioned-package/components/navigation-item/navigation-item.js +3 -3
- package/dist/versioned-package/components/popup/popup.d.ts +1 -1
- package/dist/versioned-package/components/popup/popup.js +1 -1
- package/dist/versioned-package/components/radio/radio.d.ts +1 -1
- package/dist/versioned-package/components/radio/radio.js +2 -2
- package/dist/versioned-package/components/radio-group/radio-group.d.ts +2 -2
- package/dist/versioned-package/components/radio-group/radio-group.js +12 -12
- package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
- package/dist/versioned-package/components/spinner/spinner.js +1 -1
- package/dist/versioned-package/components/tag/tag.d.ts +1 -1
- package/dist/versioned-package/components/tag/tag.js +2 -2
- package/dist/versioned-package/components/teaser/teaser.js +1 -1
- package/dist/versioned-package/components/video/video.d.ts +1 -1
- package/dist/versioned-package/components/video/video.js +2 -2
- package/dist/versioned-package/internal/default-value.d.ts +2 -0
- package/dist/versioned-package/internal/default-value.js +21 -0
- package/dist/versioned-package/internal/form.js +1 -1
- package/dist/versioned-package/solid-components.d.ts +2 -0
- package/dist/versioned-package/solid-components.js +32 -28
- package/dist/versioned-package/styles/tailwind.css.js +1 -1
- package/dist/versioned-styles/solid-styles.css +1 -1
- package/dist/vscode.html-custom-data.json +209 -21
- package/dist/web-types.json +311 -1
- package/package.json +3 -3
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.22.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework-config": {
|
|
7
7
|
"enable-when": {
|
|
@@ -1016,6 +1016,316 @@
|
|
|
1016
1016
|
},
|
|
1017
1017
|
"attributes": []
|
|
1018
1018
|
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "sd-checkbox-group",
|
|
1021
|
+
"description": "",
|
|
1022
|
+
"doc-url": "https://solid.union-investment.com/[storybook-link]/checkbox-group",
|
|
1023
|
+
"js": {
|
|
1024
|
+
"properties": [
|
|
1025
|
+
{
|
|
1026
|
+
"name": "hasSlotController",
|
|
1027
|
+
"value": {}
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"name": "label",
|
|
1031
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
1032
|
+
"value": {
|
|
1033
|
+
"type": "string"
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"name": "size",
|
|
1038
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
1039
|
+
"value": {
|
|
1040
|
+
"type": "'lg' | 'sm'"
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"name": "orientation",
|
|
1045
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
1046
|
+
"value": {
|
|
1047
|
+
"type": "'horizontal' | 'vertical'"
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"name": "getAllCheckboxes",
|
|
1052
|
+
"value": {}
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"name": "syncCheckboxElements",
|
|
1056
|
+
"value": {}
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"name": "syncCheckboxes",
|
|
1060
|
+
"value": {}
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"name": "handleSizeChange",
|
|
1064
|
+
"value": {}
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"name": "handleInvalid",
|
|
1068
|
+
"value": {}
|
|
1069
|
+
}
|
|
1070
|
+
],
|
|
1071
|
+
"events": []
|
|
1072
|
+
},
|
|
1073
|
+
"attributes": [
|
|
1074
|
+
{
|
|
1075
|
+
"name": "label",
|
|
1076
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
1077
|
+
"value": {
|
|
1078
|
+
"type": "string"
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"name": "size",
|
|
1083
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
1084
|
+
"value": {
|
|
1085
|
+
"type": "'lg' | 'sm'"
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"name": "orientation",
|
|
1090
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
1091
|
+
"value": {
|
|
1092
|
+
"type": "'horizontal' | 'vertical'"
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
]
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"name": "sd-checkbox",
|
|
1099
|
+
"description": "",
|
|
1100
|
+
"doc-url": "https://solid.union-investment.com/[storybook-link]/checkbox",
|
|
1101
|
+
"js": {
|
|
1102
|
+
"properties": [
|
|
1103
|
+
{
|
|
1104
|
+
"name": "formControlController",
|
|
1105
|
+
"value": {}
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"name": "title",
|
|
1109
|
+
"value": {
|
|
1110
|
+
"type": "string"
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"name": "name",
|
|
1115
|
+
"description": "The name of the checkbox, submitted as a name/value pair with form data.",
|
|
1116
|
+
"value": {
|
|
1117
|
+
"type": "string"
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"name": "value",
|
|
1122
|
+
"description": "The current value of the checkbox, submitted as a name/value pair with form data.",
|
|
1123
|
+
"value": {
|
|
1124
|
+
"type": "string"
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"name": "size",
|
|
1129
|
+
"description": "The checkbox's size.",
|
|
1130
|
+
"value": {
|
|
1131
|
+
"type": "'sm' | 'lg'"
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
"name": "disabled",
|
|
1136
|
+
"description": "Disables the checkbox.",
|
|
1137
|
+
"value": {
|
|
1138
|
+
"type": "boolean"
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
"name": "checked",
|
|
1143
|
+
"description": "Draws the checkbox in a checked state.",
|
|
1144
|
+
"value": {
|
|
1145
|
+
"type": "boolean"
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"name": "indeterminate",
|
|
1150
|
+
"description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
|
|
1151
|
+
"value": {
|
|
1152
|
+
"type": "boolean"
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"name": "defaultChecked",
|
|
1157
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
1158
|
+
"value": {
|
|
1159
|
+
"type": "boolean"
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"name": "form",
|
|
1164
|
+
"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.",
|
|
1165
|
+
"value": {
|
|
1166
|
+
"type": "string"
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"name": "required",
|
|
1171
|
+
"description": "Makes the checkbox a required field.",
|
|
1172
|
+
"value": {
|
|
1173
|
+
"type": "boolean"
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"name": "validity",
|
|
1178
|
+
"description": "Gets the validity state object",
|
|
1179
|
+
"value": {}
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"name": "handleClick",
|
|
1183
|
+
"value": {}
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "handleBlur",
|
|
1187
|
+
"value": {}
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"name": "handleInput",
|
|
1191
|
+
"value": {}
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"name": "handleInvalid",
|
|
1195
|
+
"value": {}
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"name": "handleFocus",
|
|
1199
|
+
"value": {}
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"name": "handleDisabledChange",
|
|
1203
|
+
"value": {}
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"name": "handleStateChange",
|
|
1207
|
+
"value": {}
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"name": "click",
|
|
1211
|
+
"description": "Simulates a click on the checkbox.",
|
|
1212
|
+
"value": {}
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"name": "focus",
|
|
1216
|
+
"description": "Sets focus on the checkbox.",
|
|
1217
|
+
"value": {}
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"name": "blur",
|
|
1221
|
+
"description": "Removes focus from the checkbox.",
|
|
1222
|
+
"value": {}
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"name": "checkValidity",
|
|
1226
|
+
"description": "Checks for validity but does not show a validation message. Returns true when valid and false when invalid.",
|
|
1227
|
+
"value": {}
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
"name": "getForm",
|
|
1231
|
+
"description": "Gets the associated form, if one exists.",
|
|
1232
|
+
"value": {}
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
"name": "reportValidity",
|
|
1236
|
+
"description": "Checks for validity and shows a validation message if the control is invalid.",
|
|
1237
|
+
"value": {}
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"name": "setCustomValidity",
|
|
1241
|
+
"description": "Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.",
|
|
1242
|
+
"value": {}
|
|
1243
|
+
}
|
|
1244
|
+
],
|
|
1245
|
+
"events": [
|
|
1246
|
+
{
|
|
1247
|
+
"name": "sd-blur",
|
|
1248
|
+
"description": "Emitted when the checkbox loses focus."
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
"name": "sd-change",
|
|
1252
|
+
"description": "Emitted when the checked state changes."
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"name": "sd-focus",
|
|
1256
|
+
"description": "Emitted when the checkbox gains focus."
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"name": "sd-input",
|
|
1260
|
+
"description": "Emitted when the checkbox receives input."
|
|
1261
|
+
}
|
|
1262
|
+
]
|
|
1263
|
+
},
|
|
1264
|
+
"attributes": [
|
|
1265
|
+
{
|
|
1266
|
+
"name": "title",
|
|
1267
|
+
"value": {
|
|
1268
|
+
"type": "string"
|
|
1269
|
+
}
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"name": "name",
|
|
1273
|
+
"description": "The name of the checkbox, submitted as a name/value pair with form data.",
|
|
1274
|
+
"value": {
|
|
1275
|
+
"type": "string"
|
|
1276
|
+
}
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"name": "value",
|
|
1280
|
+
"description": "The current value of the checkbox, submitted as a name/value pair with form data.",
|
|
1281
|
+
"value": {
|
|
1282
|
+
"type": "string"
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"name": "size",
|
|
1287
|
+
"description": "The checkbox's size.",
|
|
1288
|
+
"value": {
|
|
1289
|
+
"type": "'sm' | 'lg'"
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"name": "disabled",
|
|
1294
|
+
"description": "Disables the checkbox.",
|
|
1295
|
+
"value": {
|
|
1296
|
+
"type": "boolean"
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"name": "checked",
|
|
1301
|
+
"description": "Draws the checkbox in a checked state.",
|
|
1302
|
+
"value": {
|
|
1303
|
+
"type": "boolean"
|
|
1304
|
+
}
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"name": "indeterminate",
|
|
1308
|
+
"description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
|
|
1309
|
+
"value": {
|
|
1310
|
+
"type": "boolean"
|
|
1311
|
+
}
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"name": "form",
|
|
1315
|
+
"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.",
|
|
1316
|
+
"value": {
|
|
1317
|
+
"type": "string"
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"name": "required",
|
|
1322
|
+
"description": "Makes the checkbox a required field.",
|
|
1323
|
+
"value": {
|
|
1324
|
+
"type": "boolean"
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
]
|
|
1328
|
+
},
|
|
1019
1329
|
{
|
|
1020
1330
|
"name": "sd-divider",
|
|
1021
1331
|
"description": "",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solid-design-system/components",
|
|
3
3
|
"description": "Solid Design System: Components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.22.0",
|
|
5
5
|
"homepage": "https://solid-design-system.fe.union-investment.de/x.x.x/storybook/",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Union Investment"
|
|
@@ -184,8 +184,8 @@
|
|
|
184
184
|
"readme": "README.md",
|
|
185
185
|
"meta": {
|
|
186
186
|
"bundleSizeInKb": {
|
|
187
|
-
"uncompressed":
|
|
188
|
-
"gzip":
|
|
187
|
+
"uncompressed": 179,
|
|
188
|
+
"gzip": 47
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
}
|