@rijkshuisstijl-community/web-components 1.0.1 → 1.1.1

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/index.d.ts CHANGED
@@ -213,3 +213,31 @@ export declare class LinkWebComponent extends BaseWebComponent {
213
213
  export declare type LinkWebComponentAttributes = LinkProps;
214
214
 
215
215
  export { }
216
+
217
+
218
+ declare global {
219
+ namespace JSX {
220
+ type WebComponentAttributes<T> = DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> & T;
221
+ interface IntrinsicElements {
222
+ 'rhc-accordion': WebComponentAttributes<AccordionWebComponentAttributes>;
223
+ 'rhc-action-group': WebComponentAttributes<ActionGroupWebComponentAttributes>;
224
+ 'rhc-alert': WebComponentAttributes<AlertWebComponentAttributes>;
225
+ 'rhc-article': WebComponentAttributes<ArticleWebComponentAttributes>;
226
+ 'rhc-blockquote': WebComponentAttributes<BlockquoteWebComponentAttributes>;
227
+ 'rhc-breadcrumb-nav': WebComponentAttributes<BreadcrumbNavWebComponentAttributes>;
228
+ 'rhc-button': WebComponentAttributes<ButtonWebComponentAttributes>;
229
+ 'rhc-card': WebComponentAttributes<CardWebComponentAttributes>;
230
+ 'rhc-checkbox-group': WebComponentAttributes<CheckboxGroupWebComponentAttributes>;
231
+ 'rhc-checkbox': WebComponentAttributes<CheckboxWebComponentAttributes>;
232
+ 'rhc-form-checkbox-group': WebComponentAttributes<FormFieldCheckboxGroupAttributes>;
233
+ 'rhc-form-checkbox': WebComponentAttributes<FormFieldCheckboxOptionAttributes>;
234
+ 'rhc-form-radio': WebComponentAttributes<FormFieldRadioAttributes>;
235
+ 'rhc-form-radio-group': WebComponentAttributes<FormFieldRadioGroupAttributes>;
236
+ 'rhc-form-select': WebComponentAttributes<FormFieldSelectAttributes>;
237
+ 'rhc-form-textinput': WebComponentAttributes<FormFieldTextInputAttributes>;
238
+ 'rhc-form-textarea': WebComponentAttributes<FormFieldTextareaAttributes>;
239
+ 'rhc-hero': WebComponentAttributes<HeroWebComponentAttributes>;
240
+ 'rhc-icon': WebComponentAttributes<IconWebComponentAttributes>;
241
+ }
242
+ }
243
+ }