@jonapin006/tiger 1.0.13 → 1.0.14
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/index.d.ts +1 -0
- package/dist/tiger.es.js +15 -6
- package/dist/tiger.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -900,6 +900,7 @@ export declare const TigerTopBar: default_2.FC<TigerTopBarProps>;
|
|
|
900
900
|
|
|
901
901
|
export declare interface TigerTopBarProps {
|
|
902
902
|
title?: default_2.ReactNode;
|
|
903
|
+
description?: default_2.ReactNode;
|
|
903
904
|
actions?: default_2.ReactNode;
|
|
904
905
|
className?: string;
|
|
905
906
|
}
|
package/dist/tiger.es.js
CHANGED
|
@@ -2753,14 +2753,23 @@ var z = ({ value: e = 0, currentStep: t = 0, totalSteps: n = 5, variant: r = "ba
|
|
|
2753
2753
|
className: P(o.flexBase, l, c.gap, u, i),
|
|
2754
2754
|
children: e
|
|
2755
2755
|
});
|
|
2756
|
-
}, ie = ({ title: e,
|
|
2757
|
-
let { themeConfig:
|
|
2756
|
+
}, ie = ({ title: e, description: t, actions: n, className: r }) => {
|
|
2757
|
+
let { themeConfig: i, theme: a } = N(), o = a.geometry.topbar;
|
|
2758
2758
|
return /* @__PURE__ */ c("header", {
|
|
2759
|
-
className: P(
|
|
2759
|
+
className: P(o.wrapper, i.layout.topbar.container, o.padding, o.margin, o.corner, o.height, o.width, r),
|
|
2760
2760
|
children: [
|
|
2761
|
-
e && /* @__PURE__ */
|
|
2762
|
-
|
|
2763
|
-
|
|
2761
|
+
(e || t) && /* @__PURE__ */ c("div", {
|
|
2762
|
+
className: "flex flex-col min-w-0",
|
|
2763
|
+
children: [e && /* @__PURE__ */ s("div", {
|
|
2764
|
+
className: "flex items-center",
|
|
2765
|
+
children: e
|
|
2766
|
+
}), t && /* @__PURE__ */ s("div", {
|
|
2767
|
+
className: "flex items-center mt-1",
|
|
2768
|
+
children: t
|
|
2769
|
+
})]
|
|
2770
|
+
}),
|
|
2771
|
+
/* @__PURE__ */ s("div", { className: "flex-grow" }),
|
|
2772
|
+
n && /* @__PURE__ */ s("div", { children: n })
|
|
2764
2773
|
]
|
|
2765
2774
|
});
|
|
2766
2775
|
}, U = ({ items: e, defaultExpandedId: t, onExpandedChange: n, allowMultiple: r = !1, size: i = _.Medium, className: a }) => {
|