@solid-design-system/components 1.25.0 → 1.27.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 (128) hide show
  1. package/dist/components/es/accordion-group.js +1 -1
  2. package/dist/components/es/accordion.js +1 -1
  3. package/dist/components/es/carousel.js +1 -1
  4. package/dist/components/es/checkbox-group.js +1 -1
  5. package/dist/components/es/checkbox.js +1 -1
  6. package/dist/components/es/directive.js +6 -0
  7. package/dist/components/es/drawer.js +1 -1
  8. package/dist/components/es/icon.js +3 -8
  9. package/dist/components/es/input.js +1 -1
  10. package/dist/components/es/live.js +1 -1
  11. package/dist/components/es/notification.js +1 -0
  12. package/dist/components/es/radio.js +1 -1
  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 -0
  16. package/dist/components/umd/solid-components.js +15 -15
  17. package/dist/custom-elements.json +1 -1
  18. package/dist/package/components/icon/library.system.d.ts +3 -0
  19. package/dist/package/components/icon/library.system.js +7 -1
  20. package/dist/package/components/notification/notification.d.ts +31 -0
  21. package/dist/package/components/notification/notification.js +211 -0
  22. package/dist/package/components/switch/switch.d.ts +37 -0
  23. package/dist/package/components/switch/switch.js +162 -0
  24. package/dist/package/solid-components.d.ts +2 -0
  25. package/dist/package/solid-components.js +20 -16
  26. package/dist/package/styles/tailwind.css.js +1 -1
  27. package/dist/styles/solid-styles.css +1 -1
  28. package/dist/versioned-components/es/accordion-group.js +1 -1
  29. package/dist/versioned-components/es/accordion.js +1 -1
  30. package/dist/versioned-components/es/badge.js +1 -1
  31. package/dist/versioned-components/es/brandshape.js +1 -1
  32. package/dist/versioned-components/es/button.js +1 -1
  33. package/dist/versioned-components/es/carousel-item.js +1 -1
  34. package/dist/versioned-components/es/carousel.js +3 -3
  35. package/dist/versioned-components/es/checkbox-group.js +1 -1
  36. package/dist/versioned-components/es/checkbox.js +1 -1
  37. package/dist/versioned-components/es/directive.js +6 -0
  38. package/dist/versioned-components/es/divider.js +1 -1
  39. package/dist/versioned-components/es/drawer.js +1 -1
  40. package/dist/versioned-components/es/dropdown.js +1 -1
  41. package/dist/versioned-components/es/form.js +1 -1
  42. package/dist/versioned-components/es/header.js +1 -1
  43. package/dist/versioned-components/es/icon.js +3 -8
  44. package/dist/versioned-components/es/include.js +1 -1
  45. package/dist/versioned-components/es/input.js +1 -1
  46. package/dist/versioned-components/es/link.js +1 -1
  47. package/dist/versioned-components/es/live.js +1 -1
  48. package/dist/versioned-components/es/navigation-item.js +1 -1
  49. package/dist/versioned-components/es/notification.js +1 -0
  50. package/dist/versioned-components/es/popup.js +1 -1
  51. package/dist/versioned-components/es/radio-group.js +1 -1
  52. package/dist/versioned-components/es/radio.js +1 -1
  53. package/dist/versioned-components/es/solid-components2.js +1 -1
  54. package/dist/versioned-components/es/solid-element.js +1 -1
  55. package/dist/versioned-components/es/spinner.js +1 -1
  56. package/dist/versioned-components/es/switch.js +1 -0
  57. package/dist/versioned-components/es/tag.js +1 -1
  58. package/dist/versioned-components/es/teaser.js +1 -1
  59. package/dist/versioned-components/es/tooltip.js +2 -2
  60. package/dist/versioned-components/es/video.js +1 -1
  61. package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
  62. package/dist/versioned-package/_components/button-group/button-group.js +11 -11
  63. package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
  64. package/dist/versioned-package/components/accordion/accordion.js +2 -2
  65. package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
  66. package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
  67. package/dist/versioned-package/components/badge/badge.d.ts +1 -1
  68. package/dist/versioned-package/components/badge/badge.js +1 -1
  69. package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
  70. package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
  71. package/dist/versioned-package/components/button/button.d.ts +1 -1
  72. package/dist/versioned-package/components/button/button.js +4 -4
  73. package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
  74. package/dist/versioned-package/components/carousel/carousel.js +6 -6
  75. package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
  76. package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
  77. package/dist/versioned-package/components/checkbox/checkbox.d.ts +1 -1
  78. package/dist/versioned-package/components/checkbox/checkbox.js +4 -4
  79. package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +1 -1
  80. package/dist/versioned-package/components/checkbox-group/checkbox-group.js +5 -5
  81. package/dist/versioned-package/components/divider/divider.d.ts +1 -1
  82. package/dist/versioned-package/components/divider/divider.js +2 -2
  83. package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
  84. package/dist/versioned-package/components/drawer/drawer.js +2 -2
  85. package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
  86. package/dist/versioned-package/components/dropdown/dropdown.js +6 -6
  87. package/dist/versioned-package/components/header/header.d.ts +1 -1
  88. package/dist/versioned-package/components/header/header.js +4 -4
  89. package/dist/versioned-package/components/icon/icon.d.ts +1 -1
  90. package/dist/versioned-package/components/icon/icon.js +1 -1
  91. package/dist/versioned-package/components/icon/library.system.d.ts +3 -0
  92. package/dist/versioned-package/components/icon/library.system.js +7 -1
  93. package/dist/versioned-package/components/include/include.d.ts +1 -1
  94. package/dist/versioned-package/components/include/include.js +1 -1
  95. package/dist/versioned-package/components/input/input.d.ts +1 -1
  96. package/dist/versioned-package/components/input/input.js +4 -4
  97. package/dist/versioned-package/components/link/link.d.ts +1 -1
  98. package/dist/versioned-package/components/link/link.js +2 -2
  99. package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
  100. package/dist/versioned-package/components/navigation-item/navigation-item.js +3 -3
  101. package/dist/versioned-package/components/notification/notification.d.ts +31 -0
  102. package/dist/versioned-package/components/notification/notification.js +211 -0
  103. package/dist/versioned-package/components/popup/popup.d.ts +1 -1
  104. package/dist/versioned-package/components/popup/popup.js +1 -1
  105. package/dist/versioned-package/components/radio/radio.d.ts +1 -1
  106. package/dist/versioned-package/components/radio/radio.js +2 -2
  107. package/dist/versioned-package/components/radio-group/radio-group.d.ts +2 -2
  108. package/dist/versioned-package/components/radio-group/radio-group.js +14 -14
  109. package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
  110. package/dist/versioned-package/components/spinner/spinner.js +1 -1
  111. package/dist/versioned-package/components/switch/switch.d.ts +37 -0
  112. package/dist/versioned-package/components/switch/switch.js +162 -0
  113. package/dist/versioned-package/components/tag/tag.d.ts +1 -1
  114. package/dist/versioned-package/components/tag/tag.js +2 -2
  115. package/dist/versioned-package/components/teaser/teaser.js +1 -1
  116. package/dist/versioned-package/components/tooltip/tooltip.d.ts +1 -1
  117. package/dist/versioned-package/components/tooltip/tooltip.js +5 -5
  118. package/dist/versioned-package/components/video/video.d.ts +1 -1
  119. package/dist/versioned-package/components/video/video.js +2 -2
  120. package/dist/versioned-package/internal/form.js +2 -2
  121. package/dist/versioned-package/solid-components.d.ts +2 -0
  122. package/dist/versioned-package/solid-components.js +20 -16
  123. package/dist/versioned-package/styles/form-control.styles.js +1 -1
  124. package/dist/versioned-package/styles/tailwind.css.js +1 -1
  125. package/dist/versioned-styles/solid-styles.css +1 -1
  126. package/dist/vscode.html-custom-data.json +224 -26
  127. package/dist/web-types.json +373 -1
  128. 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.25.0",
4
+ "version": "1.27.0",
5
5
  "description-markup": "markdown",
6
6
  "framework-config": {
7
7
  "enable-when": {
@@ -3013,6 +3013,172 @@
3013
3013
  }
3014
3014
  ]
3015
3015
  },
3016
+ {
3017
+ "name": "sd-notification",
3018
+ "description": "",
3019
+ "doc-url": "https://solid.union-investment.com/[storybook-link]/notification",
3020
+ "js": {
3021
+ "properties": [
3022
+ {
3023
+ "name": "autoHideTimeout",
3024
+ "value": {
3025
+ "type": "number"
3026
+ }
3027
+ },
3028
+ {
3029
+ "name": "localize",
3030
+ "value": {}
3031
+ },
3032
+ {
3033
+ "name": "open",
3034
+ "description": "Indicates whether or not sd-notification is open. You can toggle this attribute to show and hide the notification, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the notifications's open state.",
3035
+ "value": {
3036
+ "type": "boolean"
3037
+ }
3038
+ },
3039
+ {
3040
+ "name": "closable",
3041
+ "description": "Enables a close button that allows the user to dismiss the notification.",
3042
+ "value": {
3043
+ "type": "boolean"
3044
+ }
3045
+ },
3046
+ {
3047
+ "name": "variant",
3048
+ "description": "The sd-notification's theme.",
3049
+ "value": {
3050
+ "type": "'info' | 'success' | 'error' | 'warning'"
3051
+ }
3052
+ },
3053
+ {
3054
+ "name": "toastStack",
3055
+ "description": "The position of the toasted sd-notification.",
3056
+ "value": {
3057
+ "type": "'top-right' | 'bottom-center'"
3058
+ }
3059
+ },
3060
+ {
3061
+ "name": "duration",
3062
+ "description": "The length of time, in milliseconds, the sd-notification will show before closing itself. If the user interacts with\nthe notification before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe notification will not close on its own.",
3063
+ "value": {}
3064
+ },
3065
+ {
3066
+ "name": "durationIndicator",
3067
+ "description": "Enables an animation that visualizes the duration of a notification.",
3068
+ "value": {
3069
+ "type": "boolean"
3070
+ }
3071
+ },
3072
+ {
3073
+ "name": "remainingDuration",
3074
+ "value": {}
3075
+ },
3076
+ {
3077
+ "name": "startTime",
3078
+ "value": {}
3079
+ },
3080
+ {
3081
+ "name": "startAutoHide",
3082
+ "value": {}
3083
+ },
3084
+ {
3085
+ "name": "onHover",
3086
+ "value": {}
3087
+ },
3088
+ {
3089
+ "name": "onHoverEnd",
3090
+ "value": {}
3091
+ },
3092
+ {
3093
+ "name": "handleCloseClick",
3094
+ "value": {}
3095
+ },
3096
+ {
3097
+ "name": "handleOpenChange",
3098
+ "value": {}
3099
+ },
3100
+ {
3101
+ "name": "handleDurationChange",
3102
+ "value": {}
3103
+ },
3104
+ {
3105
+ "name": "show",
3106
+ "description": "Shows the notification.",
3107
+ "value": {}
3108
+ },
3109
+ {
3110
+ "name": "hide",
3111
+ "description": "Hides the notification",
3112
+ "value": {}
3113
+ },
3114
+ {
3115
+ "name": "toast",
3116
+ "description": "Displays the notification as a toast notification. This will move the notification out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the notification, you can reuse it by\ncalling this method again. The returned promise will resolve after the notification is hidden.",
3117
+ "value": {}
3118
+ }
3119
+ ],
3120
+ "events": [
3121
+ {
3122
+ "name": "sd-show",
3123
+ "description": "Emitted when the notification opens."
3124
+ },
3125
+ {
3126
+ "name": "sd-after-show",
3127
+ "description": "Emitted after the notification opens and all animations are complete."
3128
+ },
3129
+ {
3130
+ "name": "sd-hide",
3131
+ "description": "Emitted when the notification closes."
3132
+ },
3133
+ {
3134
+ "name": "sd-after-hide",
3135
+ "description": "Emitted after the notification closes and all animations are complete."
3136
+ }
3137
+ ]
3138
+ },
3139
+ "attributes": [
3140
+ {
3141
+ "name": "open",
3142
+ "description": "Indicates whether or not sd-notification is open. You can toggle this attribute to show and hide the notification, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the notifications's open state.",
3143
+ "value": {
3144
+ "type": "boolean"
3145
+ }
3146
+ },
3147
+ {
3148
+ "name": "closable",
3149
+ "description": "Enables a close button that allows the user to dismiss the notification.",
3150
+ "value": {
3151
+ "type": "boolean"
3152
+ }
3153
+ },
3154
+ {
3155
+ "name": "variant",
3156
+ "description": "The sd-notification's theme.",
3157
+ "value": {
3158
+ "type": "'info' | 'success' | 'error' | 'warning'"
3159
+ }
3160
+ },
3161
+ {
3162
+ "name": "toast-stack",
3163
+ "description": "The position of the toasted sd-notification.",
3164
+ "value": {
3165
+ "type": "'top-right' | 'bottom-center'"
3166
+ }
3167
+ },
3168
+ {
3169
+ "name": "duration",
3170
+ "description": "The length of time, in milliseconds, the sd-notification will show before closing itself. If the user interacts with\nthe notification before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe notification will not close on its own.",
3171
+ "value": {}
3172
+ },
3173
+ {
3174
+ "name": "duration-indicator",
3175
+ "description": "Enables an animation that visualizes the duration of a notification.",
3176
+ "value": {
3177
+ "type": "boolean"
3178
+ }
3179
+ }
3180
+ ]
3181
+ },
3016
3182
  {
3017
3183
  "name": "sd-popup",
3018
3184
  "description": "",
@@ -3748,6 +3914,212 @@
3748
3914
  }
3749
3915
  ]
3750
3916
  },
3917
+ {
3918
+ "name": "sd-switch",
3919
+ "description": "",
3920
+ "doc-url": "https://solid.union-investment.com/[storybook-link]/switch",
3921
+ "js": {
3922
+ "properties": [
3923
+ {
3924
+ "name": "formControlController",
3925
+ "value": {}
3926
+ },
3927
+ {
3928
+ "name": "title",
3929
+ "description": "The title of the switch adds a tooltip with title text.",
3930
+ "value": {
3931
+ "type": "string"
3932
+ }
3933
+ },
3934
+ {
3935
+ "name": "name",
3936
+ "description": "The name of the switch, submitted as a name/value pair with form data.",
3937
+ "value": {
3938
+ "type": "string"
3939
+ }
3940
+ },
3941
+ {
3942
+ "name": "value",
3943
+ "description": "The current value of the switch, submitted as a name/value pair with form data.",
3944
+ "value": {
3945
+ "type": "string"
3946
+ }
3947
+ },
3948
+ {
3949
+ "name": "disabled",
3950
+ "description": "Disables the switch.",
3951
+ "value": {
3952
+ "type": "boolean"
3953
+ }
3954
+ },
3955
+ {
3956
+ "name": "checked",
3957
+ "description": "Draws the switch in a checked state.",
3958
+ "value": {
3959
+ "type": "boolean"
3960
+ }
3961
+ },
3962
+ {
3963
+ "name": "defaultChecked",
3964
+ "description": "The default value of the form control. Primarily used for resetting the form control.",
3965
+ "value": {
3966
+ "type": "boolean"
3967
+ }
3968
+ },
3969
+ {
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.",
3972
+ "value": {
3973
+ "type": "string"
3974
+ }
3975
+ },
3976
+ {
3977
+ "name": "required",
3978
+ "description": "Makes the switch a required field.",
3979
+ "value": {
3980
+ "type": "boolean"
3981
+ }
3982
+ },
3983
+ {
3984
+ "name": "validity",
3985
+ "description": "Gets the validity state object",
3986
+ "value": {}
3987
+ },
3988
+ {
3989
+ "name": "handleClick",
3990
+ "value": {}
3991
+ },
3992
+ {
3993
+ "name": "handleBlur",
3994
+ "value": {}
3995
+ },
3996
+ {
3997
+ "name": "handleInput",
3998
+ "value": {}
3999
+ },
4000
+ {
4001
+ "name": "handleInvalid",
4002
+ "value": {}
4003
+ },
4004
+ {
4005
+ "name": "handleFocus",
4006
+ "value": {}
4007
+ },
4008
+ {
4009
+ "name": "handleDisabledChange",
4010
+ "value": {}
4011
+ },
4012
+ {
4013
+ "name": "handleStateChange",
4014
+ "value": {}
4015
+ },
4016
+ {
4017
+ "name": "click",
4018
+ "description": "Simulates a click on the switch.",
4019
+ "value": {}
4020
+ },
4021
+ {
4022
+ "name": "focus",
4023
+ "description": "Sets focus on the switch.",
4024
+ "value": {}
4025
+ },
4026
+ {
4027
+ "name": "blur",
4028
+ "description": "Removes focus from the switch.",
4029
+ "value": {}
4030
+ },
4031
+ {
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": {}
4035
+ },
4036
+ {
4037
+ "name": "getForm",
4038
+ "description": "Gets the associated form, if one exists.",
4039
+ "value": {}
4040
+ },
4041
+ {
4042
+ "name": "reportValidity",
4043
+ "description": "Checks for validity and shows a validation message if the control is invalid.",
4044
+ "value": {}
4045
+ },
4046
+ {
4047
+ "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.",
4049
+ "value": {}
4050
+ }
4051
+ ],
4052
+ "events": [
4053
+ {
4054
+ "name": "sd-blur",
4055
+ "description": "Emitted when the switch loses focus."
4056
+ },
4057
+ {
4058
+ "name": "sd-change",
4059
+ "description": "Emitted when the checked state changes."
4060
+ },
4061
+ {
4062
+ "name": "sd-focus",
4063
+ "description": "Emitted when the switch gains focus."
4064
+ },
4065
+ {
4066
+ "name": "sd-input",
4067
+ "description": "Emitted when the switch receives input."
4068
+ }
4069
+ ]
4070
+ },
4071
+ "attributes": [
4072
+ {
4073
+ "name": "title",
4074
+ "description": "The title of the switch adds a tooltip with title text.",
4075
+ "value": {
4076
+ "type": "string"
4077
+ }
4078
+ },
4079
+ {
4080
+ "name": "name",
4081
+ "description": "The name of the switch, submitted as a name/value pair with form data.",
4082
+ "value": {
4083
+ "type": "string"
4084
+ }
4085
+ },
4086
+ {
4087
+ "name": "value",
4088
+ "description": "The current value of the switch, submitted as a name/value pair with form data.",
4089
+ "value": {
4090
+ "type": "string"
4091
+ }
4092
+ },
4093
+ {
4094
+ "name": "disabled",
4095
+ "description": "Disables the switch.",
4096
+ "value": {
4097
+ "type": "boolean"
4098
+ }
4099
+ },
4100
+ {
4101
+ "name": "checked",
4102
+ "description": "Draws the switch in a checked state.",
4103
+ "value": {
4104
+ "type": "boolean"
4105
+ }
4106
+ },
4107
+ {
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.",
4110
+ "value": {
4111
+ "type": "string"
4112
+ }
4113
+ },
4114
+ {
4115
+ "name": "required",
4116
+ "description": "Makes the switch a required field.",
4117
+ "value": {
4118
+ "type": "boolean"
4119
+ }
4120
+ }
4121
+ ]
4122
+ },
3751
4123
  {
3752
4124
  "name": "sd-tag",
3753
4125
  "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.25.0",
4
+ "version": "1.27.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": 204,
188
- "gzip": 53
187
+ "uncompressed": 217,
188
+ "gzip": 55
189
189
  }
190
190
  }
191
191
  }