fiboui 2.9.0 → 2.9.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/dist/index.js +22 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -281,25 +281,37 @@ class We extends y {
|
|
|
281
281
|
principal: [],
|
|
282
282
|
trailing: []
|
|
283
283
|
};
|
|
284
|
-
for (const
|
|
285
|
-
r[je(
|
|
284
|
+
for (const f of t)
|
|
285
|
+
r[je(f)].push(f);
|
|
286
286
|
const { className: i, style: n, children: o, ...a } = this._props, l = ["fibo-app-bar", this.getClassName(), i].filter(Boolean).join(" "), h = {
|
|
287
287
|
display: "flex",
|
|
288
|
-
alignItems: "
|
|
288
|
+
alignItems: "center",
|
|
289
289
|
width: "100%",
|
|
290
|
-
gap: 16,
|
|
291
290
|
...this.getStyle(),
|
|
292
291
|
...n && typeof n == "object" ? n : {}
|
|
293
|
-
}, d =
|
|
292
|
+
}, d = {
|
|
293
|
+
leading: "flex-start",
|
|
294
|
+
principal: "center",
|
|
295
|
+
trailing: "flex-end"
|
|
296
|
+
}, m = De.map((f) => u.createElement(
|
|
294
297
|
"div",
|
|
295
298
|
{
|
|
296
|
-
key:
|
|
297
|
-
className: `fibo-app-bar-${
|
|
298
|
-
|
|
299
|
+
key: f,
|
|
300
|
+
className: `fibo-app-bar-${f}`,
|
|
301
|
+
"data-toolbar-slot": f,
|
|
302
|
+
"data-empty": r[f].length === 0 ? "true" : void 0,
|
|
303
|
+
style: {
|
|
304
|
+
flex: "1 1 0",
|
|
305
|
+
minWidth: 0,
|
|
306
|
+
display: "flex",
|
|
307
|
+
alignItems: "center",
|
|
308
|
+
justifyContent: d[f],
|
|
309
|
+
gap: 12
|
|
310
|
+
}
|
|
299
311
|
},
|
|
300
|
-
...r[
|
|
312
|
+
...r[f]
|
|
301
313
|
));
|
|
302
|
-
return u.createElement("header", { ...a, className: l, style: h }, ...
|
|
314
|
+
return u.createElement("header", { ...a, className: l, style: h }, ...m);
|
|
303
315
|
}
|
|
304
316
|
}
|
|
305
317
|
const Gi = _(He), zi = _(We), ae = ["top", "bottom", "left", "right"], Ve = {
|