@amboss/design-system 0.25.8 → 0.25.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/CHANGELOG.md +66 -0
- package/build/index.js +3 -3
- package/build/index.js.map +1 -1
- package/build/src/components/Icon/Icon.d.ts +3 -1
- package/build/src/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -9,10 +9,12 @@ export declare type IconProps = {
|
|
|
9
9
|
name: IconName;
|
|
10
10
|
/** set to true to make the icon hoverable, pass a parent's ref to make the icon match the parent hover */
|
|
11
11
|
hoverable?: boolean | React.MutableRefObject<any>;
|
|
12
|
+
/** set to true to have an inline icon wrapped in a span instead of div */
|
|
13
|
+
inline?: boolean;
|
|
12
14
|
/** Icon color can inherit parent style or can be primary, secondary and tertiary. */
|
|
13
15
|
variant?: IconsVariations;
|
|
14
16
|
size?: "s" | "m" | "l";
|
|
15
17
|
"data-e2e-test-id"?: string;
|
|
16
18
|
"data-testid"?: string;
|
|
17
19
|
};
|
|
18
|
-
export declare const Icon: ({ name, hoverable, size, variant, "data-e2e-test-id": dataE2eTestId, "data-testid": dataTestId, }: IconProps) => React.ReactElement;
|
|
20
|
+
export declare const Icon: ({ name, hoverable, inline, size, variant, "data-e2e-test-id": dataE2eTestId, "data-testid": dataTestId, }: IconProps) => React.ReactElement;
|
package/build/src/index.d.ts
CHANGED
|
@@ -27,3 +27,5 @@ export { RadioButton } from "./components/Form/RadioButton/RadioButton";
|
|
|
27
27
|
export { Textarea } from "./components/Form/Textarea/Textarea";
|
|
28
28
|
export { Select } from "./components/Form/Select/Select";
|
|
29
29
|
export { SubThemeProvider } from "./components/SubThemeProvider/SubThemeProvider";
|
|
30
|
+
export { PictogramButton } from "./components/PictogramButton/PictogramButton";
|
|
31
|
+
export { MediaViewerBar } from "./components/MediaViewerBar/MediaViewerBar";
|