@postenbring/hedwig-react 0.0.11 → 0.0.12
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/box/box.d.mts +1 -1
- package/dist/box/box.d.ts +1 -1
- package/dist/list/description-list.d.mts +2 -2
- package/dist/list/description-list.d.ts +2 -2
- package/dist/list/link-list.d.mts +1 -1
- package/dist/list/link-list.d.ts +1 -1
- package/dist/list/list.d.mts +1 -1
- package/dist/list/list.d.ts +1 -1
- package/package.json +1 -1
package/dist/box/box.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { O as OverridableComponent } from '../utils-BfZsjuFH.mjs';
|
|
|
3
3
|
|
|
4
4
|
interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
variant?: "light-grey" | "lighter" | "white" | "warning";
|
|
6
|
-
children
|
|
6
|
+
children?: React.ReactNode;
|
|
7
7
|
/**
|
|
8
8
|
* If `true`, a close button will be shown.
|
|
9
9
|
* Use when you want to control the close button using the BoxCloseButton component.
|
package/dist/box/box.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { O as OverridableComponent } from '../utils-BfZsjuFH.js';
|
|
|
3
3
|
|
|
4
4
|
interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
variant?: "light-grey" | "lighter" | "white" | "warning";
|
|
6
|
-
children
|
|
6
|
+
children?: React.ReactNode;
|
|
7
7
|
/**
|
|
8
8
|
* If `true`, a close button will be shown.
|
|
9
9
|
* Use when you want to control the close button using the BoxCloseButton component.
|
|
@@ -4,13 +4,13 @@ import { HTMLAttributes, ReactNode } from 'react';
|
|
|
4
4
|
type DescriptionDetailsProps = DLDTProps;
|
|
5
5
|
type DescriptionTermProps = DLDTProps;
|
|
6
6
|
interface DLDTProps extends HTMLAttributes<HTMLBaseElement> {
|
|
7
|
-
children
|
|
7
|
+
children?: ReactNode;
|
|
8
8
|
}
|
|
9
9
|
interface DescriptionListProps extends HTMLAttributes<HTMLDListElement> {
|
|
10
10
|
/**
|
|
11
11
|
* Either `DescriptionDetails` or `DescriptionTerm` elements
|
|
12
12
|
*/
|
|
13
|
-
children
|
|
13
|
+
children?: ReactNode;
|
|
14
14
|
/**
|
|
15
15
|
* Direction of the description list
|
|
16
16
|
*/
|
|
@@ -4,13 +4,13 @@ import { HTMLAttributes, ReactNode } from 'react';
|
|
|
4
4
|
type DescriptionDetailsProps = DLDTProps;
|
|
5
5
|
type DescriptionTermProps = DLDTProps;
|
|
6
6
|
interface DLDTProps extends HTMLAttributes<HTMLBaseElement> {
|
|
7
|
-
children
|
|
7
|
+
children?: ReactNode;
|
|
8
8
|
}
|
|
9
9
|
interface DescriptionListProps extends HTMLAttributes<HTMLDListElement> {
|
|
10
10
|
/**
|
|
11
11
|
* Either `DescriptionDetails` or `DescriptionTerm` elements
|
|
12
12
|
*/
|
|
13
|
-
children
|
|
13
|
+
children?: ReactNode;
|
|
14
14
|
/**
|
|
15
15
|
* Direction of the description list
|
|
16
16
|
*/
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { ListProps } from './list.mjs';
|
|
4
4
|
|
|
5
5
|
interface LinkListProps extends Omit<ListProps, "listStyle"> {
|
|
6
|
-
children
|
|
6
|
+
children?: React.ReactElement<HTMLLIElement> | React.ReactElement<HTMLLIElement>[];
|
|
7
7
|
}
|
|
8
8
|
declare function LinkList(props: LinkListProps): react_jsx_runtime.JSX.Element;
|
|
9
9
|
declare namespace LinkList {
|
package/dist/list/link-list.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { ListProps } from './list.js';
|
|
4
4
|
|
|
5
5
|
interface LinkListProps extends Omit<ListProps, "listStyle"> {
|
|
6
|
-
children
|
|
6
|
+
children?: React.ReactElement<HTMLLIElement> | React.ReactElement<HTMLLIElement>[];
|
|
7
7
|
}
|
|
8
8
|
declare function LinkList(props: LinkListProps): react_jsx_runtime.JSX.Element;
|
|
9
9
|
declare namespace LinkList {
|
package/dist/list/list.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { HTMLAttributes } from 'react';
|
|
4
4
|
|
|
5
5
|
interface ListProps extends HTMLAttributes<HTMLOListElement | HTMLUListElement> {
|
|
6
|
-
children
|
|
6
|
+
children?: React.ReactElement<HTMLLIElement> | React.ReactElement<HTMLLIElement>[];
|
|
7
7
|
/**
|
|
8
8
|
* Inherit list styles or do not show these
|
|
9
9
|
*/
|
package/dist/list/list.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { HTMLAttributes } from 'react';
|
|
4
4
|
|
|
5
5
|
interface ListProps extends HTMLAttributes<HTMLOListElement | HTMLUListElement> {
|
|
6
|
-
children
|
|
6
|
+
children?: React.ReactElement<HTMLLIElement> | React.ReactElement<HTMLLIElement>[];
|
|
7
7
|
/**
|
|
8
8
|
* Inherit list styles or do not show these
|
|
9
9
|
*/
|