Breaking: Move $$restProps in Select to <select>.

This aligns the component with others like `TextInput`, `NumberInput` or `TextArea` and allows adding not explicitly defined attributes to the "main" element of the component.

Other changes are from formatting by `lint` task.
(Prettier removes manual line breaks via `  ` from JSDoc strings; turned that into paragraph in `Header`.)
This commit is contained in:
brunnerh 2023-09-03 12:28:37 +02:00
commit 93961b106b
8 changed files with 21 additions and 15 deletions

View file

@ -30,6 +30,7 @@ export interface HeaderProps extends RestProps {
/**
* Specify the company name.
*
* Alternatively, use the named slot "company" (e.g., `<span slot="company">...</span>`)
* @default undefined
*/
@ -37,6 +38,7 @@ export interface HeaderProps extends RestProps {
/**
* Specify the platform name.
*
* Alternatively, use the named slot "platform" (e.g., `<span slot="platform">...</span>`)
* @default ""
*/