wave-ui 3.24.0 → 3.25.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.
@@ -18,6 +18,8 @@ const st = ae({
18
18
  // Xl only needs a greater value than lg but starts from lg and goes to infinity.
19
19
  },
20
20
  css: {
21
+ prepend: !1,
22
+ // Prepend the CSS to the head instead of appending it.
21
23
  // Generate shades for custom colors and status colors.
22
24
  // Note: the color palette shades are always generated separately from SCSS.
23
25
  colorShades: !0,
@@ -534,6 +536,10 @@ const pt = (e, t) => {
534
536
  "d-iflex{display:inline-flex}",
535
537
  "d-block{display:block}",
536
538
  "d-iblock{display:inline-block}",
539
+ "por{position:relative}",
540
+ "poa{position:absolute}",
541
+ "pof{position:fixed}",
542
+ "pos{position:sticky}",
537
543
  "text-left{text-align:left}",
538
544
  "text-center{text-align:center}",
539
545
  "text-right{text-align:right}",
@@ -549,6 +555,8 @@ const pt = (e, t) => {
549
555
  "no-wrap{flex-wrap: nowrap}",
550
556
  "fill-width{width:100%}",
551
557
  "fill-height{height:100%}",
558
+ "h-auto{height:auto}",
559
+ "h-screen{height:100vh}",
552
560
  "basis-zero{flex-basis:0}",
553
561
  "align-start{align-items:flex-start}",
554
562
  "align-center{align-items:center}",
@@ -592,8 +600,14 @@ const pt = (e, t) => {
592
600
  if (pe = { keys: Object.keys(t.breakpoints), values: Object.values(t.breakpoints) }, !document.getElementById("wave-ui-styles")) {
593
601
  const i = document.createElement("style");
594
602
  i.id = "wave-ui-styles", i.innerHTML = yt(t);
595
- const s = document.head.querySelectorAll('style,link[rel="stylesheet"]')[0];
596
- s ? s.before(i) : document.head.appendChild(i);
603
+ const s = document.head.querySelectorAll('style,link[rel="stylesheet"]');
604
+ if (t.css.prependCss) {
605
+ const n = s[0];
606
+ n ? n.before(i) : document.head.prepend(i);
607
+ } else {
608
+ const n = s[s.length - 1];
609
+ n ? n.after(i) : document.head.appendChild(i);
610
+ }
597
611
  }
598
612
  Ve(e), window.addEventListener("resize", () => Ve(e));
599
613
  }, bt = (e, t, i) => {