@itwin/itwinui-react 3.19.0 → 3.19.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/CHANGELOG.md +8 -0
- package/DEV-cjs/styles.js +1 -1
- package/DEV-esm/styles.js +1 -1
- package/cjs/core/Buttons/IconButton.d.ts +1 -1
- package/cjs/core/Carousel/Carousel.d.ts +4 -4
- package/cjs/core/Carousel/CarouselNavigation.d.ts +4 -4
- package/cjs/core/InputWithDecorations/InputWithDecorations.d.ts +1 -1
- package/cjs/core/Tile/Tile.d.ts +2 -2
- package/cjs/core/TransferList/TransferList.d.ts +7 -5
- package/cjs/styles.js +1 -1
- package/esm/core/Buttons/IconButton.d.ts +1 -1
- package/esm/core/Carousel/Carousel.d.ts +4 -4
- package/esm/core/Carousel/CarouselNavigation.d.ts +4 -4
- package/esm/core/InputWithDecorations/InputWithDecorations.d.ts +1 -1
- package/esm/core/Tile/Tile.d.ts +2 -2
- package/esm/core/TransferList/TransferList.d.ts +7 -5
- package/esm/styles.js +1 -1
- package/package.json +1 -1
- package/styles.css +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.19.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2590](https://github.com/iTwin/iTwinUI/pull/2590): Fix draggable `Dialog` to also work properly on touch devices.
|
|
8
|
+
- [#2596](https://github.com/iTwin/iTwinUI/pull/2596): Fixed `TransferList.Item` to now properly handle long strings.
|
|
9
|
+
- [#2589](https://github.com/iTwin/iTwinUI/pull/2589): Removed the accidentally added `stretched` prop from `IconButton`.
|
|
10
|
+
|
|
3
11
|
## 3.19.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/DEV-cjs/styles.js
CHANGED
package/DEV-esm/styles.js
CHANGED
|
@@ -25,7 +25,7 @@ export type IconButtonProps = {
|
|
|
25
25
|
* @deprecated Use `label` instead.
|
|
26
26
|
*/
|
|
27
27
|
title?: string;
|
|
28
|
-
} & Omit<ButtonProps, 'startIcon' | 'endIcon' | 'startIconProps' | 'endIconProps' | 'labelProps' | 'loading'>;
|
|
28
|
+
} & Omit<ButtonProps, 'startIcon' | 'endIcon' | 'startIconProps' | 'endIconProps' | 'labelProps' | 'loading' | 'stretched'>;
|
|
29
29
|
/**
|
|
30
30
|
* Icon button
|
|
31
31
|
* @example
|
|
@@ -40,22 +40,22 @@ export declare const Carousel: PolymorphicForwardRefComponent<"section", Carouse
|
|
|
40
40
|
* Contains the dots and previous/next buttons for navigating the slides. Must be present _before_ the slides in DOM.
|
|
41
41
|
*/
|
|
42
42
|
Navigation: PolymorphicForwardRefComponent<"div", {}> & {
|
|
43
|
-
PreviousButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "
|
|
43
|
+
PreviousButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
44
44
|
isActive?: boolean;
|
|
45
45
|
label?: React.ReactNode;
|
|
46
46
|
labelProps?: Omit<React.ComponentPropsWithoutRef<typeof import("../Tooltip/Tooltip.js").Tooltip>, "content" | "reference" | "ariaStrategy" | "children">;
|
|
47
47
|
iconProps?: React.ComponentProps<"span">;
|
|
48
48
|
title?: string;
|
|
49
|
-
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
|
|
49
|
+
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched"> & {
|
|
50
50
|
as?: "button" | undefined;
|
|
51
51
|
}>;
|
|
52
|
-
NextButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "
|
|
52
|
+
NextButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
53
53
|
isActive?: boolean;
|
|
54
54
|
label?: React.ReactNode;
|
|
55
55
|
labelProps?: Omit<React.ComponentPropsWithoutRef<typeof import("../Tooltip/Tooltip.js").Tooltip>, "content" | "reference" | "ariaStrategy" | "children">;
|
|
56
56
|
iconProps?: React.ComponentProps<"span">;
|
|
57
57
|
title?: string;
|
|
58
|
-
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
|
|
58
|
+
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched"> & {
|
|
59
59
|
as?: "button" | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
};
|
|
@@ -7,22 +7,22 @@ import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
|
7
7
|
* `children` can be specified to override what is shown in this navigation section.
|
|
8
8
|
*/
|
|
9
9
|
export declare const CarouselNavigation: PolymorphicForwardRefComponent<"div", {}> & {
|
|
10
|
-
PreviousButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "
|
|
10
|
+
PreviousButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
11
11
|
isActive?: boolean;
|
|
12
12
|
label?: React.ReactNode;
|
|
13
13
|
labelProps?: Omit<React.ComponentPropsWithoutRef<typeof import("../Tooltip/Tooltip.js").Tooltip>, "content" | "reference" | "ariaStrategy" | "children">;
|
|
14
14
|
iconProps?: React.ComponentProps<"span">;
|
|
15
15
|
title?: string;
|
|
16
|
-
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
|
|
16
|
+
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched"> & {
|
|
17
17
|
as?: "button" | undefined;
|
|
18
18
|
}>;
|
|
19
|
-
NextButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "
|
|
19
|
+
NextButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
20
20
|
isActive?: boolean;
|
|
21
21
|
label?: React.ReactNode;
|
|
22
22
|
labelProps?: Omit<React.ComponentPropsWithoutRef<typeof import("../Tooltip/Tooltip.js").Tooltip>, "content" | "reference" | "ariaStrategy" | "children">;
|
|
23
23
|
iconProps?: React.ComponentProps<"span">;
|
|
24
24
|
title?: string;
|
|
25
|
-
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
|
|
25
|
+
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched"> & {
|
|
26
26
|
as?: "button" | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
};
|
|
@@ -28,7 +28,7 @@ export declare const InputWithDecorations: PolymorphicForwardRefComponent<"div",
|
|
|
28
28
|
* Although similar to `IconButton`, this subcomponent additionally collapses the padding between the button and the input/textarea
|
|
29
29
|
* in `InputWithDecorations`.
|
|
30
30
|
*/
|
|
31
|
-
Button: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "
|
|
31
|
+
Button: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & Omit<import("../Buttons/IconButton.js").IconButtonProps, "styleType"> & {
|
|
32
32
|
styleType?: import("../Buttons/IconButton.js").IconButtonProps["styleType"];
|
|
33
33
|
} & {
|
|
34
34
|
as?: "button" | undefined;
|
package/cjs/core/Tile/Tile.d.ts
CHANGED
|
@@ -247,13 +247,13 @@ export declare const Tile: PolymorphicForwardRefComponent<"div", TileLegacyProps
|
|
|
247
247
|
/**
|
|
248
248
|
* `IconButton` subcomponent: custom icon for `QuickAction` and `TypeIndicator` buttons.
|
|
249
249
|
*/
|
|
250
|
-
IconButton: PolymorphicForwardRefComponent<"button", Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "
|
|
250
|
+
IconButton: PolymorphicForwardRefComponent<"button", Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
251
251
|
isActive?: boolean;
|
|
252
252
|
label?: React.ReactNode;
|
|
253
253
|
labelProps?: Omit<React.ComponentPropsWithoutRef<typeof import("../Tooltip/Tooltip.js").Tooltip>, "content" | "reference" | "ariaStrategy" | "children">;
|
|
254
254
|
iconProps?: React.ComponentProps<"span">;
|
|
255
255
|
title?: string;
|
|
256
|
-
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
|
|
256
|
+
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched"> & {
|
|
257
257
|
as?: "button" | undefined;
|
|
258
258
|
}, "ref">>;
|
|
259
259
|
/**
|
|
@@ -32,25 +32,27 @@ type TransferListListboxLabelOwnProps = {
|
|
|
32
32
|
*/
|
|
33
33
|
export declare const TransferList: PolymorphicForwardRefComponent<"div", {}> & {
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* TransferList listbox wrapper subcomponent
|
|
36
36
|
*/
|
|
37
37
|
ListboxWrapper: PolymorphicForwardRefComponent<"div", TransferListListboxWrapperOwnProps>;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* TransferList listbox subcomponent
|
|
40
40
|
*/
|
|
41
41
|
Listbox: PolymorphicForwardRefComponent<"ul", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "as"> & {
|
|
42
42
|
as?: "div" | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* TransferList item subcomponent.
|
|
46
|
+
*
|
|
47
|
+
* Renders a `ListItem` and is compatible with `ListItem`'s [subcomponents](https://itwinui.bentley.com/docs/list#with-subcomponents).
|
|
46
48
|
*/
|
|
47
49
|
Item: PolymorphicForwardRefComponent<"li", TransferListItemOwnProps>;
|
|
48
50
|
/**
|
|
49
|
-
*
|
|
51
|
+
* TransferList listbox label subcomponent
|
|
50
52
|
*/
|
|
51
53
|
ListboxLabel: PolymorphicForwardRefComponent<"div", TransferListListboxLabelOwnProps>;
|
|
52
54
|
/**
|
|
53
|
-
*
|
|
55
|
+
* TransferList toolbar subcomponent
|
|
54
56
|
*/
|
|
55
57
|
Toolbar: PolymorphicForwardRefComponent<"div", object>;
|
|
56
58
|
};
|
package/cjs/styles.js
CHANGED
|
@@ -25,7 +25,7 @@ export type IconButtonProps = {
|
|
|
25
25
|
* @deprecated Use `label` instead.
|
|
26
26
|
*/
|
|
27
27
|
title?: string;
|
|
28
|
-
} & Omit<ButtonProps, 'startIcon' | 'endIcon' | 'startIconProps' | 'endIconProps' | 'labelProps' | 'loading'>;
|
|
28
|
+
} & Omit<ButtonProps, 'startIcon' | 'endIcon' | 'startIconProps' | 'endIconProps' | 'labelProps' | 'loading' | 'stretched'>;
|
|
29
29
|
/**
|
|
30
30
|
* Icon button
|
|
31
31
|
* @example
|
|
@@ -40,22 +40,22 @@ export declare const Carousel: PolymorphicForwardRefComponent<"section", Carouse
|
|
|
40
40
|
* Contains the dots and previous/next buttons for navigating the slides. Must be present _before_ the slides in DOM.
|
|
41
41
|
*/
|
|
42
42
|
Navigation: PolymorphicForwardRefComponent<"div", {}> & {
|
|
43
|
-
PreviousButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "
|
|
43
|
+
PreviousButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
44
44
|
isActive?: boolean;
|
|
45
45
|
label?: React.ReactNode;
|
|
46
46
|
labelProps?: Omit<React.ComponentPropsWithoutRef<typeof import("../Tooltip/Tooltip.js").Tooltip>, "content" | "reference" | "ariaStrategy" | "children">;
|
|
47
47
|
iconProps?: React.ComponentProps<"span">;
|
|
48
48
|
title?: string;
|
|
49
|
-
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
|
|
49
|
+
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched"> & {
|
|
50
50
|
as?: "button" | undefined;
|
|
51
51
|
}>;
|
|
52
|
-
NextButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "
|
|
52
|
+
NextButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
53
53
|
isActive?: boolean;
|
|
54
54
|
label?: React.ReactNode;
|
|
55
55
|
labelProps?: Omit<React.ComponentPropsWithoutRef<typeof import("../Tooltip/Tooltip.js").Tooltip>, "content" | "reference" | "ariaStrategy" | "children">;
|
|
56
56
|
iconProps?: React.ComponentProps<"span">;
|
|
57
57
|
title?: string;
|
|
58
|
-
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
|
|
58
|
+
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched"> & {
|
|
59
59
|
as?: "button" | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
};
|
|
@@ -7,22 +7,22 @@ import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
|
7
7
|
* `children` can be specified to override what is shown in this navigation section.
|
|
8
8
|
*/
|
|
9
9
|
export declare const CarouselNavigation: PolymorphicForwardRefComponent<"div", {}> & {
|
|
10
|
-
PreviousButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "
|
|
10
|
+
PreviousButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
11
11
|
isActive?: boolean;
|
|
12
12
|
label?: React.ReactNode;
|
|
13
13
|
labelProps?: Omit<React.ComponentPropsWithoutRef<typeof import("../Tooltip/Tooltip.js").Tooltip>, "content" | "reference" | "ariaStrategy" | "children">;
|
|
14
14
|
iconProps?: React.ComponentProps<"span">;
|
|
15
15
|
title?: string;
|
|
16
|
-
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
|
|
16
|
+
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched"> & {
|
|
17
17
|
as?: "button" | undefined;
|
|
18
18
|
}>;
|
|
19
|
-
NextButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "
|
|
19
|
+
NextButton: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
20
20
|
isActive?: boolean;
|
|
21
21
|
label?: React.ReactNode;
|
|
22
22
|
labelProps?: Omit<React.ComponentPropsWithoutRef<typeof import("../Tooltip/Tooltip.js").Tooltip>, "content" | "reference" | "ariaStrategy" | "children">;
|
|
23
23
|
iconProps?: React.ComponentProps<"span">;
|
|
24
24
|
title?: string;
|
|
25
|
-
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
|
|
25
|
+
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched"> & {
|
|
26
26
|
as?: "button" | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
};
|
|
@@ -28,7 +28,7 @@ export declare const InputWithDecorations: PolymorphicForwardRefComponent<"div",
|
|
|
28
28
|
* Although similar to `IconButton`, this subcomponent additionally collapses the padding between the button and the input/textarea
|
|
29
29
|
* in `InputWithDecorations`.
|
|
30
30
|
*/
|
|
31
|
-
Button: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "
|
|
31
|
+
Button: PolymorphicForwardRefComponent<"button", Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & Omit<import("../Buttons/IconButton.js").IconButtonProps, "styleType"> & {
|
|
32
32
|
styleType?: import("../Buttons/IconButton.js").IconButtonProps["styleType"];
|
|
33
33
|
} & {
|
|
34
34
|
as?: "button" | undefined;
|
package/esm/core/Tile/Tile.d.ts
CHANGED
|
@@ -247,13 +247,13 @@ export declare const Tile: PolymorphicForwardRefComponent<"div", TileLegacyProps
|
|
|
247
247
|
/**
|
|
248
248
|
* `IconButton` subcomponent: custom icon for `QuickAction` and `TypeIndicator` buttons.
|
|
249
249
|
*/
|
|
250
|
-
IconButton: PolymorphicForwardRefComponent<"button", Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "
|
|
250
|
+
IconButton: PolymorphicForwardRefComponent<"button", Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "title" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
251
251
|
isActive?: boolean;
|
|
252
252
|
label?: React.ReactNode;
|
|
253
253
|
labelProps?: Omit<React.ComponentPropsWithoutRef<typeof import("../Tooltip/Tooltip.js").Tooltip>, "content" | "reference" | "ariaStrategy" | "children">;
|
|
254
254
|
iconProps?: React.ComponentProps<"span">;
|
|
255
255
|
title?: string;
|
|
256
|
-
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
|
|
256
|
+
} & Omit<import("../Buttons/Button.js").ButtonProps, "loading" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched"> & {
|
|
257
257
|
as?: "button" | undefined;
|
|
258
258
|
}, "ref">>;
|
|
259
259
|
/**
|
|
@@ -32,25 +32,27 @@ type TransferListListboxLabelOwnProps = {
|
|
|
32
32
|
*/
|
|
33
33
|
export declare const TransferList: PolymorphicForwardRefComponent<"div", {}> & {
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* TransferList listbox wrapper subcomponent
|
|
36
36
|
*/
|
|
37
37
|
ListboxWrapper: PolymorphicForwardRefComponent<"div", TransferListListboxWrapperOwnProps>;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* TransferList listbox subcomponent
|
|
40
40
|
*/
|
|
41
41
|
Listbox: PolymorphicForwardRefComponent<"ul", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "as"> & {
|
|
42
42
|
as?: "div" | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* TransferList item subcomponent.
|
|
46
|
+
*
|
|
47
|
+
* Renders a `ListItem` and is compatible with `ListItem`'s [subcomponents](https://itwinui.bentley.com/docs/list#with-subcomponents).
|
|
46
48
|
*/
|
|
47
49
|
Item: PolymorphicForwardRefComponent<"li", TransferListItemOwnProps>;
|
|
48
50
|
/**
|
|
49
|
-
*
|
|
51
|
+
* TransferList listbox label subcomponent
|
|
50
52
|
*/
|
|
51
53
|
ListboxLabel: PolymorphicForwardRefComponent<"div", TransferListListboxLabelOwnProps>;
|
|
52
54
|
/**
|
|
53
|
-
*
|
|
55
|
+
* TransferList toolbar subcomponent
|
|
54
56
|
*/
|
|
55
57
|
Toolbar: PolymorphicForwardRefComponent<"div", object>;
|
|
56
58
|
};
|
package/esm/styles.js
CHANGED