@stenajs-webui/elements 17.17.0 → 17.18.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 +24 -0
- package/dist/components/ui/buttons/common/ButtonCommon.d.ts +1 -0
- package/dist/components/ui/buttons/common/ButtonContent.d.ts +1 -0
- package/dist/components/ui/cards/CardHeader.d.ts +2 -1
- package/dist/index.es.js +629 -618
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v17.18.1 (Fri Sep 23 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Use rem for icons in buttons [#509](https://github.com/StenaIT/stenajs-webui/pull/509) ([@AugustasFriend](https://github.com/AugustasFriend))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Augustas ([@AugustasFriend](https://github.com/AugustasFriend))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v17.18.0 (Thu Sep 22 2022)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- Remove css for cardheader and add classname [#510](https://github.com/StenaIT/stenajs-webui/pull/510) ([@AugustasFriend](https://github.com/AugustasFriend))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Augustas ([@AugustasFriend](https://github.com/AugustasFriend))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v17.17.0 (Mon Sep 19 2022)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -2,6 +2,7 @@ import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
export declare type ButtonSize = "medium" | "small" | "large";
|
|
4
4
|
export declare type ButtonVariant = "normal" | "danger" | "success";
|
|
5
|
+
export declare const getIconSizeFromButtonSize: (size: ButtonSize, hasLabel: boolean) => ButtonSize;
|
|
5
6
|
export interface CommonButtonProps {
|
|
6
7
|
/** The text on the button. */
|
|
7
8
|
label?: string;
|
|
@@ -10,5 +10,6 @@ export interface CardHeaderProps {
|
|
|
10
10
|
contentLeft?: ReactNode;
|
|
11
11
|
contentCenter?: ReactNode;
|
|
12
12
|
contentAfterHeading?: ReactNode;
|
|
13
|
+
className?: string;
|
|
13
14
|
}
|
|
14
|
-
export declare const CardHeader: React.
|
|
15
|
+
export declare const CardHeader: React.FC<CardHeaderProps>;
|