@solid-design-system/components 1.31.0 → 1.33.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/dist/components/es/checkbox.js +1 -1
  2. package/dist/components/es/default-value.js +1 -0
  3. package/dist/components/es/drawer.js +1 -1
  4. package/dist/components/es/dropdown.js +1 -1
  5. package/dist/components/es/form-control.styles.js +1 -0
  6. package/dist/components/es/icon.js +3 -4
  7. package/dist/components/es/input.js +1 -1
  8. package/dist/components/es/live.js +3 -3
  9. package/dist/components/es/option.js +1 -0
  10. package/dist/components/es/popup.js +1 -1
  11. package/dist/components/es/scroll.js +1 -0
  12. package/dist/components/es/select.js +5 -0
  13. package/dist/components/es/solid-components2.js +1 -1
  14. package/dist/components/es/solid-element.js +1 -1
  15. package/dist/components/es/switch.js +1 -1
  16. package/dist/components/es/tabbable.js +1 -1
  17. package/dist/components/es/tag.js +1 -1
  18. package/dist/components/es/textarea.js +1 -0
  19. package/dist/components/umd/solid-components.js +25 -22
  20. package/dist/custom-elements.json +1 -1
  21. package/dist/package/components/input/input.js +2 -2
  22. package/dist/package/components/option/option.d.ts +30 -0
  23. package/dist/package/components/option/option.js +145 -0
  24. package/dist/package/components/popup/popup.d.ts +3 -0
  25. package/dist/package/components/popup/popup.js +17 -0
  26. package/dist/package/components/select/select.d.ts +101 -0
  27. package/dist/package/components/select/select.js +700 -0
  28. package/dist/package/components/tag/tag.d.ts +1 -0
  29. package/dist/package/components/tag/tag.js +5 -3
  30. package/dist/package/components/textarea/textarea.d.ts +67 -0
  31. package/dist/package/components/textarea/textarea.js +315 -0
  32. package/dist/package/solid-components.d.ts +3 -0
  33. package/dist/package/solid-components.js +24 -18
  34. package/dist/package/styles/tailwind.css.js +1 -1
  35. package/dist/package/translations/en.js +3 -4
  36. package/dist/package/utilities/localize.d.ts +1 -0
  37. package/dist/versioned-components/es/accordion-group.js +1 -1
  38. package/dist/versioned-components/es/accordion.js +1 -1
  39. package/dist/versioned-components/es/badge.js +1 -1
  40. package/dist/versioned-components/es/brandshape.js +1 -1
  41. package/dist/versioned-components/es/button.js +1 -1
  42. package/dist/versioned-components/es/carousel-item.js +1 -1
  43. package/dist/versioned-components/es/carousel.js +3 -3
  44. package/dist/versioned-components/es/checkbox-group.js +1 -1
  45. package/dist/versioned-components/es/checkbox.js +1 -1
  46. package/dist/versioned-components/es/default-value.js +1 -0
  47. package/dist/versioned-components/es/divider.js +1 -1
  48. package/dist/versioned-components/es/drawer.js +1 -1
  49. package/dist/versioned-components/es/dropdown.js +1 -1
  50. package/dist/versioned-components/es/form-control.styles.js +1 -0
  51. package/dist/versioned-components/es/form.js +1 -1
  52. package/dist/versioned-components/es/header.js +1 -1
  53. package/dist/versioned-components/es/icon.js +3 -4
  54. package/dist/versioned-components/es/include.js +1 -1
  55. package/dist/versioned-components/es/input.js +1 -1
  56. package/dist/versioned-components/es/link.js +1 -1
  57. package/dist/versioned-components/es/live.js +3 -3
  58. package/dist/versioned-components/es/navigation-item.js +1 -1
  59. package/dist/versioned-components/es/notification.js +1 -1
  60. package/dist/versioned-components/es/option.js +1 -0
  61. package/dist/versioned-components/es/popup.js +1 -1
  62. package/dist/versioned-components/es/radio-group.js +1 -1
  63. package/dist/versioned-components/es/radio.js +1 -1
  64. package/dist/versioned-components/es/scroll.js +1 -0
  65. package/dist/versioned-components/es/select.js +5 -0
  66. package/dist/versioned-components/es/solid-components2.js +1 -1
  67. package/dist/versioned-components/es/solid-element.js +1 -1
  68. package/dist/versioned-components/es/spinner.js +1 -1
  69. package/dist/versioned-components/es/switch.js +1 -1
  70. package/dist/versioned-components/es/tabbable.js +1 -1
  71. package/dist/versioned-components/es/tag.js +1 -1
  72. package/dist/versioned-components/es/teaser.js +1 -1
  73. package/dist/versioned-components/es/textarea.js +1 -0
  74. package/dist/versioned-components/es/tooltip.js +2 -2
  75. package/dist/versioned-components/es/video.js +1 -1
  76. package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
  77. package/dist/versioned-package/_components/button-group/button-group.js +11 -11
  78. package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
  79. package/dist/versioned-package/components/accordion/accordion.js +2 -2
  80. package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
  81. package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
  82. package/dist/versioned-package/components/badge/badge.d.ts +1 -1
  83. package/dist/versioned-package/components/badge/badge.js +1 -1
  84. package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
  85. package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
  86. package/dist/versioned-package/components/button/button.d.ts +1 -1
  87. package/dist/versioned-package/components/button/button.js +4 -4
  88. package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
  89. package/dist/versioned-package/components/carousel/carousel.js +6 -6
  90. package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
  91. package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
  92. package/dist/versioned-package/components/checkbox/checkbox.d.ts +1 -1
  93. package/dist/versioned-package/components/checkbox/checkbox.js +4 -4
  94. package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +1 -1
  95. package/dist/versioned-package/components/checkbox-group/checkbox-group.js +5 -5
  96. package/dist/versioned-package/components/divider/divider.d.ts +1 -1
  97. package/dist/versioned-package/components/divider/divider.js +2 -2
  98. package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
  99. package/dist/versioned-package/components/drawer/drawer.js +2 -2
  100. package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
  101. package/dist/versioned-package/components/dropdown/dropdown.js +8 -8
  102. package/dist/versioned-package/components/header/header.d.ts +1 -1
  103. package/dist/versioned-package/components/header/header.js +4 -4
  104. package/dist/versioned-package/components/icon/icon.d.ts +1 -1
  105. package/dist/versioned-package/components/icon/icon.js +1 -1
  106. package/dist/versioned-package/components/include/include.d.ts +1 -1
  107. package/dist/versioned-package/components/include/include.js +1 -1
  108. package/dist/versioned-package/components/input/input.d.ts +1 -1
  109. package/dist/versioned-package/components/input/input.js +6 -6
  110. package/dist/versioned-package/components/link/link.d.ts +1 -1
  111. package/dist/versioned-package/components/link/link.js +2 -2
  112. package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
  113. package/dist/versioned-package/components/navigation-item/navigation-item.js +3 -3
  114. package/dist/versioned-package/components/notification/notification.d.ts +1 -1
  115. package/dist/versioned-package/components/notification/notification.js +5 -5
  116. package/dist/versioned-package/components/option/option.d.ts +30 -0
  117. package/dist/versioned-package/components/option/option.js +145 -0
  118. package/dist/versioned-package/components/popup/popup.d.ts +4 -1
  119. package/dist/versioned-package/components/popup/popup.js +18 -1
  120. package/dist/versioned-package/components/radio/radio.d.ts +1 -1
  121. package/dist/versioned-package/components/radio/radio.js +2 -2
  122. package/dist/versioned-package/components/radio-group/radio-group.d.ts +2 -2
  123. package/dist/versioned-package/components/radio-group/radio-group.js +14 -14
  124. package/dist/versioned-package/components/select/select.d.ts +101 -0
  125. package/dist/versioned-package/components/select/select.js +700 -0
  126. package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
  127. package/dist/versioned-package/components/spinner/spinner.js +1 -1
  128. package/dist/versioned-package/components/switch/switch.d.ts +1 -1
  129. package/dist/versioned-package/components/switch/switch.js +2 -2
  130. package/dist/versioned-package/components/tag/tag.d.ts +2 -1
  131. package/dist/versioned-package/components/tag/tag.js +6 -4
  132. package/dist/versioned-package/components/teaser/teaser.js +1 -1
  133. package/dist/versioned-package/components/textarea/textarea.d.ts +67 -0
  134. package/dist/versioned-package/components/textarea/textarea.js +315 -0
  135. package/dist/versioned-package/components/tooltip/tooltip.d.ts +1 -1
  136. package/dist/versioned-package/components/tooltip/tooltip.js +5 -5
  137. package/dist/versioned-package/components/video/video.d.ts +1 -1
  138. package/dist/versioned-package/components/video/video.js +2 -2
  139. package/dist/versioned-package/internal/form.js +2 -2
  140. package/dist/versioned-package/solid-components.d.ts +3 -0
  141. package/dist/versioned-package/solid-components.js +24 -18
  142. package/dist/versioned-package/styles/form-control.styles.js +1 -1
  143. package/dist/versioned-package/styles/tailwind.css.js +1 -1
  144. package/dist/versioned-package/translations/en.js +3 -4
  145. package/dist/versioned-package/utilities/localize.d.ts +1 -0
  146. package/dist/versioned-styles/solid-styles.css +1 -1
  147. package/dist/vscode.html-custom-data.json +795 -127
  148. package/dist/web-types.json +1428 -276
  149. package/package.json +3 -3
@@ -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.31.0",
4
+ "version": "1.33.0",
5
5
  "description-markup": "markdown",
6
6
  "framework-config": {
7
7
  "enable-when": {
@@ -3179,6 +3179,135 @@
3179
3179
  }
3180
3180
  ]
3181
3181
  },
3182
+ {
3183
+ "name": "sd-option",
3184
+ "description": "",
3185
+ "doc-url": "https://solid.union-investment.com/[storybook-link]/option",
3186
+ "js": {
3187
+ "properties": [
3188
+ {
3189
+ "name": "hasSlotController",
3190
+ "value": {}
3191
+ },
3192
+ {
3193
+ "name": "cachedTextLabel",
3194
+ "value": {
3195
+ "type": "string"
3196
+ }
3197
+ },
3198
+ {
3199
+ "name": "localize",
3200
+ "value": {}
3201
+ },
3202
+ {
3203
+ "name": "current",
3204
+ "value": {
3205
+ "type": "boolean"
3206
+ }
3207
+ },
3208
+ {
3209
+ "name": "selected",
3210
+ "value": {
3211
+ "type": "boolean"
3212
+ }
3213
+ },
3214
+ {
3215
+ "name": "hasHover",
3216
+ "value": {
3217
+ "type": "boolean"
3218
+ }
3219
+ },
3220
+ {
3221
+ "name": "size",
3222
+ "description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-select`.",
3223
+ "value": {
3224
+ "type": "'lg' | 'md' | 'sm'"
3225
+ }
3226
+ },
3227
+ {
3228
+ "name": "checkbox",
3229
+ "description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-select` when attribute `checklist` is set to `true`.",
3230
+ "value": {
3231
+ "type": "boolean"
3232
+ }
3233
+ },
3234
+ {
3235
+ "name": "disabled",
3236
+ "description": "Draws the option in a disabled state, preventing selection.",
3237
+ "value": {
3238
+ "type": "boolean"
3239
+ }
3240
+ },
3241
+ {
3242
+ "name": "value",
3243
+ "description": "The option's value. When selected, the containing form control will receive this value. The value must be unique\nfrom other options in the same group. Values may not contain spaces, as spaces are used as delimiters when listing\nmultiple values.",
3244
+ "value": {
3245
+ "type": "string"
3246
+ }
3247
+ },
3248
+ {
3249
+ "name": "handleDefaultSlotChange",
3250
+ "value": {}
3251
+ },
3252
+ {
3253
+ "name": "handleMouseEnter",
3254
+ "value": {}
3255
+ },
3256
+ {
3257
+ "name": "handleMouseLeave",
3258
+ "value": {}
3259
+ },
3260
+ {
3261
+ "name": "handleDisabledChange",
3262
+ "value": {}
3263
+ },
3264
+ {
3265
+ "name": "handleSelectedChange",
3266
+ "value": {}
3267
+ },
3268
+ {
3269
+ "name": "handleValueChange",
3270
+ "value": {}
3271
+ },
3272
+ {
3273
+ "name": "getTextLabel",
3274
+ "description": "Returns a plain text label based on the option's content.",
3275
+ "value": {}
3276
+ }
3277
+ ],
3278
+ "events": []
3279
+ },
3280
+ "attributes": [
3281
+ {
3282
+ "name": "size",
3283
+ "description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-select`.",
3284
+ "value": {
3285
+ "type": "'lg' | 'md' | 'sm'"
3286
+ }
3287
+ },
3288
+ {
3289
+ "name": "checkbox",
3290
+ "description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-select` when attribute `checklist` is set to `true`.",
3291
+ "value": {
3292
+ "type": "boolean"
3293
+ }
3294
+ },
3295
+ {
3296
+ "name": "disabled",
3297
+ "description": "Draws the option in a disabled state, preventing selection.",
3298
+ "value": {
3299
+ "type": "boolean"
3300
+ }
3301
+ },
3302
+ {
3303
+ "name": "value",
3304
+ "description": "The option's value. When selected, the containing form control will receive this value. The value must be unique\nfrom other options in the same group. Values may not contain spaces, as spaces are used as delimiters when listing\nmultiple values.",
3305
+ "value": {
3306
+ "type": "string"
3307
+ }
3308
+ }
3309
+ ]
3310
+ },
3182
3311
  {
3183
3312
  "name": "sd-popup",
3184
3313
  "description": "",
@@ -3191,6 +3320,12 @@
3191
3320
  "type": "ReturnType<typeof autoUpdate> | undefined"
3192
3321
  }
3193
3322
  },
3323
+ {
3324
+ "name": "mutationObserver",
3325
+ "value": {
3326
+ "type": "MutationObserver | null"
3327
+ }
3328
+ },
3194
3329
  {
3195
3330
  "name": "anchor",
3196
3331
  "description": "The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide its `id` or a\nreference to it here. If the anchor lives inside the popup, use the `anchor` slot instead.",
@@ -3338,6 +3473,14 @@
3338
3473
  "type": "number"
3339
3474
  }
3340
3475
  },
3476
+ {
3477
+ "name": "setupMutationObserver",
3478
+ "value": {}
3479
+ },
3480
+ {
3481
+ "name": "handleCurrentPlacementChange",
3482
+ "value": {}
3483
+ },
3341
3484
  {
3342
3485
  "name": "handleAnchorChange",
3343
3486
  "value": {}
@@ -3360,6 +3503,10 @@
3360
3503
  {
3361
3504
  "name": "sd-reposition",
3362
3505
  "description": "Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive operations in your listener or consider debouncing it."
3506
+ },
3507
+ {
3508
+ "name": "sd-current-placement",
3509
+ "description": "Emitted when the popup's placement changes automatically based on screen limitations."
3363
3510
  }
3364
3511
  ]
3365
3512
  },
@@ -3885,456 +4032,1461 @@
3885
4032
  ]
3886
4033
  },
3887
4034
  {
3888
- "name": "sd-spinner",
4035
+ "name": "sd-select",
3889
4036
  "description": "",
3890
- "doc-url": "https://solid.union-investment.com/[storybook-link]/spinner",
4037
+ "doc-url": "https://solid.union-investment.com/[storybook-link]/select",
3891
4038
  "js": {
3892
4039
  "properties": [
3893
4040
  {
3894
- "name": "color",
3895
- "description": "The color color of the spinner.",
4041
+ "name": "dependencies",
3896
4042
  "value": {
3897
- "type": "'primary' | 'white' | 'currentColor'"
4043
+ "type": "object"
3898
4044
  }
3899
4045
  },
3900
4046
  {
3901
- "name": "localize",
4047
+ "name": "formControlController",
3902
4048
  "value": {}
3903
- }
3904
- ],
3905
- "events": []
3906
- },
3907
- "attributes": [
3908
- {
3909
- "name": "color",
3910
- "description": "The color color of the spinner.",
3911
- "value": {
3912
- "type": "'primary' | 'white' | 'currentColor'"
3913
- }
3914
- }
3915
- ]
3916
- },
3917
- {
3918
- "name": "sd-switch",
3919
- "description": "",
3920
- "doc-url": "https://solid.union-investment.com/[storybook-link]/switch",
3921
- "js": {
3922
- "properties": [
4049
+ },
3923
4050
  {
3924
- "name": "formControlController",
4051
+ "name": "hasSlotController",
3925
4052
  "value": {}
3926
4053
  },
3927
4054
  {
3928
- "name": "title",
3929
- "description": "The title of the switch adds a tooltip with title text.",
4055
+ "name": "localize",
4056
+ "value": {}
4057
+ },
4058
+ {
4059
+ "name": "typeToSelectString",
3930
4060
  "value": {
3931
4061
  "type": "string"
3932
4062
  }
3933
4063
  },
3934
4064
  {
3935
- "name": "name",
3936
- "description": "The name of the switch, submitted as a name/value pair with form data.",
4065
+ "name": "typeToSelectTimeout",
3937
4066
  "value": {
3938
- "type": "string"
4067
+ "type": "number"
3939
4068
  }
3940
4069
  },
3941
4070
  {
3942
- "name": "value",
3943
- "description": "The current value of the switch, submitted as a name/value pair with form data.",
4071
+ "name": "_optionsInDefaultSlot",
3944
4072
  "value": {
3945
- "type": "string"
4073
+ "type": "SdOption[]"
3946
4074
  }
3947
4075
  },
3948
4076
  {
3949
- "name": "disabled",
3950
- "description": "Disables the switch.",
4077
+ "name": "popup",
3951
4078
  "value": {
3952
- "type": "boolean"
4079
+ "type": "SdPopup"
3953
4080
  }
3954
4081
  },
3955
4082
  {
3956
- "name": "checked",
3957
- "description": "Draws the switch in a checked state.",
4083
+ "name": "hasFocus",
3958
4084
  "value": {
3959
4085
  "type": "boolean"
3960
4086
  }
3961
4087
  },
3962
4088
  {
3963
- "name": "defaultChecked",
3964
- "description": "The default value of the form control. Primarily used for resetting the form control.",
4089
+ "name": "hasHover",
3965
4090
  "value": {
3966
4091
  "type": "boolean"
3967
4092
  }
3968
4093
  },
3969
4094
  {
3970
- "name": "form",
3971
- "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.",
4095
+ "name": "displayLabel",
4096
+ "description": "When `multiple` is `true` and `useTags` is `false`, the displayLabel sets the text shown in the display input. We use the localized string \"Options Selected (#)\" by default.",
3972
4097
  "value": {
3973
4098
  "type": "string"
3974
4099
  }
3975
4100
  },
3976
4101
  {
3977
- "name": "required",
3978
- "description": "Makes the switch a required field.",
4102
+ "name": "currentOption",
3979
4103
  "value": {
3980
- "type": "boolean"
4104
+ "type": "SdOption"
3981
4105
  }
3982
4106
  },
3983
4107
  {
3984
- "name": "validity",
3985
- "description": "Gets the validity state object",
3986
- "value": {}
4108
+ "name": "selectedOptions",
4109
+ "value": {
4110
+ "type": "SdOption[]"
4111
+ }
3987
4112
  },
3988
4113
  {
3989
- "name": "handleClick",
3990
- "value": {}
4114
+ "name": "isValid",
4115
+ "description": "Indicates whether or not the user input is valid after the user has interacted with the component. These states are activated when the attribute \"data-user-valid\" or \"data-user-invalid\" are set on the component via the form controller.",
4116
+ "value": {
4117
+ "type": "boolean"
4118
+ }
3991
4119
  },
3992
4120
  {
3993
- "name": "handleBlur",
3994
- "value": {}
4121
+ "name": "isInvalid",
4122
+ "value": {
4123
+ "type": "boolean"
4124
+ }
3995
4125
  },
3996
4126
  {
3997
- "name": "handleInput",
3998
- "value": {}
4127
+ "name": "defaultValue",
4128
+ "description": "The default value of the form control. Primarily used for resetting the form control.",
4129
+ "value": {
4130
+ "type": "string | string[]"
4131
+ }
3999
4132
  },
4000
4133
  {
4001
- "name": "handleInvalid",
4002
- "value": {}
4134
+ "name": "open",
4135
+ "description": "Indicates whether or not the select 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 select's open state.",
4136
+ "value": {
4137
+ "type": "boolean"
4138
+ }
4003
4139
  },
4004
4140
  {
4005
- "name": "handleFocus",
4006
- "value": {}
4141
+ "name": "size",
4142
+ "description": "The select's size.",
4143
+ "value": {
4144
+ "type": "'lg' | 'md' | 'sm'"
4145
+ }
4007
4146
  },
4008
4147
  {
4009
- "name": "handleDisabledChange",
4010
- "value": {}
4148
+ "name": "label",
4149
+ "description": "The select's label. If you need to display HTML, use the `label` slot instead.",
4150
+ "value": {
4151
+ "type": "string"
4152
+ }
4011
4153
  },
4012
4154
  {
4013
- "name": "handleStateChange",
4155
+ "name": "placeholder",
4156
+ "description": "Placeholder text to show as a hint when the select is empty.",
4014
4157
  "value": {}
4015
4158
  },
4016
4159
  {
4017
- "name": "click",
4018
- "description": "Simulates a click on the switch.",
4019
- "value": {}
4160
+ "name": "helpText",
4161
+ "description": "The select's help text. If you need to display HTML, use the `help-text` slot instead.",
4162
+ "value": {
4163
+ "type": "string"
4164
+ }
4020
4165
  },
4021
4166
  {
4022
- "name": "focus",
4023
- "description": "Sets focus on the switch.",
4024
- "value": {}
4167
+ "name": "placement",
4168
+ "description": "The preferred placement of the select's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
4169
+ "value": {
4170
+ "type": "'top' | 'bottom'"
4171
+ }
4025
4172
  },
4026
4173
  {
4027
- "name": "blur",
4028
- "description": "Removes focus from the switch.",
4174
+ "name": "currentPlacement",
4175
+ "description": "The actual current placement of the select's menu sourced from `sd-popup`.",
4029
4176
  "value": {}
4030
4177
  },
4031
4178
  {
4032
- "name": "checkValidity",
4033
- "description": "Checks for validity but does not show a validation message. Returns true when valid and false when invalid.",
4034
- "value": {}
4179
+ "name": "clearable",
4180
+ "description": "Adds a clear button when the select is not empty.",
4181
+ "value": {
4182
+ "type": "boolean"
4183
+ }
4035
4184
  },
4036
4185
  {
4037
- "name": "getForm",
4038
- "description": "Gets the associated form, if one exists.",
4039
- "value": {}
4186
+ "name": "disabled",
4187
+ "description": "Disables the select control.",
4188
+ "value": {
4189
+ "type": "boolean"
4190
+ }
4040
4191
  },
4041
4192
  {
4042
- "name": "reportValidity",
4043
- "description": "Checks for validity and shows a validation message if the control is invalid.",
4044
- "value": {}
4045
- },
4193
+ "name": "multiple",
4194
+ "description": "Allows more than one option to be selected.",
4195
+ "value": {
4196
+ "type": "boolean"
4197
+ }
4198
+ },
4199
+ {
4200
+ "name": "useTags",
4201
+ "description": "Uses interactive `sd-tag` elements representing individual options in the display input when `multiple` is `true`.",
4202
+ "value": {
4203
+ "type": "boolean"
4204
+ }
4205
+ },
4206
+ {
4207
+ "name": "maxOptionsVisible",
4208
+ "description": "The maximum number of selected options to show when `multiple` and `useTags` are `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.",
4209
+ "value": {
4210
+ "type": "number"
4211
+ }
4212
+ },
4213
+ {
4214
+ "name": "form",
4215
+ "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.",
4216
+ "value": {
4217
+ "type": "string"
4218
+ }
4219
+ },
4220
+ {
4221
+ "name": "name",
4222
+ "description": "The name of the select, submitted as a name/value pair with form data.",
4223
+ "value": {
4224
+ "type": "string"
4225
+ }
4226
+ },
4227
+ {
4228
+ "name": "value",
4229
+ "description": "The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the\nvalue attribute will be a space-delimited list of values based on the options selected, and the value property will\nbe an array. **For this reason, values must not contain spaces.**",
4230
+ "value": {
4231
+ "type": "string | string[]"
4232
+ }
4233
+ },
4234
+ {
4235
+ "name": "required",
4236
+ "description": "The select's required attribute.",
4237
+ "value": {
4238
+ "type": "boolean"
4239
+ }
4240
+ },
4241
+ {
4242
+ "name": "hoist",
4243
+ "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.",
4244
+ "value": {
4245
+ "type": "boolean"
4246
+ }
4247
+ },
4248
+ {
4249
+ "name": "validity",
4250
+ "description": "Gets the validity state object",
4251
+ "value": {}
4252
+ },
4253
+ {
4254
+ "name": "validationMessage",
4255
+ "description": "Gets the validation message",
4256
+ "value": {}
4257
+ },
4258
+ {
4259
+ "name": "addOpenListeners",
4260
+ "value": {}
4261
+ },
4262
+ {
4263
+ "name": "removeOpenListeners",
4264
+ "value": {}
4265
+ },
4266
+ {
4267
+ "name": "handleFocus",
4268
+ "value": {}
4269
+ },
4270
+ {
4271
+ "name": "handleBlur",
4272
+ "value": {}
4273
+ },
4274
+ {
4275
+ "name": "handleDocumentFocusIn",
4276
+ "value": {}
4277
+ },
4278
+ {
4279
+ "name": "handleDocumentKeyDown",
4280
+ "value": {}
4281
+ },
4282
+ {
4283
+ "name": "handleDocumentMouseDown",
4284
+ "value": {}
4285
+ },
4286
+ {
4287
+ "name": "handleLabelClick",
4288
+ "value": {}
4289
+ },
4290
+ {
4291
+ "name": "handleComboboxMouseDown",
4292
+ "value": {}
4293
+ },
4294
+ {
4295
+ "name": "handleComboboxKeyDown",
4296
+ "value": {}
4297
+ },
4298
+ {
4299
+ "name": "handleClearClick",
4300
+ "value": {}
4301
+ },
4302
+ {
4303
+ "name": "handleClearMouseDown",
4304
+ "value": {}
4305
+ },
4306
+ {
4307
+ "name": "handleOptionClick",
4308
+ "value": {}
4309
+ },
4310
+ {
4311
+ "name": "handleDefaultSlotChange",
4312
+ "value": {}
4313
+ },
4314
+ {
4315
+ "name": "handleTagRemove",
4316
+ "value": {}
4317
+ },
4318
+ {
4319
+ "name": "getAllOptions",
4320
+ "value": {}
4321
+ },
4322
+ {
4323
+ "name": "getFirstOption",
4324
+ "value": {}
4325
+ },
4326
+ {
4327
+ "name": "setCurrentOption",
4328
+ "value": {}
4329
+ },
4330
+ {
4331
+ "name": "setSelectedOptions",
4332
+ "value": {}
4333
+ },
4334
+ {
4335
+ "name": "toggleOptionSelection",
4336
+ "value": {}
4337
+ },
4338
+ {
4339
+ "name": "selectionChanged",
4340
+ "value": {}
4341
+ },
4342
+ {
4343
+ "name": "tags",
4344
+ "value": {}
4345
+ },
4346
+ {
4347
+ "name": "handleInvalid",
4348
+ "value": {}
4349
+ },
4350
+ {
4351
+ "name": "handleMouseEnter",
4352
+ "value": {}
4353
+ },
4354
+ {
4355
+ "name": "handleMouseLeave",
4356
+ "value": {}
4357
+ },
4358
+ {
4359
+ "name": "handleCurrentPlacement",
4360
+ "description": "Receives incoming event detail from sd-popup and updates local state for conditional styling.",
4361
+ "value": {}
4362
+ },
4363
+ {
4364
+ "name": "handleUseTagsChange",
4365
+ "value": {}
4366
+ },
4367
+ {
4368
+ "name": "handleDisabledChange",
4369
+ "value": {}
4370
+ },
4371
+ {
4372
+ "name": "handleOpenChange",
4373
+ "value": {}
4374
+ },
4375
+ {
4376
+ "name": "applySizeToOptions",
4377
+ "value": {}
4378
+ },
4379
+ {
4380
+ "name": "handleValueChange",
4381
+ "value": {}
4382
+ },
4383
+ {
4384
+ "name": "show",
4385
+ "description": "Shows the listbox.",
4386
+ "value": {}
4387
+ },
4388
+ {
4389
+ "name": "hide",
4390
+ "description": "Hides the listbox.",
4391
+ "value": {}
4392
+ },
4393
+ {
4394
+ "name": "checkValidity",
4395
+ "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.",
4396
+ "value": {}
4397
+ },
4398
+ {
4399
+ "name": "getForm",
4400
+ "description": "Gets the associated form, if one exists.",
4401
+ "value": {}
4402
+ },
4403
+ {
4404
+ "name": "reportValidity",
4405
+ "description": "Checks for validity and shows the browser's validation message if the control is invalid.",
4406
+ "value": {}
4407
+ },
4408
+ {
4409
+ "name": "setCustomValidity",
4410
+ "description": "Sets a custom validation message. Pass an empty string to restore validity.",
4411
+ "value": {}
4412
+ },
4413
+ {
4414
+ "name": "focus",
4415
+ "description": "Sets focus on the control.",
4416
+ "value": {}
4417
+ },
4418
+ {
4419
+ "name": "blur",
4420
+ "description": "Removes focus from the control.",
4421
+ "value": {}
4422
+ }
4423
+ ],
4424
+ "events": [
4425
+ {
4426
+ "name": "sd-change",
4427
+ "description": "Emitted when the control's value changes."
4428
+ },
4429
+ {
4430
+ "name": "sd-clear",
4431
+ "description": "Emitted when the control's value is cleared."
4432
+ },
4433
+ {
4434
+ "name": "sd-input",
4435
+ "description": "Emitted when the control receives input."
4436
+ },
4437
+ {
4438
+ "name": "sd-focus",
4439
+ "description": "Emitted when the control gains focus."
4440
+ },
4441
+ {
4442
+ "name": "sd-blur",
4443
+ "description": "Emitted when the control loses focus."
4444
+ },
4445
+ {
4446
+ "name": "sd-show",
4447
+ "description": "Emitted when the select's menu opens."
4448
+ },
4449
+ {
4450
+ "name": "sd-after-show",
4451
+ "description": "Emitted after the select's menu opens and all animations are complete."
4452
+ },
4453
+ {
4454
+ "name": "sd-hide",
4455
+ "description": "Emitted when the select's menu closes."
4456
+ },
4457
+ {
4458
+ "name": "sd-after-hide",
4459
+ "description": "Emitted after the select's menu closes and all animations are complete."
4460
+ },
4461
+ {
4462
+ "name": "sd-invalid",
4463
+ "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied."
4464
+ }
4465
+ ]
4466
+ },
4467
+ "attributes": [
4468
+ {
4469
+ "name": "open",
4470
+ "description": "Indicates whether or not the select 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 select's open state.",
4471
+ "value": {
4472
+ "type": "boolean"
4473
+ }
4474
+ },
4475
+ {
4476
+ "name": "size",
4477
+ "description": "The select's size.",
4478
+ "value": {
4479
+ "type": "'lg' | 'md' | 'sm'"
4480
+ }
4481
+ },
4482
+ {
4483
+ "name": "label",
4484
+ "description": "The select's label. If you need to display HTML, use the `label` slot instead.",
4485
+ "value": {
4486
+ "type": "string"
4487
+ }
4488
+ },
4489
+ {
4490
+ "name": "placeholder",
4491
+ "description": "Placeholder text to show as a hint when the select is empty.",
4492
+ "value": {}
4493
+ },
4494
+ {
4495
+ "name": "help-text",
4496
+ "description": "The select's help text. If you need to display HTML, use the `help-text` slot instead.",
4497
+ "value": {
4498
+ "type": "string"
4499
+ }
4500
+ },
4501
+ {
4502
+ "name": "placement",
4503
+ "description": "The preferred placement of the select's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
4504
+ "value": {
4505
+ "type": "'top' | 'bottom'"
4506
+ }
4507
+ },
4508
+ {
4509
+ "name": "clearable",
4510
+ "description": "Adds a clear button when the select is not empty.",
4511
+ "value": {
4512
+ "type": "boolean"
4513
+ }
4514
+ },
4515
+ {
4516
+ "name": "disabled",
4517
+ "description": "Disables the select control.",
4518
+ "value": {
4519
+ "type": "boolean"
4520
+ }
4521
+ },
4522
+ {
4523
+ "name": "multiple",
4524
+ "description": "Allows more than one option to be selected.",
4525
+ "value": {
4526
+ "type": "boolean"
4527
+ }
4528
+ },
4529
+ {
4530
+ "name": "useTags",
4531
+ "description": "Uses interactive `sd-tag` elements representing individual options in the display input when `multiple` is `true`.",
4532
+ "value": {
4533
+ "type": "boolean"
4534
+ }
4535
+ },
4536
+ {
4537
+ "name": "max-options-visible",
4538
+ "description": "The maximum number of selected options to show when `multiple` and `useTags` are `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.",
4539
+ "value": {
4540
+ "type": "number"
4541
+ }
4542
+ },
4543
+ {
4544
+ "name": "form",
4545
+ "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.",
4546
+ "value": {
4547
+ "type": "string"
4548
+ }
4549
+ },
4550
+ {
4551
+ "name": "name",
4552
+ "description": "The name of the select, submitted as a name/value pair with form data.",
4553
+ "value": {
4554
+ "type": "string"
4555
+ }
4556
+ },
4557
+ {
4558
+ "name": "value",
4559
+ "description": "The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the\nvalue attribute will be a space-delimited list of values based on the options selected, and the value property will\nbe an array. **For this reason, values must not contain spaces.**",
4560
+ "value": {
4561
+ "type": "string | string[]"
4562
+ }
4563
+ },
4564
+ {
4565
+ "name": "required",
4566
+ "description": "The select's required attribute.",
4567
+ "value": {
4568
+ "type": "boolean"
4569
+ }
4570
+ },
4571
+ {
4572
+ "name": "hoist",
4573
+ "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.",
4574
+ "value": {
4575
+ "type": "boolean"
4576
+ }
4577
+ },
4578
+ {
4579
+ "name": "getTag",
4580
+ "description": "A function that customizes the tags to be rendered when multiple=true. The first argument is the option, the second\nis the current tag's index. The function should return either a Lit TemplateResult or a string containing trusted HTML of the symbol to render at\nthe specified value.",
4581
+ "value": {
4582
+ "type": "(option: SdOption, index: number) => TemplateResult | string | HTMLElement"
4583
+ }
4584
+ }
4585
+ ]
4586
+ },
4587
+ {
4588
+ "name": "sd-spinner",
4589
+ "description": "",
4590
+ "doc-url": "https://solid.union-investment.com/[storybook-link]/spinner",
4591
+ "js": {
4592
+ "properties": [
4593
+ {
4594
+ "name": "color",
4595
+ "description": "The color color of the spinner.",
4596
+ "value": {
4597
+ "type": "'primary' | 'white' | 'currentColor'"
4598
+ }
4599
+ },
4600
+ {
4601
+ "name": "localize",
4602
+ "value": {}
4603
+ }
4604
+ ],
4605
+ "events": []
4606
+ },
4607
+ "attributes": [
4608
+ {
4609
+ "name": "color",
4610
+ "description": "The color color of the spinner.",
4611
+ "value": {
4612
+ "type": "'primary' | 'white' | 'currentColor'"
4613
+ }
4614
+ }
4615
+ ]
4616
+ },
4617
+ {
4618
+ "name": "sd-switch",
4619
+ "description": "",
4620
+ "doc-url": "https://solid.union-investment.com/[storybook-link]/switch",
4621
+ "js": {
4622
+ "properties": [
4623
+ {
4624
+ "name": "formControlController",
4625
+ "value": {}
4626
+ },
4627
+ {
4628
+ "name": "title",
4629
+ "description": "The title of the switch adds a tooltip with title text.",
4630
+ "value": {
4631
+ "type": "string"
4632
+ }
4633
+ },
4634
+ {
4635
+ "name": "name",
4636
+ "description": "The name of the switch, submitted as a name/value pair with form data.",
4637
+ "value": {
4638
+ "type": "string"
4639
+ }
4640
+ },
4641
+ {
4642
+ "name": "value",
4643
+ "description": "The current value of the switch, submitted as a name/value pair with form data.",
4644
+ "value": {
4645
+ "type": "string"
4646
+ }
4647
+ },
4648
+ {
4649
+ "name": "disabled",
4650
+ "description": "Disables the switch.",
4651
+ "value": {
4652
+ "type": "boolean"
4653
+ }
4654
+ },
4655
+ {
4656
+ "name": "checked",
4657
+ "description": "Draws the switch in a checked state.",
4658
+ "value": {
4659
+ "type": "boolean"
4660
+ }
4661
+ },
4662
+ {
4663
+ "name": "defaultChecked",
4664
+ "description": "The default value of the form control. Primarily used for resetting the form control.",
4665
+ "value": {
4666
+ "type": "boolean"
4667
+ }
4668
+ },
4669
+ {
4670
+ "name": "form",
4671
+ "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.",
4672
+ "value": {
4673
+ "type": "string"
4674
+ }
4675
+ },
4676
+ {
4677
+ "name": "required",
4678
+ "description": "Makes the switch a required field.",
4679
+ "value": {
4680
+ "type": "boolean"
4681
+ }
4682
+ },
4683
+ {
4684
+ "name": "validity",
4685
+ "description": "Gets the validity state object",
4686
+ "value": {}
4687
+ },
4688
+ {
4689
+ "name": "handleClick",
4690
+ "value": {}
4691
+ },
4692
+ {
4693
+ "name": "handleBlur",
4694
+ "value": {}
4695
+ },
4696
+ {
4697
+ "name": "handleInput",
4698
+ "value": {}
4699
+ },
4700
+ {
4701
+ "name": "handleInvalid",
4702
+ "value": {}
4703
+ },
4704
+ {
4705
+ "name": "handleFocus",
4706
+ "value": {}
4707
+ },
4708
+ {
4709
+ "name": "handleDisabledChange",
4710
+ "value": {}
4711
+ },
4712
+ {
4713
+ "name": "handleStateChange",
4714
+ "value": {}
4715
+ },
4716
+ {
4717
+ "name": "click",
4718
+ "description": "Simulates a click on the switch.",
4719
+ "value": {}
4720
+ },
4721
+ {
4722
+ "name": "focus",
4723
+ "description": "Sets focus on the switch.",
4724
+ "value": {}
4725
+ },
4726
+ {
4727
+ "name": "blur",
4728
+ "description": "Removes focus from the switch.",
4729
+ "value": {}
4730
+ },
4731
+ {
4732
+ "name": "checkValidity",
4733
+ "description": "Checks for validity but does not show a validation message. Returns true when valid and false when invalid.",
4734
+ "value": {}
4735
+ },
4736
+ {
4737
+ "name": "getForm",
4738
+ "description": "Gets the associated form, if one exists.",
4739
+ "value": {}
4740
+ },
4741
+ {
4742
+ "name": "reportValidity",
4743
+ "description": "Checks for validity and shows a validation message if the control is invalid.",
4744
+ "value": {}
4745
+ },
4746
+ {
4747
+ "name": "setCustomValidity",
4748
+ "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.",
4749
+ "value": {}
4750
+ }
4751
+ ],
4752
+ "events": [
4753
+ {
4754
+ "name": "sd-blur",
4755
+ "description": "Emitted when the switch loses focus."
4756
+ },
4757
+ {
4758
+ "name": "sd-change",
4759
+ "description": "Emitted when the checked state changes."
4760
+ },
4761
+ {
4762
+ "name": "sd-focus",
4763
+ "description": "Emitted when the switch gains focus."
4764
+ },
4765
+ {
4766
+ "name": "sd-input",
4767
+ "description": "Emitted when the switch receives input."
4768
+ }
4769
+ ]
4770
+ },
4771
+ "attributes": [
4772
+ {
4773
+ "name": "title",
4774
+ "description": "The title of the switch adds a tooltip with title text.",
4775
+ "value": {
4776
+ "type": "string"
4777
+ }
4778
+ },
4779
+ {
4780
+ "name": "name",
4781
+ "description": "The name of the switch, submitted as a name/value pair with form data.",
4782
+ "value": {
4783
+ "type": "string"
4784
+ }
4785
+ },
4786
+ {
4787
+ "name": "value",
4788
+ "description": "The current value of the switch, submitted as a name/value pair with form data.",
4789
+ "value": {
4790
+ "type": "string"
4791
+ }
4792
+ },
4793
+ {
4794
+ "name": "disabled",
4795
+ "description": "Disables the switch.",
4796
+ "value": {
4797
+ "type": "boolean"
4798
+ }
4799
+ },
4800
+ {
4801
+ "name": "checked",
4802
+ "description": "Draws the switch in a checked state.",
4803
+ "value": {
4804
+ "type": "boolean"
4805
+ }
4806
+ },
4807
+ {
4808
+ "name": "form",
4809
+ "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.",
4810
+ "value": {
4811
+ "type": "string"
4812
+ }
4813
+ },
4814
+ {
4815
+ "name": "required",
4816
+ "description": "Makes the switch a required field.",
4817
+ "value": {
4818
+ "type": "boolean"
4819
+ }
4820
+ }
4821
+ ]
4822
+ },
4823
+ {
4824
+ "name": "sd-tag",
4825
+ "description": "",
4826
+ "doc-url": "https://solid.union-investment.com/[storybook-link]/tag",
4827
+ "js": {
4828
+ "properties": [
4829
+ {
4830
+ "name": "size",
4831
+ "description": "The tag's size.",
4832
+ "value": {
4833
+ "type": "'lg' | 'sm'"
4834
+ }
4835
+ },
4836
+ {
4837
+ "name": "selected",
4838
+ "description": "Displays the tag in a selected state.",
4839
+ "value": {
4840
+ "type": "boolean"
4841
+ }
4842
+ },
4843
+ {
4844
+ "name": "removable",
4845
+ "description": "Displays the tag with a removability indicator.",
4846
+ "value": {
4847
+ "type": "boolean"
4848
+ }
4849
+ },
4850
+ {
4851
+ "name": "disabled",
4852
+ "description": "Displays the tag in a disabled state.",
4853
+ "value": {
4854
+ "type": "boolean"
4855
+ }
4856
+ },
4857
+ {
4858
+ "name": "href",
4859
+ "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
4860
+ "value": {
4861
+ "type": "string"
4862
+ }
4863
+ },
4864
+ {
4865
+ "name": "target",
4866
+ "description": "Tells the browser where to open the link. Only used when `href` is present.",
4867
+ "value": {
4868
+ "type": "'_blank' | '_parent' | '_self' | '_top'"
4869
+ }
4870
+ },
4871
+ {
4872
+ "name": "download",
4873
+ "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
4874
+ "value": {
4875
+ "type": "string | undefined"
4876
+ }
4877
+ },
4878
+ {
4879
+ "name": "handleBlur",
4880
+ "value": {}
4881
+ },
4882
+ {
4883
+ "name": "handleFocus",
4884
+ "value": {}
4885
+ },
4886
+ {
4887
+ "name": "handleRemoveClick",
4888
+ "value": {}
4889
+ },
4890
+ {
4891
+ "name": "isLink",
4892
+ "value": {}
4893
+ },
4894
+ {
4895
+ "name": "click",
4896
+ "description": "Simulates a click on the tag.",
4897
+ "value": {}
4898
+ },
4899
+ {
4900
+ "name": "focus",
4901
+ "description": "Sets focus on the tag.",
4902
+ "value": {}
4903
+ },
4904
+ {
4905
+ "name": "blur",
4906
+ "description": "Removes focus from the tag.",
4907
+ "value": {}
4908
+ }
4909
+ ],
4910
+ "events": [
4911
+ {
4912
+ "name": "sd-blur",
4913
+ "description": "Emitted when the tag loses focus."
4914
+ },
4915
+ {
4916
+ "name": "sd-focus",
4917
+ "description": "Emitted when the tag gains focus."
4918
+ },
4919
+ {
4920
+ "name": "sd-remove",
4921
+ "description": "Emitted when the remove button is activated."
4922
+ }
4923
+ ]
4924
+ },
4925
+ "attributes": [
4926
+ {
4927
+ "name": "size",
4928
+ "description": "The tag's size.",
4929
+ "value": {
4930
+ "type": "'lg' | 'sm'"
4931
+ }
4932
+ },
4933
+ {
4934
+ "name": "selected",
4935
+ "description": "Displays the tag in a selected state.",
4936
+ "value": {
4937
+ "type": "boolean"
4938
+ }
4939
+ },
4940
+ {
4941
+ "name": "removable",
4942
+ "description": "Displays the tag with a removability indicator.",
4943
+ "value": {
4944
+ "type": "boolean"
4945
+ }
4946
+ },
4947
+ {
4948
+ "name": "disabled",
4949
+ "description": "Displays the tag in a disabled state.",
4950
+ "value": {
4951
+ "type": "boolean"
4952
+ }
4953
+ },
4954
+ {
4955
+ "name": "href",
4956
+ "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
4957
+ "value": {
4958
+ "type": "string"
4959
+ }
4960
+ },
4961
+ {
4962
+ "name": "target",
4963
+ "description": "Tells the browser where to open the link. Only used when `href` is present.",
4964
+ "value": {
4965
+ "type": "'_blank' | '_parent' | '_self' | '_top'"
4966
+ }
4967
+ },
4968
+ {
4969
+ "name": "download",
4970
+ "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
4971
+ "value": {
4972
+ "type": "string | undefined"
4973
+ }
4974
+ }
4975
+ ]
4976
+ },
4977
+ {
4978
+ "name": "sd-teaser",
4979
+ "description": "",
4980
+ "doc-url": "https://solid.union-investment.com/[storybook-link]/teaser",
4981
+ "js": {
4982
+ "properties": [
4983
+ {
4984
+ "name": "variant",
4985
+ "value": {
4986
+ "type": "'white' | 'white border-neutral-400' | 'neutral-100' | 'primary' | 'primary-100'"
4987
+ }
4988
+ },
4989
+ {
4990
+ "name": "breakpoint",
4991
+ "description": "Breakpoint where the teaser switches from `vertical` to `horizontal`. `0` is always `horizontal`, `9999` is always `vertical`.",
4992
+ "value": {
4993
+ "type": "number"
4994
+ }
4995
+ },
4996
+ {
4997
+ "name": "inset",
4998
+ "description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
4999
+ "value": {
5000
+ "type": "boolean"
5001
+ }
5002
+ },
5003
+ {
5004
+ "name": "_orientation",
5005
+ "value": {
5006
+ "type": "'vertical' | 'horizontal'"
5007
+ }
5008
+ },
5009
+ {
5010
+ "name": "hasSlotController",
5011
+ "value": {}
5012
+ },
5013
+ {
5014
+ "name": "resizeObserver",
5015
+ "value": {
5016
+ "type": "ResizeObserver"
5017
+ }
5018
+ },
5019
+ {
5020
+ "name": "updateOrientation",
5021
+ "value": {}
5022
+ }
5023
+ ],
5024
+ "events": []
5025
+ },
5026
+ "attributes": [
5027
+ {
5028
+ "name": "variant",
5029
+ "value": {
5030
+ "type": "'white' | 'white border-neutral-400' | 'neutral-100' | 'primary' | 'primary-100'"
5031
+ }
5032
+ },
5033
+ {
5034
+ "name": "breakpoint",
5035
+ "description": "Breakpoint where the teaser switches from `vertical` to `horizontal`. `0` is always `horizontal`, `9999` is always `vertical`.",
5036
+ "value": {
5037
+ "type": "number"
5038
+ }
5039
+ },
5040
+ {
5041
+ "name": "inset",
5042
+ "description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
5043
+ "value": {
5044
+ "type": "boolean"
5045
+ }
5046
+ }
5047
+ ]
5048
+ },
5049
+ {
5050
+ "name": "sd-textarea",
5051
+ "description": "",
5052
+ "doc-url": "https://solid.union-investment.com/[storybook-link]/textarea",
5053
+ "js": {
5054
+ "properties": [
5055
+ {
5056
+ "name": "formControlController",
5057
+ "value": {}
5058
+ },
5059
+ {
5060
+ "name": "hasSlotController",
5061
+ "value": {}
5062
+ },
5063
+ {
5064
+ "name": "hasFocus",
5065
+ "value": {
5066
+ "type": "boolean"
5067
+ }
5068
+ },
5069
+ {
5070
+ "name": "title",
5071
+ "description": "An empty title prevents browser validation tooltips from appearing on hover",
5072
+ "value": {
5073
+ "type": "string"
5074
+ }
5075
+ },
5076
+ {
5077
+ "name": "name",
5078
+ "description": "The name of the textarea, submitted as a name/value pair with form data.",
5079
+ "value": {
5080
+ "type": "string"
5081
+ }
5082
+ },
5083
+ {
5084
+ "name": "value",
5085
+ "description": "The current value of the textarea, submitted as a name/value pair with form data.",
5086
+ "value": {
5087
+ "type": "string"
5088
+ }
5089
+ },
5090
+ {
5091
+ "name": "size",
5092
+ "description": "The textarea's size.",
5093
+ "value": {
5094
+ "type": "'lg' | 'md' | 'sm'"
5095
+ }
5096
+ },
5097
+ {
5098
+ "name": "label",
5099
+ "description": "The textarea's label. If you need to display HTML, use the `label` slot instead.",
5100
+ "value": {
5101
+ "type": "string"
5102
+ }
5103
+ },
5104
+ {
5105
+ "name": "helpText",
5106
+ "description": "The textarea's help text. If you need to display HTML, use the `help-text` slot instead.",
5107
+ "value": {
5108
+ "type": "string"
5109
+ }
5110
+ },
5111
+ {
5112
+ "name": "placeholder",
5113
+ "description": "Placeholder text to show as a hint when the input is empty.",
5114
+ "value": {
5115
+ "type": "string"
5116
+ }
5117
+ },
5118
+ {
5119
+ "name": "rows",
5120
+ "description": "The number of rows to display by default.",
5121
+ "value": {
5122
+ "type": "number"
5123
+ }
5124
+ },
5125
+ {
5126
+ "name": "disabled",
5127
+ "description": "Disables the textarea.",
5128
+ "value": {
5129
+ "type": "boolean"
5130
+ }
5131
+ },
5132
+ {
5133
+ "name": "readonly",
5134
+ "description": "Makes the textarea readonly.",
5135
+ "value": {
5136
+ "type": "boolean"
5137
+ }
5138
+ },
5139
+ {
5140
+ "name": "form",
5141
+ "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.",
5142
+ "value": {
5143
+ "type": "string"
5144
+ }
5145
+ },
5146
+ {
5147
+ "name": "required",
5148
+ "description": "Makes the textarea a required field.",
5149
+ "value": {
5150
+ "type": "boolean"
5151
+ }
5152
+ },
5153
+ {
5154
+ "name": "minlength",
5155
+ "description": "The minimum length of input that will be considered valid.",
5156
+ "value": {
5157
+ "type": "number"
5158
+ }
5159
+ },
5160
+ {
5161
+ "name": "maxlength",
5162
+ "description": "The maximum length of input that will be considered valid.",
5163
+ "value": {
5164
+ "type": "number"
5165
+ }
5166
+ },
5167
+ {
5168
+ "name": "autocapitalize",
5169
+ "description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
5170
+ "value": {
5171
+ "type": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
5172
+ }
5173
+ },
5174
+ {
5175
+ "name": "autocorrect",
5176
+ "description": "Indicates whether the browser's autocorrect feature is on or off.",
5177
+ "value": {
5178
+ "type": "'off' | 'on'"
5179
+ }
5180
+ },
5181
+ {
5182
+ "name": "autocomplete",
5183
+ "description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
5184
+ "value": {
5185
+ "type": "string"
5186
+ }
5187
+ },
5188
+ {
5189
+ "name": "autofocus",
5190
+ "description": "Indicates that the input should receive focus on page load.",
5191
+ "value": {
5192
+ "type": "boolean"
5193
+ }
5194
+ },
5195
+ {
5196
+ "name": "enterkeyhint",
5197
+ "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
5198
+ "value": {
5199
+ "type": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
5200
+ }
5201
+ },
5202
+ {
5203
+ "name": "spellcheck",
5204
+ "description": "Enables spell checking on the textarea.",
5205
+ "value": {
5206
+ "type": "boolean"
5207
+ }
5208
+ },
5209
+ {
5210
+ "name": "inputmode",
5211
+ "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
5212
+ "value": {
5213
+ "type": "'none' | 'text'"
5214
+ }
5215
+ },
5216
+ {
5217
+ "name": "defaultValue",
5218
+ "description": "The default value of the form control. Primarily used for resetting the form control.",
5219
+ "value": {
5220
+ "type": "string"
5221
+ }
5222
+ },
5223
+ {
5224
+ "name": "validity",
5225
+ "description": "Gets the validity state object",
5226
+ "value": {}
5227
+ },
5228
+ {
5229
+ "name": "validationMessage",
5230
+ "description": "Gets the validation message",
5231
+ "value": {}
5232
+ },
5233
+ {
5234
+ "name": "handleBlur",
5235
+ "value": {}
5236
+ },
5237
+ {
5238
+ "name": "handleChange",
5239
+ "value": {}
5240
+ },
5241
+ {
5242
+ "name": "handleFocus",
5243
+ "value": {}
5244
+ },
5245
+ {
5246
+ "name": "handleInput",
5247
+ "value": {}
5248
+ },
5249
+ {
5250
+ "name": "handleInvalid",
5251
+ "value": {}
5252
+ },
5253
+ {
5254
+ "name": "setTextareaHeight",
5255
+ "value": {}
5256
+ },
5257
+ {
5258
+ "name": "handleDisabledChange",
5259
+ "value": {}
5260
+ },
5261
+ {
5262
+ "name": "handleRowsChange",
5263
+ "value": {}
5264
+ },
5265
+ {
5266
+ "name": "handleValueChange",
5267
+ "value": {}
5268
+ },
5269
+ {
5270
+ "name": "focus",
5271
+ "description": "Sets focus on the textarea.",
5272
+ "value": {}
5273
+ },
5274
+ {
5275
+ "name": "blur",
5276
+ "description": "Removes focus from the textarea.",
5277
+ "value": {}
5278
+ },
5279
+ {
5280
+ "name": "select",
5281
+ "description": "Selects all the text in the textarea.",
5282
+ "value": {}
5283
+ },
5284
+ {
5285
+ "name": "scrollPosition",
5286
+ "description": "Gets or sets the textarea's scroll position.",
5287
+ "value": {}
5288
+ },
5289
+ {
5290
+ "name": "setSelectionRange",
5291
+ "description": "Sets the start and end positions of the text selection (0-based).",
5292
+ "value": {}
5293
+ },
5294
+ {
5295
+ "name": "setRangeText",
5296
+ "description": "Replaces a range of text with a new string.",
5297
+ "value": {}
5298
+ },
5299
+ {
5300
+ "name": "checkValidity",
5301
+ "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.",
5302
+ "value": {}
5303
+ },
5304
+ {
5305
+ "name": "getForm",
5306
+ "description": "Gets the associated form, if one exists.",
5307
+ "value": {}
5308
+ },
5309
+ {
5310
+ "name": "reportValidity",
5311
+ "description": "Checks for validity and shows the browser's validation message if the control is invalid.",
5312
+ "value": {}
5313
+ },
4046
5314
  {
4047
5315
  "name": "setCustomValidity",
4048
- "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.",
5316
+ "description": "Sets a custom validation message. Pass an empty string to restore validity.",
4049
5317
  "value": {}
4050
5318
  }
4051
5319
  ],
4052
5320
  "events": [
4053
5321
  {
4054
5322
  "name": "sd-blur",
4055
- "description": "Emitted when the switch loses focus."
5323
+ "description": "Emitted when the control loses focus."
4056
5324
  },
4057
5325
  {
4058
5326
  "name": "sd-change",
4059
- "description": "Emitted when the checked state changes."
5327
+ "description": "Emitted when an alteration to the control's value is committed by the user."
4060
5328
  },
4061
5329
  {
4062
5330
  "name": "sd-focus",
4063
- "description": "Emitted when the switch gains focus."
5331
+ "description": "Emitted when the control gains focus."
4064
5332
  },
4065
5333
  {
4066
5334
  "name": "sd-input",
4067
- "description": "Emitted when the switch receives input."
5335
+ "description": "Emitted when the control receives input."
5336
+ },
5337
+ {
5338
+ "name": "sd-invalid",
5339
+ "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied."
4068
5340
  }
4069
5341
  ]
4070
5342
  },
4071
5343
  "attributes": [
4072
5344
  {
4073
5345
  "name": "title",
4074
- "description": "The title of the switch adds a tooltip with title text.",
5346
+ "description": "An empty title prevents browser validation tooltips from appearing on hover",
4075
5347
  "value": {
4076
5348
  "type": "string"
4077
5349
  }
4078
5350
  },
4079
5351
  {
4080
5352
  "name": "name",
4081
- "description": "The name of the switch, submitted as a name/value pair with form data.",
5353
+ "description": "The name of the textarea, submitted as a name/value pair with form data.",
4082
5354
  "value": {
4083
5355
  "type": "string"
4084
5356
  }
4085
5357
  },
4086
5358
  {
4087
5359
  "name": "value",
4088
- "description": "The current value of the switch, submitted as a name/value pair with form data.",
5360
+ "description": "The current value of the textarea, submitted as a name/value pair with form data.",
4089
5361
  "value": {
4090
5362
  "type": "string"
4091
5363
  }
4092
5364
  },
4093
5365
  {
4094
- "name": "disabled",
4095
- "description": "Disables the switch.",
5366
+ "name": "size",
5367
+ "description": "The textarea's size.",
4096
5368
  "value": {
4097
- "type": "boolean"
5369
+ "type": "'lg' | 'md' | 'sm'"
4098
5370
  }
4099
5371
  },
4100
5372
  {
4101
- "name": "checked",
4102
- "description": "Draws the switch in a checked state.",
5373
+ "name": "label",
5374
+ "description": "The textarea's label. If you need to display HTML, use the `label` slot instead.",
4103
5375
  "value": {
4104
- "type": "boolean"
5376
+ "type": "string"
4105
5377
  }
4106
5378
  },
4107
5379
  {
4108
- "name": "form",
4109
- "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.",
5380
+ "name": "help-text",
5381
+ "description": "The textarea's help text. If you need to display HTML, use the `help-text` slot instead.",
4110
5382
  "value": {
4111
5383
  "type": "string"
4112
5384
  }
4113
5385
  },
4114
5386
  {
4115
- "name": "required",
4116
- "description": "Makes the switch a required field.",
5387
+ "name": "placeholder",
5388
+ "description": "Placeholder text to show as a hint when the input is empty.",
4117
5389
  "value": {
4118
- "type": "boolean"
4119
- }
4120
- }
4121
- ]
4122
- },
4123
- {
4124
- "name": "sd-tag",
4125
- "description": "",
4126
- "doc-url": "https://solid.union-investment.com/[storybook-link]/tag",
4127
- "js": {
4128
- "properties": [
4129
- {
4130
- "name": "size",
4131
- "description": "The tag's size.",
4132
- "value": {
4133
- "type": "'lg' | 'sm'"
4134
- }
4135
- },
4136
- {
4137
- "name": "selected",
4138
- "description": "Displays the tag in a selected state.",
4139
- "value": {
4140
- "type": "boolean"
4141
- }
4142
- },
4143
- {
4144
- "name": "removable",
4145
- "description": "Displays the tag with a removability indicator.",
4146
- "value": {
4147
- "type": "boolean"
4148
- }
4149
- },
4150
- {
4151
- "name": "disabled",
4152
- "description": "Displays the tag in a disabled state.",
4153
- "value": {
4154
- "type": "boolean"
4155
- }
4156
- },
4157
- {
4158
- "name": "href",
4159
- "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
4160
- "value": {
4161
- "type": "string"
4162
- }
4163
- },
4164
- {
4165
- "name": "target",
4166
- "description": "Tells the browser where to open the link. Only used when `href` is present.",
4167
- "value": {
4168
- "type": "'_blank' | '_parent' | '_self' | '_top'"
4169
- }
4170
- },
4171
- {
4172
- "name": "download",
4173
- "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
4174
- "value": {
4175
- "type": "string | undefined"
4176
- }
4177
- },
4178
- {
4179
- "name": "handleBlur",
4180
- "value": {}
4181
- },
4182
- {
4183
- "name": "handleFocus",
4184
- "value": {}
4185
- },
4186
- {
4187
- "name": "isLink",
4188
- "value": {}
4189
- },
4190
- {
4191
- "name": "click",
4192
- "description": "Simulates a click on the tag.",
4193
- "value": {}
4194
- },
4195
- {
4196
- "name": "focus",
4197
- "description": "Sets focus on the tag.",
4198
- "value": {}
4199
- },
4200
- {
4201
- "name": "blur",
4202
- "description": "Removes focus from the tag.",
4203
- "value": {}
4204
- }
4205
- ],
4206
- "events": [
4207
- {
4208
- "name": "sd-blur",
4209
- "description": "Emitted when the tag loses focus."
4210
- },
4211
- {
4212
- "name": "sd-focus",
4213
- "description": "Emitted when the tag gains focus."
5390
+ "type": "string"
4214
5391
  }
4215
- ]
4216
- },
4217
- "attributes": [
5392
+ },
4218
5393
  {
4219
- "name": "size",
4220
- "description": "The tag's size.",
5394
+ "name": "rows",
5395
+ "description": "The number of rows to display by default.",
4221
5396
  "value": {
4222
- "type": "'lg' | 'sm'"
5397
+ "type": "number"
4223
5398
  }
4224
5399
  },
4225
5400
  {
4226
- "name": "selected",
4227
- "description": "Displays the tag in a selected state.",
5401
+ "name": "disabled",
5402
+ "description": "Disables the textarea.",
4228
5403
  "value": {
4229
5404
  "type": "boolean"
4230
5405
  }
4231
5406
  },
4232
5407
  {
4233
- "name": "removable",
4234
- "description": "Displays the tag with a removability indicator.",
5408
+ "name": "readonly",
5409
+ "description": "Makes the textarea readonly.",
4235
5410
  "value": {
4236
5411
  "type": "boolean"
4237
5412
  }
4238
5413
  },
4239
5414
  {
4240
- "name": "disabled",
4241
- "description": "Displays the tag in a disabled state.",
5415
+ "name": "form",
5416
+ "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.",
5417
+ "value": {
5418
+ "type": "string"
5419
+ }
5420
+ },
5421
+ {
5422
+ "name": "required",
5423
+ "description": "Makes the textarea a required field.",
4242
5424
  "value": {
4243
5425
  "type": "boolean"
4244
5426
  }
4245
5427
  },
4246
5428
  {
4247
- "name": "href",
4248
- "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
5429
+ "name": "minlength",
5430
+ "description": "The minimum length of input that will be considered valid.",
4249
5431
  "value": {
4250
- "type": "string"
5432
+ "type": "number"
4251
5433
  }
4252
5434
  },
4253
5435
  {
4254
- "name": "target",
4255
- "description": "Tells the browser where to open the link. Only used when `href` is present.",
5436
+ "name": "maxlength",
5437
+ "description": "The maximum length of input that will be considered valid.",
4256
5438
  "value": {
4257
- "type": "'_blank' | '_parent' | '_self' | '_top'"
5439
+ "type": "number"
4258
5440
  }
4259
5441
  },
4260
5442
  {
4261
- "name": "download",
4262
- "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
5443
+ "name": "autocapitalize",
5444
+ "description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
4263
5445
  "value": {
4264
- "type": "string | undefined"
5446
+ "type": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
4265
5447
  }
4266
- }
4267
- ]
4268
- },
4269
- {
4270
- "name": "sd-teaser",
4271
- "description": "",
4272
- "doc-url": "https://solid.union-investment.com/[storybook-link]/teaser",
4273
- "js": {
4274
- "properties": [
4275
- {
4276
- "name": "variant",
4277
- "value": {
4278
- "type": "'white' | 'white border-neutral-400' | 'neutral-100' | 'primary' | 'primary-100'"
4279
- }
4280
- },
4281
- {
4282
- "name": "breakpoint",
4283
- "description": "Breakpoint where the teaser switches from `vertical` to `horizontal`. `0` is always `horizontal`, `9999` is always `vertical`.",
4284
- "value": {
4285
- "type": "number"
4286
- }
4287
- },
4288
- {
4289
- "name": "inset",
4290
- "description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
4291
- "value": {
4292
- "type": "boolean"
4293
- }
4294
- },
4295
- {
4296
- "name": "_orientation",
4297
- "value": {
4298
- "type": "'vertical' | 'horizontal'"
4299
- }
4300
- },
4301
- {
4302
- "name": "hasSlotController",
4303
- "value": {}
4304
- },
4305
- {
4306
- "name": "resizeObserver",
4307
- "value": {
4308
- "type": "ResizeObserver"
4309
- }
4310
- },
4311
- {
4312
- "name": "updateOrientation",
4313
- "value": {}
5448
+ },
5449
+ {
5450
+ "name": "autocorrect",
5451
+ "description": "Indicates whether the browser's autocorrect feature is on or off.",
5452
+ "value": {
5453
+ "type": "'off' | 'on'"
4314
5454
  }
4315
- ],
4316
- "events": []
4317
- },
4318
- "attributes": [
5455
+ },
4319
5456
  {
4320
- "name": "variant",
5457
+ "name": "autocomplete",
5458
+ "description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
4321
5459
  "value": {
4322
- "type": "'white' | 'white border-neutral-400' | 'neutral-100' | 'primary' | 'primary-100'"
5460
+ "type": "string"
4323
5461
  }
4324
5462
  },
4325
5463
  {
4326
- "name": "breakpoint",
4327
- "description": "Breakpoint where the teaser switches from `vertical` to `horizontal`. `0` is always `horizontal`, `9999` is always `vertical`.",
5464
+ "name": "autofocus",
5465
+ "description": "Indicates that the input should receive focus on page load.",
4328
5466
  "value": {
4329
- "type": "number"
5467
+ "type": "boolean"
4330
5468
  }
4331
5469
  },
4332
5470
  {
4333
- "name": "inset",
4334
- "description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
5471
+ "name": "enterkeyhint",
5472
+ "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
5473
+ "value": {
5474
+ "type": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
5475
+ }
5476
+ },
5477
+ {
5478
+ "name": "spellcheck",
5479
+ "description": "Enables spell checking on the textarea.",
4335
5480
  "value": {
4336
5481
  "type": "boolean"
4337
5482
  }
5483
+ },
5484
+ {
5485
+ "name": "inputmode",
5486
+ "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
5487
+ "value": {
5488
+ "type": "'none' | 'text'"
5489
+ }
4338
5490
  }
4339
5491
  ]
4340
5492
  },