@utrecht/component-library-react 3.0.1-alpha.25 → 3.0.1-alpha.27
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/.jest-test-results.json +1 -1
- package/dist/Combobox.d.ts +7 -3
- package/dist/Listbox.d.ts +10 -4
- package/dist/TableContainer.d.ts +11 -0
- package/dist/css-module/Combobox.d.ts +7 -3
- package/dist/css-module/Listbox.d.ts +10 -4
- package/dist/css-module/TableContainer.d.ts +11 -0
- package/dist/css-module/css-module/TableContainer.d.ts +6 -0
- package/dist/css-module/css-module/index.d.ts +2 -0
- package/dist/css-module/index.d.ts +2 -0
- package/dist/css-module/index.js +449 -416
- package/dist/css-module/index.js.map +1 -1
- package/dist/css-module/index.mjs +449 -417
- package/dist/css-module/index.mjs.map +1 -1
- package/dist/index.cjs.js +448 -415
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +448 -416
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/Combobox.d.ts
CHANGED
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
* @license EUPL-1.2
|
|
3
3
|
* Copyright (c) 2023 Robbert Broersma
|
|
4
4
|
*/
|
|
5
|
-
import { HTMLAttributes
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
6
|
export type ComboboxProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
-
export declare const Combobox:
|
|
7
|
+
export declare const Combobox: import("react").ForwardRefExoticComponent<ComboboxProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
10
|
export interface ComboboxPopoverProps extends HTMLAttributes<HTMLDivElement> {
|
|
9
11
|
position?: string | 'block-end' | 'block-start';
|
|
10
12
|
}
|
|
11
|
-
export declare const ComboboxPopover:
|
|
13
|
+
export declare const ComboboxPopover: import("react").ForwardRefExoticComponent<ComboboxPopoverProps & {
|
|
14
|
+
children?: import("react").ReactNode;
|
|
15
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
package/dist/Listbox.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license EUPL-1.2
|
|
3
3
|
* Copyright (c) 2023 Robbert Broersma
|
|
4
4
|
*/
|
|
5
|
-
import { HTMLAttributes, LiHTMLAttributes,
|
|
5
|
+
import { HTMLAttributes, LiHTMLAttributes, ReactNode } from 'react';
|
|
6
6
|
export interface ListboxProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
invalid?: boolean;
|
|
@@ -10,14 +10,20 @@ export interface ListboxProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
10
10
|
readOnly?: boolean;
|
|
11
11
|
required?: boolean;
|
|
12
12
|
}
|
|
13
|
-
export declare const Listbox:
|
|
13
|
+
export declare const Listbox: import("react").ForwardRefExoticComponent<ListboxProps & {
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
16
|
export interface ListboxOptionGroupProps extends LiHTMLAttributes<HTMLLIElement> {
|
|
15
17
|
label?: ReactNode;
|
|
16
18
|
}
|
|
17
|
-
export declare const ListboxOptionGroup:
|
|
19
|
+
export declare const ListboxOptionGroup: import("react").ForwardRefExoticComponent<ListboxOptionGroupProps & {
|
|
20
|
+
children?: ReactNode;
|
|
21
|
+
} & import("react").RefAttributes<HTMLLIElement>>;
|
|
18
22
|
export interface ListboxOptionProps extends HTMLAttributes<HTMLLIElement> {
|
|
19
23
|
active?: boolean;
|
|
20
24
|
disabled?: boolean;
|
|
21
25
|
selected?: boolean;
|
|
22
26
|
}
|
|
23
|
-
export declare const ListboxOption:
|
|
27
|
+
export declare const ListboxOption: import("react").ForwardRefExoticComponent<ListboxOptionProps & {
|
|
28
|
+
children?: ReactNode;
|
|
29
|
+
} & import("react").RefAttributes<HTMLLIElement>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export interface TableContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
overflowInline?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const TableContainer: import("react").ForwardRefExoticComponent<TableContainerProps & {
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
* @license EUPL-1.2
|
|
3
3
|
* Copyright (c) 2023 Robbert Broersma
|
|
4
4
|
*/
|
|
5
|
-
import { HTMLAttributes
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
6
|
export type ComboboxProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
-
export declare const Combobox:
|
|
7
|
+
export declare const Combobox: import("react").ForwardRefExoticComponent<ComboboxProps & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
10
|
export interface ComboboxPopoverProps extends HTMLAttributes<HTMLDivElement> {
|
|
9
11
|
position?: string | 'block-end' | 'block-start';
|
|
10
12
|
}
|
|
11
|
-
export declare const ComboboxPopover:
|
|
13
|
+
export declare const ComboboxPopover: import("react").ForwardRefExoticComponent<ComboboxPopoverProps & {
|
|
14
|
+
children?: import("react").ReactNode;
|
|
15
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license EUPL-1.2
|
|
3
3
|
* Copyright (c) 2023 Robbert Broersma
|
|
4
4
|
*/
|
|
5
|
-
import { HTMLAttributes, LiHTMLAttributes,
|
|
5
|
+
import { HTMLAttributes, LiHTMLAttributes, ReactNode } from 'react';
|
|
6
6
|
export interface ListboxProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
invalid?: boolean;
|
|
@@ -10,14 +10,20 @@ export interface ListboxProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
10
10
|
readOnly?: boolean;
|
|
11
11
|
required?: boolean;
|
|
12
12
|
}
|
|
13
|
-
export declare const Listbox:
|
|
13
|
+
export declare const Listbox: import("react").ForwardRefExoticComponent<ListboxProps & {
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
16
|
export interface ListboxOptionGroupProps extends LiHTMLAttributes<HTMLLIElement> {
|
|
15
17
|
label?: ReactNode;
|
|
16
18
|
}
|
|
17
|
-
export declare const ListboxOptionGroup:
|
|
19
|
+
export declare const ListboxOptionGroup: import("react").ForwardRefExoticComponent<ListboxOptionGroupProps & {
|
|
20
|
+
children?: ReactNode;
|
|
21
|
+
} & import("react").RefAttributes<HTMLLIElement>>;
|
|
18
22
|
export interface ListboxOptionProps extends HTMLAttributes<HTMLLIElement> {
|
|
19
23
|
active?: boolean;
|
|
20
24
|
disabled?: boolean;
|
|
21
25
|
selected?: boolean;
|
|
22
26
|
}
|
|
23
|
-
export declare const ListboxOption:
|
|
27
|
+
export declare const ListboxOption: import("react").ForwardRefExoticComponent<ListboxOptionProps & {
|
|
28
|
+
children?: ReactNode;
|
|
29
|
+
} & import("react").RefAttributes<HTMLLIElement>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2022 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { HTMLAttributes } from 'react';
|
|
6
|
+
export interface TableContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
overflowInline?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const TableContainer: import("react").ForwardRefExoticComponent<TableContainerProps & {
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -153,6 +153,8 @@ export type { StrongProps } from '../Strong';
|
|
|
153
153
|
export { Strong } from './Strong';
|
|
154
154
|
export type { SurfaceProps } from '../Surface';
|
|
155
155
|
export { Surface } from './Surface';
|
|
156
|
+
export type { TableContainerProps } from '../TableContainer';
|
|
157
|
+
export { TableContainer } from '../TableContainer';
|
|
156
158
|
export type { TableProps } from '../Table';
|
|
157
159
|
export { Table } from './Table';
|
|
158
160
|
export type { TableBodyProps } from '../TableBody';
|
|
@@ -154,6 +154,8 @@ export type { StrongProps } from './Strong';
|
|
|
154
154
|
export { Strong } from './Strong';
|
|
155
155
|
export type { SurfaceProps } from './Surface';
|
|
156
156
|
export { Surface } from './Surface';
|
|
157
|
+
export type { TableContainerProps } from './TableContainer';
|
|
158
|
+
export { TableContainer } from './TableContainer';
|
|
157
159
|
export type { TableProps } from './Table';
|
|
158
160
|
export { Table } from './Table';
|
|
159
161
|
export type { TableBodyProps } from './TableBody';
|