@gnome-ui/react 1.17.0 → 1.18.0
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/README.md +1 -0
- package/dist/components/PathBar/PathBar.d.ts +32 -0
- package/dist/components/PathBar/index.d.ts +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +190 -134
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -282,7 +282,7 @@ function le({ indeterminate: e = !1, className: n, ...r }) {
|
|
|
282
282
|
...r
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
|
-
var
|
|
285
|
+
var ue = {
|
|
286
286
|
wrapper: "_wrapper_q91d8_3",
|
|
287
287
|
disabled: "_disabled_q91d8_9",
|
|
288
288
|
label: "_label_q91d8_15",
|
|
@@ -293,14 +293,14 @@ var F = {
|
|
|
293
293
|
};
|
|
294
294
|
//#endregion
|
|
295
295
|
//#region src/components/TextField/TextField.tsx
|
|
296
|
-
function
|
|
296
|
+
function de({ label: e, helperText: r, error: i, id: a, className: o, disabled: s, ...c }) {
|
|
297
297
|
let l = u(), d = a ?? l, f = `${d}-help`;
|
|
298
298
|
return /* @__PURE__ */ n("div", {
|
|
299
|
-
className: [
|
|
299
|
+
className: [ue.wrapper, s ? ue.disabled : null].filter(Boolean).join(" "),
|
|
300
300
|
children: [
|
|
301
301
|
e && /* @__PURE__ */ t("label", {
|
|
302
302
|
htmlFor: d,
|
|
303
|
-
className:
|
|
303
|
+
className: ue.label,
|
|
304
304
|
children: e
|
|
305
305
|
}),
|
|
306
306
|
/* @__PURE__ */ t("input", {
|
|
@@ -309,31 +309,31 @@ function ue({ label: e, helperText: r, error: i, id: a, className: o, disabled:
|
|
|
309
309
|
"aria-describedby": i || r ? f : void 0,
|
|
310
310
|
"aria-invalid": i ? !0 : void 0,
|
|
311
311
|
className: [
|
|
312
|
-
|
|
313
|
-
i ?
|
|
312
|
+
ue.input,
|
|
313
|
+
i ? ue.errorInput : null,
|
|
314
314
|
o
|
|
315
315
|
].filter(Boolean).join(" "),
|
|
316
316
|
...c
|
|
317
317
|
}),
|
|
318
318
|
(i || r) && /* @__PURE__ */ t("span", {
|
|
319
319
|
id: f,
|
|
320
|
-
className: [
|
|
320
|
+
className: [ue.hint, i ? ue.errorHint : null].filter(Boolean).join(" "),
|
|
321
321
|
children: i ?? r
|
|
322
322
|
})
|
|
323
323
|
]
|
|
324
324
|
});
|
|
325
325
|
}
|
|
326
|
-
var
|
|
326
|
+
var fe = { radio: "_radio_1vybt_3" };
|
|
327
327
|
//#endregion
|
|
328
328
|
//#region src/components/RadioButton/RadioButton.tsx
|
|
329
|
-
function
|
|
329
|
+
function pe({ className: e, ...n }) {
|
|
330
330
|
return /* @__PURE__ */ t("input", {
|
|
331
331
|
type: "radio",
|
|
332
|
-
className: [
|
|
332
|
+
className: [fe.radio, e].filter(Boolean).join(" "),
|
|
333
333
|
...n
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
|
-
var
|
|
336
|
+
var me = {
|
|
337
337
|
track: "_track_endpr_3",
|
|
338
338
|
fill: "_fill_endpr_14",
|
|
339
339
|
accent: "_accent_endpr_23",
|
|
@@ -345,7 +345,7 @@ var pe = {
|
|
|
345
345
|
};
|
|
346
346
|
//#endregion
|
|
347
347
|
//#region src/components/ProgressBar/ProgressBar.tsx
|
|
348
|
-
function
|
|
348
|
+
function he({ value: e, variant: n = "accent", className: r, "aria-label": i, "aria-labelledby": a, ...o }) {
|
|
349
349
|
let s = e == null, c = s ? void 0 : Math.min(1, Math.max(0, e)), l = c === void 0 ? void 0 : c * 100;
|
|
350
350
|
return /* @__PURE__ */ t("div", {
|
|
351
351
|
role: "progressbar",
|
|
@@ -354,13 +354,13 @@ function me({ value: e, variant: n = "accent", className: r, "aria-label": i, "a
|
|
|
354
354
|
"aria-valuenow": c === void 0 ? void 0 : Math.round(l),
|
|
355
355
|
"aria-valuemin": s ? void 0 : 0,
|
|
356
356
|
"aria-valuemax": s ? void 0 : 100,
|
|
357
|
-
className: [
|
|
357
|
+
className: [me.track, r].filter(Boolean).join(" "),
|
|
358
358
|
...o,
|
|
359
359
|
children: /* @__PURE__ */ t("div", {
|
|
360
360
|
className: [
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
s ?
|
|
361
|
+
me.fill,
|
|
362
|
+
me[n],
|
|
363
|
+
s ? me.indeterminate : null
|
|
364
364
|
].filter(Boolean).join(" "),
|
|
365
365
|
style: s ? void 0 : { width: `${l}%` }
|
|
366
366
|
})
|
|
@@ -368,46 +368,46 @@ function me({ value: e, variant: n = "accent", className: r, "aria-label": i, "a
|
|
|
368
368
|
}
|
|
369
369
|
//#endregion
|
|
370
370
|
//#region src/components/Banner/Banner.module.css
|
|
371
|
-
var
|
|
372
|
-
banner:
|
|
373
|
-
message:
|
|
374
|
-
actions:
|
|
375
|
-
actionBtn:
|
|
376
|
-
dismissBtn:
|
|
377
|
-
info:
|
|
371
|
+
var ge = "_banner_1x3b0_3", _e = "_message_1x3b0_17", ve = "_actions_1x3b0_24", ye = "_actionBtn_1x3b0_33", be = "_dismissBtn_1x3b0_55", xe = "_info_1x3b0_85", Se = "_warning_1x3b0_99", Ce = "_error_1x3b0_113", we = "_success_1x3b0_127", Te = {
|
|
372
|
+
banner: ge,
|
|
373
|
+
message: _e,
|
|
374
|
+
actions: ve,
|
|
375
|
+
actionBtn: ye,
|
|
376
|
+
dismissBtn: be,
|
|
377
|
+
info: xe,
|
|
378
378
|
"actionBtn-info": "_actionBtn-info_1x3b0_90",
|
|
379
|
-
warning:
|
|
379
|
+
warning: Se,
|
|
380
380
|
"actionBtn-warning": "_actionBtn-warning_1x3b0_104",
|
|
381
|
-
error:
|
|
381
|
+
error: Ce,
|
|
382
382
|
"actionBtn-error": "_actionBtn-error_1x3b0_118",
|
|
383
|
-
success:
|
|
383
|
+
success: we,
|
|
384
384
|
"actionBtn-success": "_actionBtn-success_1x3b0_132"
|
|
385
385
|
};
|
|
386
386
|
//#endregion
|
|
387
387
|
//#region src/components/Banner/Banner.tsx
|
|
388
|
-
function
|
|
388
|
+
function Ee({ variant: e = "info", children: r, actionLabel: i, onAction: a, dismissible: o = !1, onDismiss: s, className: c, ...l }) {
|
|
389
389
|
return /* @__PURE__ */ n("div", {
|
|
390
390
|
role: "status",
|
|
391
391
|
"aria-live": "polite",
|
|
392
392
|
className: [
|
|
393
|
-
|
|
394
|
-
|
|
393
|
+
Te.banner,
|
|
394
|
+
Te[e],
|
|
395
395
|
c
|
|
396
396
|
].filter(Boolean).join(" "),
|
|
397
397
|
...l,
|
|
398
398
|
children: [/* @__PURE__ */ t("span", {
|
|
399
|
-
className:
|
|
399
|
+
className: Te.message,
|
|
400
400
|
children: r
|
|
401
401
|
}), (i || o) && /* @__PURE__ */ n("span", {
|
|
402
|
-
className:
|
|
402
|
+
className: Te.actions,
|
|
403
403
|
children: [i && /* @__PURE__ */ t("button", {
|
|
404
404
|
type: "button",
|
|
405
|
-
className: [
|
|
405
|
+
className: [Te.actionBtn, Te[`actionBtn-${e}`]].filter(Boolean).join(" "),
|
|
406
406
|
onClick: a,
|
|
407
407
|
children: i
|
|
408
408
|
}), o && /* @__PURE__ */ t("button", {
|
|
409
409
|
type: "button",
|
|
410
|
-
className:
|
|
410
|
+
className: Te.dismissBtn,
|
|
411
411
|
onClick: s,
|
|
412
412
|
"aria-label": "Dismiss",
|
|
413
413
|
children: /* @__PURE__ */ t("svg", {
|
|
@@ -422,7 +422,7 @@ function Te({ variant: e = "info", children: r, actionLabel: i, onAction: a, dis
|
|
|
422
422
|
})]
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
|
-
var
|
|
425
|
+
var De = {
|
|
426
426
|
headerBar: "_headerBar_1rr5r_3",
|
|
427
427
|
flat: "_flat_1rr5r_22",
|
|
428
428
|
slot: "_slot_1rr5r_29",
|
|
@@ -432,35 +432,35 @@ var Ee = {
|
|
|
432
432
|
};
|
|
433
433
|
//#endregion
|
|
434
434
|
//#region src/components/HeaderBar/HeaderBar.tsx
|
|
435
|
-
function
|
|
435
|
+
function Oe({ title: e, start: r, end: i, flat: a = !1, className: o, ...s }) {
|
|
436
436
|
return /* @__PURE__ */ n("header", {
|
|
437
437
|
className: [
|
|
438
|
-
|
|
439
|
-
a ?
|
|
438
|
+
De.headerBar,
|
|
439
|
+
a ? De.flat : null,
|
|
440
440
|
o
|
|
441
441
|
].filter(Boolean).join(" "),
|
|
442
442
|
...s,
|
|
443
443
|
children: [
|
|
444
444
|
/* @__PURE__ */ t("div", {
|
|
445
|
-
className:
|
|
445
|
+
className: De.slot,
|
|
446
446
|
children: r
|
|
447
447
|
}),
|
|
448
448
|
/* @__PURE__ */ t("div", {
|
|
449
|
-
className:
|
|
449
|
+
className: De.titleSlot,
|
|
450
450
|
"aria-live": "polite",
|
|
451
451
|
children: typeof e == "string" ? /* @__PURE__ */ t("span", {
|
|
452
|
-
className:
|
|
452
|
+
className: De.title,
|
|
453
453
|
children: e
|
|
454
454
|
}) : e
|
|
455
455
|
}),
|
|
456
456
|
/* @__PURE__ */ t("div", {
|
|
457
|
-
className: [
|
|
457
|
+
className: [De.slot, De.slotEnd].filter(Boolean).join(" "),
|
|
458
458
|
children: i
|
|
459
459
|
})
|
|
460
460
|
]
|
|
461
461
|
});
|
|
462
462
|
}
|
|
463
|
-
var
|
|
463
|
+
var ke = {
|
|
464
464
|
footer: "_footer_10xz9_3",
|
|
465
465
|
flat: "_flat_10xz9_23",
|
|
466
466
|
slot: "_slot_10xz9_29",
|
|
@@ -469,31 +469,31 @@ var Oe = {
|
|
|
469
469
|
};
|
|
470
470
|
//#endregion
|
|
471
471
|
//#region src/components/Footer/Footer.tsx
|
|
472
|
-
function
|
|
472
|
+
function Ae({ start: e, end: r, children: i, flat: a = !1, className: o, ...s }) {
|
|
473
473
|
return /* @__PURE__ */ n("footer", {
|
|
474
474
|
className: [
|
|
475
|
-
|
|
476
|
-
a ?
|
|
475
|
+
ke.footer,
|
|
476
|
+
a ? ke.flat : null,
|
|
477
477
|
o
|
|
478
478
|
].filter(Boolean).join(" "),
|
|
479
479
|
...s,
|
|
480
480
|
children: [
|
|
481
481
|
/* @__PURE__ */ t("div", {
|
|
482
|
-
className:
|
|
482
|
+
className: ke.slot,
|
|
483
483
|
children: e
|
|
484
484
|
}),
|
|
485
485
|
i != null && /* @__PURE__ */ t("div", {
|
|
486
|
-
className:
|
|
486
|
+
className: ke.center,
|
|
487
487
|
children: i
|
|
488
488
|
}),
|
|
489
489
|
/* @__PURE__ */ t("div", {
|
|
490
|
-
className: [
|
|
490
|
+
className: [ke.slot, ke.slotEnd].filter(Boolean).join(" "),
|
|
491
491
|
children: r
|
|
492
492
|
})
|
|
493
493
|
]
|
|
494
494
|
});
|
|
495
495
|
}
|
|
496
|
-
var
|
|
496
|
+
var je = {
|
|
497
497
|
wrapper: "_wrapper_1apop_3",
|
|
498
498
|
badge: "_badge_1apop_11",
|
|
499
499
|
anchored: "_anchored_1apop_32",
|
|
@@ -506,32 +506,32 @@ var Ae = {
|
|
|
506
506
|
};
|
|
507
507
|
//#endregion
|
|
508
508
|
//#region src/components/Badge/Badge.tsx
|
|
509
|
-
function
|
|
509
|
+
function Me({ variant: e = "accent", dot: r = !1, children: i, anchor: a, className: o, ...s }) {
|
|
510
510
|
let c = /* @__PURE__ */ t("span", {
|
|
511
511
|
className: [
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
r ?
|
|
515
|
-
a ?
|
|
512
|
+
je.badge,
|
|
513
|
+
je[e],
|
|
514
|
+
r ? je.dot : null,
|
|
515
|
+
a ? je.anchored : null,
|
|
516
516
|
o
|
|
517
517
|
].filter(Boolean).join(" "),
|
|
518
518
|
...s,
|
|
519
519
|
children: !r && i
|
|
520
520
|
});
|
|
521
521
|
return a ? /* @__PURE__ */ n("span", {
|
|
522
|
-
className:
|
|
522
|
+
className: je.wrapper,
|
|
523
523
|
children: [a, c]
|
|
524
524
|
}) : c;
|
|
525
525
|
}
|
|
526
526
|
//#endregion
|
|
527
527
|
//#region src/components/Icon/Icon.tsx
|
|
528
|
-
var
|
|
528
|
+
var Ne = {
|
|
529
529
|
sm: 12,
|
|
530
530
|
md: 16,
|
|
531
531
|
lg: 20
|
|
532
532
|
};
|
|
533
|
-
function
|
|
534
|
-
let s =
|
|
533
|
+
function F({ icon: e, size: n = "md", label: r, width: i, height: a, ...o }) {
|
|
534
|
+
let s = Ne[n];
|
|
535
535
|
return /* @__PURE__ */ t("svg", {
|
|
536
536
|
xmlns: "http://www.w3.org/2000/svg",
|
|
537
537
|
viewBox: e.viewBox,
|
|
@@ -552,43 +552,43 @@ function I({ icon: e, size: n = "md", label: r, width: i, height: a, ...o }) {
|
|
|
552
552
|
}
|
|
553
553
|
//#endregion
|
|
554
554
|
//#region ../icons/dist/index.js
|
|
555
|
-
var
|
|
555
|
+
var Pe = {
|
|
556
556
|
viewBox: "0 0 16 16",
|
|
557
557
|
paths: [{
|
|
558
558
|
d: "m2.5 5 5.5 6 5.5-6z",
|
|
559
559
|
fillRule: "evenodd"
|
|
560
560
|
}]
|
|
561
|
-
},
|
|
561
|
+
}, Fe = {
|
|
562
562
|
viewBox: "0 0 16 16",
|
|
563
563
|
paths: [{
|
|
564
564
|
d: "M3.293 3.293a1 1 0 0 1 1.414 0L8 6.586l3.293-3.293a1 1 0 1 1 1.414 1.414L9.414 8l3.293 3.293a1 1 0 0 1-1.414 1.414L8 9.414l-3.293 3.293a1 1 0 0 1-1.414-1.414L6.586 8 3.293 4.707a1 1 0 0 1 0-1.414z",
|
|
565
565
|
fillRule: "evenodd"
|
|
566
566
|
}]
|
|
567
|
-
},
|
|
567
|
+
}, Ie = {
|
|
568
568
|
viewBox: "0 0 16 16",
|
|
569
569
|
paths: [{
|
|
570
570
|
d: "M6.5 1a5.5 5.5 0 0 1 4.33 8.92l3.13 3.13-1.41 1.41-3.13-3.13A5.5 5.5 0 1 1 6.5 1zm0 2a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7z",
|
|
571
571
|
fillRule: "evenodd"
|
|
572
572
|
}]
|
|
573
|
-
},
|
|
573
|
+
}, Le = {
|
|
574
574
|
viewBox: "0 0 16 16",
|
|
575
575
|
paths: [{
|
|
576
576
|
d: "M8 3C4.5 3 1.5 5.667 0 8c1.5 2.333 4.5 5 8 5s6.5-2.667 8-5c-1.5-2.333-4.5-5-8-5zm0 8a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-4.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z",
|
|
577
577
|
fillRule: "evenodd"
|
|
578
578
|
}]
|
|
579
|
-
},
|
|
579
|
+
}, Re = {
|
|
580
580
|
viewBox: "0 0 16 16",
|
|
581
581
|
paths: [{
|
|
582
582
|
d: "M1.293 1.293a1 1 0 0 1 1.414 0l12 12a1 1 0 0 1-1.414 1.414l-1.88-1.88A8.8 8.8 0 0 1 8 13C4.5 13 1.5 10.333 0 8c.637-1.023 1.52-2.049 2.6-2.893L1.293 2.707a1 1 0 0 1 0-1.414zM5.03 6.444 7.09 8.505A1.5 1.5 0 0 0 9.494 6.91L7.432 4.848A3 3 0 0 0 5.03 6.444zM8 3c.645 0 1.27.083 1.867.237l-1.59 1.59A3 3 0 0 0 5.173 7.92L3.584 6.333C4.51 4.95 6.152 3 8 3zm5.4 2.107C14.48 5.951 15.363 6.977 16 8c-1.5 2.333-4.5 5-8 5a8.8 8.8 0 0 1-2.072-.249l1.538-1.538a3 3 0 0 0 3.703-3.703L12.81 5.87c.202.076.4.156.59.237z",
|
|
583
583
|
fillRule: "evenodd"
|
|
584
584
|
}]
|
|
585
|
-
},
|
|
585
|
+
}, ze = {
|
|
586
586
|
viewBox: "0 0 16 16",
|
|
587
587
|
paths: [{
|
|
588
588
|
d: "M13.5 3 6 11.5 2.5 8 1 9.5l5 5 9-10z",
|
|
589
589
|
fillRule: "evenodd"
|
|
590
590
|
}]
|
|
591
|
-
},
|
|
591
|
+
}, I = {
|
|
592
592
|
wrapper: "_wrapper_1rkb1_3",
|
|
593
593
|
open: "_open_1rkb1_13",
|
|
594
594
|
bar: "_bar_1rkb1_20",
|
|
@@ -614,23 +614,23 @@ function Be({ open: e, onClose: r, onClear: i, children: a, value: o, onChange:
|
|
|
614
614
|
}, [r, h]), v = o !== void 0 && o !== "";
|
|
615
615
|
return /* @__PURE__ */ n("div", {
|
|
616
616
|
className: [
|
|
617
|
-
|
|
618
|
-
e ?
|
|
617
|
+
I.wrapper,
|
|
618
|
+
e ? I.open : null,
|
|
619
619
|
m
|
|
620
620
|
].filter(Boolean).join(" "),
|
|
621
621
|
"aria-hidden": !e,
|
|
622
622
|
children: [/* @__PURE__ */ n("div", {
|
|
623
623
|
className: [
|
|
624
|
-
|
|
625
|
-
p ?
|
|
626
|
-
f ?
|
|
624
|
+
I.bar,
|
|
625
|
+
p ? I.inline : null,
|
|
626
|
+
f ? I.disabled : null
|
|
627
627
|
].filter(Boolean).join(" "),
|
|
628
628
|
children: [
|
|
629
629
|
/* @__PURE__ */ t("span", {
|
|
630
|
-
className:
|
|
630
|
+
className: I.searchIcon,
|
|
631
631
|
"aria-hidden": !0,
|
|
632
|
-
children: /* @__PURE__ */ t(
|
|
633
|
-
icon:
|
|
632
|
+
children: /* @__PURE__ */ t(F, {
|
|
633
|
+
icon: Ie,
|
|
634
634
|
size: "md"
|
|
635
635
|
})
|
|
636
636
|
}),
|
|
@@ -643,27 +643,27 @@ function Be({ open: e, onClose: r, onClear: i, children: a, value: o, onChange:
|
|
|
643
643
|
placeholder: u,
|
|
644
644
|
disabled: f,
|
|
645
645
|
tabIndex: e ? void 0 : -1,
|
|
646
|
-
className:
|
|
646
|
+
className: I.input,
|
|
647
647
|
onKeyDown: _,
|
|
648
648
|
...h
|
|
649
649
|
}),
|
|
650
650
|
v && /* @__PURE__ */ t("button", {
|
|
651
651
|
type: "button",
|
|
652
|
-
className:
|
|
652
|
+
className: I.clearButton,
|
|
653
653
|
"aria-label": "Clear search",
|
|
654
654
|
tabIndex: e ? void 0 : -1,
|
|
655
655
|
disabled: f,
|
|
656
656
|
onClick: () => {
|
|
657
657
|
i?.(), g.current?.focus();
|
|
658
658
|
},
|
|
659
|
-
children: /* @__PURE__ */ t(
|
|
660
|
-
icon:
|
|
659
|
+
children: /* @__PURE__ */ t(F, {
|
|
660
|
+
icon: Fe,
|
|
661
661
|
size: "md"
|
|
662
662
|
})
|
|
663
663
|
})
|
|
664
664
|
]
|
|
665
665
|
}), a && /* @__PURE__ */ t("div", {
|
|
666
|
-
className:
|
|
666
|
+
className: I.filterRow,
|
|
667
667
|
children: a
|
|
668
668
|
})]
|
|
669
669
|
});
|
|
@@ -679,7 +679,7 @@ var Ve = {
|
|
|
679
679
|
//#endregion
|
|
680
680
|
//#region src/components/StatusPage/StatusPage.tsx
|
|
681
681
|
function He({ icon: e, iconNode: r, title: i, description: a, children: o, compact: s = !1, className: c, ...l }) {
|
|
682
|
-
let u = s ? 64 : 128, d = e ? /* @__PURE__ */ t(
|
|
682
|
+
let u = s ? 64 : 128, d = e ? /* @__PURE__ */ t(F, {
|
|
683
683
|
icon: e,
|
|
684
684
|
width: u,
|
|
685
685
|
height: u,
|
|
@@ -970,7 +970,7 @@ function yt({ label: e, icon: r, active: i = !1, suffix: a, badge: o, tooltip: u
|
|
|
970
970
|
children: [
|
|
971
971
|
r && /* @__PURE__ */ t("span", {
|
|
972
972
|
className: L.itemIcon,
|
|
973
|
-
children: /* @__PURE__ */ t(
|
|
973
|
+
children: /* @__PURE__ */ t(F, {
|
|
974
974
|
icon: r,
|
|
975
975
|
size: "md",
|
|
976
976
|
"aria-hidden": !0
|
|
@@ -1169,7 +1169,7 @@ function Tt({ label: e, icon: r, active: i = !1, panelId: a, onClose: o, closeLa
|
|
|
1169
1169
|
children: [
|
|
1170
1170
|
r && /* @__PURE__ */ t("span", {
|
|
1171
1171
|
className: R.tabIcon,
|
|
1172
|
-
children: /* @__PURE__ */ t(
|
|
1172
|
+
children: /* @__PURE__ */ t(F, {
|
|
1173
1173
|
icon: r,
|
|
1174
1174
|
size: "sm",
|
|
1175
1175
|
"aria-hidden": !0
|
|
@@ -1254,11 +1254,11 @@ function Dt({ title: e, subtitle: r, leading: i, trailing: a, interactive: o = !
|
|
|
1254
1254
|
});
|
|
1255
1255
|
}
|
|
1256
1256
|
var Ot = {
|
|
1257
|
-
list: "
|
|
1258
|
-
item: "
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1257
|
+
list: "_list_cy3hv_3",
|
|
1258
|
+
item: "_item_cy3hv_17",
|
|
1259
|
+
separate: "_separate_cy3hv_26",
|
|
1260
|
+
separateItem: "_separateItem_cy3hv_36",
|
|
1261
|
+
divider: "_divider_cy3hv_58"
|
|
1262
1262
|
};
|
|
1263
1263
|
//#endregion
|
|
1264
1264
|
//#region src/components/BoxedList/BoxedList.tsx
|
|
@@ -1274,10 +1274,7 @@ function kt({ children: e, variant: i = "default", className: a, ...o }) {
|
|
|
1274
1274
|
...o,
|
|
1275
1275
|
children: s.map((e, r) => /* @__PURE__ */ n("li", {
|
|
1276
1276
|
className: c ? Ot.separateItem : Ot.item,
|
|
1277
|
-
children: [!c && r > 0 && /* @__PURE__ */ t("
|
|
1278
|
-
className: Ot.divider,
|
|
1279
|
-
"aria-hidden": "true"
|
|
1280
|
-
}), e]
|
|
1277
|
+
children: [!c && r > 0 && /* @__PURE__ */ t(ae, { "aria-hidden": "true" }), e]
|
|
1281
1278
|
}, r))
|
|
1282
1279
|
});
|
|
1283
1280
|
}
|
|
@@ -1330,7 +1327,7 @@ function Mt({ label: e, icon: r, active: i = !1, className: a, disabled: o, ...s
|
|
|
1330
1327
|
...s,
|
|
1331
1328
|
children: [r && /* @__PURE__ */ t("span", {
|
|
1332
1329
|
className: At.itemIcon,
|
|
1333
|
-
children: /* @__PURE__ */ t(
|
|
1330
|
+
children: /* @__PURE__ */ t(F, {
|
|
1334
1331
|
icon: r,
|
|
1335
1332
|
size: "md",
|
|
1336
1333
|
"aria-hidden": !0
|
|
@@ -1400,8 +1397,8 @@ function Ht({ title: e, duration: r = 3e3, onDismiss: i, actionLabel: a, onActio
|
|
|
1400
1397
|
onClick: () => {
|
|
1401
1398
|
h(), i?.();
|
|
1402
1399
|
},
|
|
1403
|
-
children: /* @__PURE__ */ t(
|
|
1404
|
-
icon:
|
|
1400
|
+
children: /* @__PURE__ */ t(F, {
|
|
1401
|
+
icon: Fe,
|
|
1405
1402
|
size: "md",
|
|
1406
1403
|
"aria-hidden": !0
|
|
1407
1404
|
})
|
|
@@ -1493,11 +1490,11 @@ function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, close
|
|
|
1493
1490
|
c
|
|
1494
1491
|
]);
|
|
1495
1492
|
if (!r) return null;
|
|
1496
|
-
let
|
|
1493
|
+
let ue = [
|
|
1497
1494
|
"details",
|
|
1498
1495
|
!!(E?.length || D?.length || O?.length) && "credits",
|
|
1499
1496
|
!!(k || A || j) && "legal"
|
|
1500
|
-
].filter(Boolean),
|
|
1497
|
+
].filter(Boolean), de = () => oe ? /* @__PURE__ */ t("div", {
|
|
1501
1498
|
className: B.footer,
|
|
1502
1499
|
children: /* @__PURE__ */ t("button", {
|
|
1503
1500
|
type: "button",
|
|
@@ -1523,7 +1520,7 @@ function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, close
|
|
|
1523
1520
|
onClick: e.onClick,
|
|
1524
1521
|
children: e.label
|
|
1525
1522
|
}, e.label))
|
|
1526
|
-
}) : null,
|
|
1523
|
+
}) : null, fe = () => /* @__PURE__ */ n(e, { children: [
|
|
1527
1524
|
/* @__PURE__ */ n("div", {
|
|
1528
1525
|
className: B.aboutHeader,
|
|
1529
1526
|
children: [
|
|
@@ -1542,10 +1539,10 @@ function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, close
|
|
|
1542
1539
|
})
|
|
1543
1540
|
]
|
|
1544
1541
|
}),
|
|
1545
|
-
|
|
1542
|
+
ue.length > 1 && /* @__PURE__ */ t("div", {
|
|
1546
1543
|
className: B.aboutTabBar,
|
|
1547
1544
|
role: "tablist",
|
|
1548
|
-
children:
|
|
1545
|
+
children: ue.map((e) => /* @__PURE__ */ t("button", {
|
|
1549
1546
|
type: "button",
|
|
1550
1547
|
role: "tab",
|
|
1551
1548
|
"aria-selected": re === e,
|
|
@@ -1649,7 +1646,7 @@ function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, close
|
|
|
1649
1646
|
})
|
|
1650
1647
|
]
|
|
1651
1648
|
})
|
|
1652
|
-
] }),
|
|
1649
|
+
] }), pe = /* @__PURE__ */ t("div", {
|
|
1653
1650
|
className: B.backdrop,
|
|
1654
1651
|
onClick: ce,
|
|
1655
1652
|
"aria-hidden": "true",
|
|
@@ -1666,17 +1663,17 @@ function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, close
|
|
|
1666
1663
|
onKeyDown: le,
|
|
1667
1664
|
onClick: (e) => e.stopPropagation(),
|
|
1668
1665
|
...P,
|
|
1669
|
-
children: [oe ?
|
|
1666
|
+
children: [oe ? fe() : /* @__PURE__ */ n(e, { children: [i && /* @__PURE__ */ t("div", {
|
|
1670
1667
|
id: te,
|
|
1671
1668
|
className: B.title,
|
|
1672
1669
|
children: i
|
|
1673
1670
|
}), a && /* @__PURE__ */ t("div", {
|
|
1674
1671
|
className: B.body,
|
|
1675
1672
|
children: a
|
|
1676
|
-
})] }),
|
|
1673
|
+
})] }), de()]
|
|
1677
1674
|
})
|
|
1678
1675
|
});
|
|
1679
|
-
return typeof document > "u" ?
|
|
1676
|
+
return typeof document > "u" ? pe : p(pe, document.body);
|
|
1680
1677
|
}
|
|
1681
1678
|
//#endregion
|
|
1682
1679
|
//#region src/components/Dropdown/Dropdown.module.css
|
|
@@ -1806,8 +1803,8 @@ function Vn({ options: e, value: r, onChange: i, placeholder: a = "Select an opt
|
|
|
1806
1803
|
children: [/* @__PURE__ */ t("span", {
|
|
1807
1804
|
className: [V.triggerLabel, w ? null : V.placeholder].filter(Boolean).join(" "),
|
|
1808
1805
|
children: w?.label ?? a
|
|
1809
|
-
}), /* @__PURE__ */ t(
|
|
1810
|
-
icon:
|
|
1806
|
+
}), /* @__PURE__ */ t(F, {
|
|
1807
|
+
icon: Pe,
|
|
1811
1808
|
size: "md",
|
|
1812
1809
|
"aria-hidden": !0,
|
|
1813
1810
|
className: [V.chevron, m ? V.chevronOpen : null].filter(Boolean).join(" ")
|
|
@@ -1842,8 +1839,8 @@ function Vn({ options: e, value: r, onChange: i, placeholder: a = "Select an opt
|
|
|
1842
1839
|
className: V.optionDesc,
|
|
1843
1840
|
children: e.description
|
|
1844
1841
|
})]
|
|
1845
|
-
}), e.value === r && /* @__PURE__ */ t(
|
|
1846
|
-
icon:
|
|
1842
|
+
}), e.value === r && /* @__PURE__ */ t(F, {
|
|
1843
|
+
icon: ze,
|
|
1847
1844
|
size: "md",
|
|
1848
1845
|
"aria-hidden": !0,
|
|
1849
1846
|
className: V.checkIcon
|
|
@@ -2348,7 +2345,7 @@ function ur({ name: e, label: r, icon: i, disabled: a, className: o, ...s }) {
|
|
|
2348
2345
|
...s,
|
|
2349
2346
|
children: [i && /* @__PURE__ */ t("span", {
|
|
2350
2347
|
className: or.itemIcon,
|
|
2351
|
-
children: /* @__PURE__ */ t(
|
|
2348
|
+
children: /* @__PURE__ */ t(F, {
|
|
2352
2349
|
icon: i,
|
|
2353
2350
|
size: "md",
|
|
2354
2351
|
"aria-hidden": !0
|
|
@@ -2423,7 +2420,7 @@ function hr({ label: r, icon: i, onRemove: a, selectable: o = !1, selected: s =
|
|
|
2423
2420
|
].filter(Boolean).join(" "), m = /* @__PURE__ */ n(e, { children: [
|
|
2424
2421
|
i && /* @__PURE__ */ t("span", {
|
|
2425
2422
|
className: mr.icon,
|
|
2426
|
-
children: /* @__PURE__ */ t(
|
|
2423
|
+
children: /* @__PURE__ */ t(F, {
|
|
2427
2424
|
icon: i,
|
|
2428
2425
|
size: "sm",
|
|
2429
2426
|
"aria-hidden": !0
|
|
@@ -2442,8 +2439,8 @@ function hr({ label: r, icon: i, onRemove: a, selectable: o = !1, selected: s =
|
|
|
2442
2439
|
e.stopPropagation(), a();
|
|
2443
2440
|
},
|
|
2444
2441
|
tabIndex: l ? -1 : 0,
|
|
2445
|
-
children: /* @__PURE__ */ t(
|
|
2446
|
-
icon:
|
|
2442
|
+
children: /* @__PURE__ */ t(F, {
|
|
2443
|
+
icon: Fe,
|
|
2447
2444
|
size: "sm",
|
|
2448
2445
|
"aria-hidden": !0
|
|
2449
2446
|
})
|
|
@@ -2679,7 +2676,7 @@ function Vr({ name: e, label: r, icon: i, count: a, suffix: o, disabled: s, clas
|
|
|
2679
2676
|
children: [
|
|
2680
2677
|
i && /* @__PURE__ */ t("span", {
|
|
2681
2678
|
className: Lr.itemIcon,
|
|
2682
|
-
children: /* @__PURE__ */ t(
|
|
2679
|
+
children: /* @__PURE__ */ t(F, {
|
|
2683
2680
|
icon: i,
|
|
2684
2681
|
size: "md",
|
|
2685
2682
|
"aria-hidden": !0
|
|
@@ -2926,21 +2923,20 @@ function $r({ children: e, className: n, ...r }) {
|
|
|
2926
2923
|
});
|
|
2927
2924
|
}
|
|
2928
2925
|
var K = {
|
|
2929
|
-
expanderRow: "
|
|
2930
|
-
header: "
|
|
2931
|
-
leading: "
|
|
2932
|
-
content: "
|
|
2933
|
-
title: "
|
|
2934
|
-
subtitle: "
|
|
2935
|
-
trailing: "
|
|
2936
|
-
chevronWrap: "
|
|
2937
|
-
chevronOpen: "
|
|
2938
|
-
chevron: "
|
|
2939
|
-
panel: "
|
|
2940
|
-
expanded: "
|
|
2941
|
-
panelInner: "
|
|
2942
|
-
childItem: "
|
|
2943
|
-
divider: "_divider_16el8_147"
|
|
2926
|
+
expanderRow: "_expanderRow_1wh8c_3",
|
|
2927
|
+
header: "_header_1wh8c_11",
|
|
2928
|
+
leading: "_leading_1wh8c_55",
|
|
2929
|
+
content: "_content_1wh8c_64",
|
|
2930
|
+
title: "_title_1wh8c_72",
|
|
2931
|
+
subtitle: "_subtitle_1wh8c_83",
|
|
2932
|
+
trailing: "_trailing_1wh8c_97",
|
|
2933
|
+
chevronWrap: "_chevronWrap_1wh8c_106",
|
|
2934
|
+
chevronOpen: "_chevronOpen_1wh8c_115",
|
|
2935
|
+
chevron: "_chevron_1wh8c_106",
|
|
2936
|
+
panel: "_panel_1wh8c_125",
|
|
2937
|
+
expanded: "_expanded_1wh8c_131",
|
|
2938
|
+
panelInner: "_panelInner_1wh8c_135",
|
|
2939
|
+
childItem: "_childItem_1wh8c_142"
|
|
2944
2940
|
};
|
|
2945
2941
|
//#endregion
|
|
2946
2942
|
//#region src/components/ExpanderRow/ExpanderRow.tsx
|
|
@@ -3010,10 +3006,7 @@ function ei({ title: e, subtitle: i, leading: a, trailing: o, children: s, expan
|
|
|
3010
3006
|
className: K.panelInner,
|
|
3011
3007
|
children: S.map((e, r) => /* @__PURE__ */ n("div", {
|
|
3012
3008
|
className: K.childItem,
|
|
3013
|
-
children: [/* @__PURE__ */ t("
|
|
3014
|
-
className: K.divider,
|
|
3015
|
-
"aria-hidden": "true"
|
|
3016
|
-
}), e]
|
|
3009
|
+
children: [/* @__PURE__ */ t(ae, { "aria-hidden": "true" }), e]
|
|
3017
3010
|
}, r))
|
|
3018
3011
|
})
|
|
3019
3012
|
})]
|
|
@@ -3088,7 +3081,7 @@ function ai({ name: e, label: r, icon: i, disabled: a, className: o, ...s }) {
|
|
|
3088
3081
|
...s,
|
|
3089
3082
|
children: [i && /* @__PURE__ */ t("span", {
|
|
3090
3083
|
className: ti.itemIcon,
|
|
3091
|
-
children: /* @__PURE__ */ t(
|
|
3084
|
+
children: /* @__PURE__ */ t(F, {
|
|
3092
3085
|
icon: i,
|
|
3093
3086
|
size: "md",
|
|
3094
3087
|
"aria-hidden": !0
|
|
@@ -3513,8 +3506,8 @@ function Pi({ trailing: r, disabled: i, ...a }) {
|
|
|
3513
3506
|
"aria-label": o ? "Conceal password" : "Reveal password",
|
|
3514
3507
|
"aria-pressed": o,
|
|
3515
3508
|
disabled: i,
|
|
3516
|
-
children: /* @__PURE__ */ t(
|
|
3517
|
-
icon: o ?
|
|
3509
|
+
children: /* @__PURE__ */ t(F, {
|
|
3510
|
+
icon: o ? Re : Le,
|
|
3518
3511
|
size: "md",
|
|
3519
3512
|
"aria-hidden": !0
|
|
3520
3513
|
})
|
|
@@ -4295,7 +4288,70 @@ function Va({ items: e, orientation: r = "vertical", variant: i = "default", cla
|
|
|
4295
4288
|
})
|
|
4296
4289
|
});
|
|
4297
4290
|
}
|
|
4291
|
+
var Ha = {
|
|
4292
|
+
pathBar: "_pathBar_1n4ev_3",
|
|
4293
|
+
list: "_list_1n4ev_12",
|
|
4294
|
+
item: "_item_1n4ev_25",
|
|
4295
|
+
separator: "_separator_1n4ev_33",
|
|
4296
|
+
segment: "_segment_1n4ev_44",
|
|
4297
|
+
current: "_current_1n4ev_81",
|
|
4298
|
+
icon: "_icon_1n4ev_98"
|
|
4299
|
+
};
|
|
4300
|
+
//#endregion
|
|
4301
|
+
//#region src/components/PathBar/PathBar.tsx
|
|
4302
|
+
function Ua({ segments: e, onNavigate: r, className: i, ...a }) {
|
|
4303
|
+
return /* @__PURE__ */ t("nav", {
|
|
4304
|
+
"aria-label": "Breadcrumb",
|
|
4305
|
+
className: [Ha.pathBar, i].filter(Boolean).join(" "),
|
|
4306
|
+
...a,
|
|
4307
|
+
children: /* @__PURE__ */ t("ol", {
|
|
4308
|
+
className: Ha.list,
|
|
4309
|
+
"aria-label": "Path segments",
|
|
4310
|
+
children: e.map((i, a) => {
|
|
4311
|
+
let o = a === e.length - 1;
|
|
4312
|
+
return /* @__PURE__ */ n("li", {
|
|
4313
|
+
className: Ha.item,
|
|
4314
|
+
children: [a > 0 && /* @__PURE__ */ t("span", {
|
|
4315
|
+
className: Ha.separator,
|
|
4316
|
+
"aria-hidden": "true",
|
|
4317
|
+
children: /* @__PURE__ */ t("svg", {
|
|
4318
|
+
width: "12",
|
|
4319
|
+
height: "12",
|
|
4320
|
+
viewBox: "0 0 12 12",
|
|
4321
|
+
focusable: "false",
|
|
4322
|
+
children: /* @__PURE__ */ t("path", {
|
|
4323
|
+
d: "M4 2l4 4-4 4",
|
|
4324
|
+
fill: "none",
|
|
4325
|
+
stroke: "currentColor",
|
|
4326
|
+
strokeWidth: "1.5",
|
|
4327
|
+
strokeLinecap: "round",
|
|
4328
|
+
strokeLinejoin: "round"
|
|
4329
|
+
})
|
|
4330
|
+
})
|
|
4331
|
+
}), o ? /* @__PURE__ */ n("span", {
|
|
4332
|
+
className: Ha.current,
|
|
4333
|
+
"aria-current": "page",
|
|
4334
|
+
children: [i.icon && /* @__PURE__ */ t("span", {
|
|
4335
|
+
className: Ha.icon,
|
|
4336
|
+
"aria-hidden": "true",
|
|
4337
|
+
children: i.icon
|
|
4338
|
+
}), i.label]
|
|
4339
|
+
}) : /* @__PURE__ */ n("button", {
|
|
4340
|
+
type: "button",
|
|
4341
|
+
className: Ha.segment,
|
|
4342
|
+
onClick: () => r?.(i.path, a),
|
|
4343
|
+
children: [i.icon && /* @__PURE__ */ t("span", {
|
|
4344
|
+
className: Ha.icon,
|
|
4345
|
+
"aria-hidden": "true",
|
|
4346
|
+
children: i.icon
|
|
4347
|
+
}), i.label]
|
|
4348
|
+
})]
|
|
4349
|
+
}, i.path);
|
|
4350
|
+
})
|
|
4351
|
+
})
|
|
4352
|
+
});
|
|
4353
|
+
}
|
|
4298
4354
|
//#endregion
|
|
4299
|
-
export { Dt as ActionRow, re as Avatar,
|
|
4355
|
+
export { Dt as ActionRow, re as Avatar, Me as Badge, Ee as Banner, ca as Bin, h as Blockquote, ia as BottomSheet, dr as Box, kt as BoxedList, Hr as BreakpointBin, _ as Button, ua as ButtonContent, Wr as ButtonRow, j as Card, sa as Carousel, aa as CarouselIndicatorDots, oa as CarouselIndicatorLines, ci as CheckRow, le as Checkbox, hr as Chip, $n as Clamp, ji as ComboRow, Sn as Dialog, Vn as Dropdown, Mi as EntryRow, ei as ExpanderRow, Ae as Footer, $r as Frame, Ue as GNOME_BREAKPOINTS, Oe as HeaderBar, F as Icon, ii as InlineViewSwitcher, ai as InlineViewSwitcherItem, ar as Link, Zr as LinkedGroup, Ji as NavigationPage, er as NavigationSplitView, Yi as NavigationView, tr as OverlaySplitView, Pi as PasswordEntryRow, Ua as PathBar, Zn as Popover, Ba as PreferencesDialog, ya as PreferencesGroup, xa as PreferencesPage, he as ProgressBar, pe as RadioButton, Be as SearchBar, ae as Separator, pa as ShortcutLabel, Ir as ShortcutsDialog, pt as Sidebar, lt as SidebarCollapsedContext, yt as SidebarItem, mt as SidebarSection, Kn as Slider, Yr as Spacer, Ct as SpinButton, Li as SpinRow, N as Spinner, Kr as SplitButton, He as StatusPage, se as Switch, si as SwitchRow, wt as TabBar, Tt as TabItem, Et as TabPanel, D as Text, de as TextField, Va as Timeline, Ht as Toast, Ut as Toaster, lr as ToggleGroup, ur as ToggleGroupItem, Jr as Toolbar, ha as ToolbarView, vt as Tooltip, jt as ViewSwitcher, rr as ViewSwitcherBar, Mt as ViewSwitcherItem, Br as ViewSwitcherSidebar, Vr as ViewSwitcherSidebarItem, _a as WindowTitle, pr as WrapBox, We as useBreakpoint, qi as useNavigation, ut as useSidebarCollapsed };
|
|
4300
4356
|
|
|
4301
4357
|
//# sourceMappingURL=index.js.map
|