@stenajs-webui/elements 17.18.2 → 17.18.3
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 +12 -0
- package/dist/components/ui/cards/CardHeader.d.ts +2 -2
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v17.18.3 (Thu Sep 29 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Refine filter drawer (AB#97356) [#513](https://github.com/StenaIT/stenajs-webui/pull/513) ([@AugustasFriend](https://github.com/AugustasFriend))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Augustas ([@AugustasFriend](https://github.com/AugustasFriend))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v17.18.2 (Mon Sep 26 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { BoxProps } from "@stenajs-webui/core";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import { ReactNode } from "react";
|
|
3
4
|
import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
4
5
|
export declare type CardHeaderVariant = "standard" | "compact";
|
|
5
|
-
export interface CardHeaderProps {
|
|
6
|
+
export interface CardHeaderProps extends Pick<BoxProps, "className" | "flex"> {
|
|
6
7
|
text?: string;
|
|
7
8
|
variant?: CardHeaderVariant;
|
|
8
9
|
leftIcon?: IconDefinition;
|
|
@@ -10,6 +11,5 @@ export interface CardHeaderProps {
|
|
|
10
11
|
contentLeft?: ReactNode;
|
|
11
12
|
contentCenter?: ReactNode;
|
|
12
13
|
contentAfterHeading?: ReactNode;
|
|
13
|
-
className?: string;
|
|
14
14
|
}
|
|
15
15
|
export declare const CardHeader: React.FC<CardHeaderProps>;
|
package/dist/index.es.js
CHANGED
|
@@ -1856,13 +1856,13 @@ const h4 = {
|
|
|
1856
1856
|
contentRight: t,
|
|
1857
1857
|
contentLeft: a,
|
|
1858
1858
|
contentCenter: s,
|
|
1859
|
-
|
|
1859
|
+
...r
|
|
1860
1860
|
}) => /* @__PURE__ */ i(m, {
|
|
1861
1861
|
height: l === "compact" ? 40 : 56,
|
|
1862
1862
|
justifyContent: "space-between",
|
|
1863
1863
|
indent: 3,
|
|
1864
1864
|
borderBottom: `1px solid ${N("--lhds-color-ui-300")}`,
|
|
1865
|
-
|
|
1865
|
+
...r,
|
|
1866
1866
|
children: [/* @__PURE__ */ i(m, {
|
|
1867
1867
|
alignItems: "center",
|
|
1868
1868
|
gap: l === "compact" ? 1 : 2,
|