flufi-ui 0.1.7 → 0.1.8

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.
@@ -1185,6 +1185,7 @@ function Header1(props) {
1185
1185
  class: addClass(
1186
1186
  "header",
1187
1187
  props.underline && "underline",
1188
+ props.centered && "centered",
1188
1189
  props.class
1189
1190
  ),
1190
1191
  children: props.children
@@ -555,9 +555,14 @@ a.button {
555
555
  }
556
556
 
557
557
  /* src/components/Header/Header.css */
558
- .header.underline {
559
- border-bottom: 1px solid var(--prim);
560
- padding-bottom: 2px;
558
+ .header {
559
+ &.underline {
560
+ border-bottom: 1px solid var(--prim);
561
+ padding-bottom: 2px;
562
+ }
563
+ &.centered {
564
+ text-align: center;
565
+ }
561
566
  }
562
567
  .mini-header {
563
568
  text-transform: uppercase;
@@ -180,6 +180,7 @@ declare function Header1(props: {
180
180
  children?: ComponentChildren;
181
181
  class?: string;
182
182
  underline?: boolean;
183
+ centered?: boolean;
183
184
  }): preact.JSX.Element;
184
185
  declare function Header2(props: {
185
186
  children?: ComponentChildren;
@@ -68,7 +68,7 @@ import {
68
68
  openContextMenuOn,
69
69
  showModal,
70
70
  useToast
71
- } from "../chunk-2S7QGUTX.js";
71
+ } from "../chunk-7UIGI6VU.js";
72
72
  import "../chunk-4SMIDGNR.js";
73
73
  import "../chunk-6G3G7N5D.js";
74
74
  export {
package/dist/index.css CHANGED
@@ -667,9 +667,14 @@ a.button {
667
667
  }
668
668
 
669
669
  /* src/components/Header/Header.css */
670
- .header.underline {
671
- border-bottom: 1px solid var(--prim);
672
- padding-bottom: 2px;
670
+ .header {
671
+ &.underline {
672
+ border-bottom: 1px solid var(--prim);
673
+ padding-bottom: 2px;
674
+ }
675
+ &.centered {
676
+ text-align: center;
677
+ }
673
678
  }
674
679
  .mini-header {
675
680
  text-transform: uppercase;
package/dist/index.js CHANGED
@@ -71,7 +71,7 @@ import {
71
71
  openContextMenuOn,
72
72
  showModal,
73
73
  useToast
74
- } from "./chunk-2S7QGUTX.js";
74
+ } from "./chunk-7UIGI6VU.js";
75
75
  import {
76
76
  addClass,
77
77
  addExt,
package/dist/style.css CHANGED
@@ -667,9 +667,14 @@ a.button {
667
667
  }
668
668
 
669
669
  /* src/components/Header/Header.css */
670
- .header.underline {
671
- border-bottom: 1px solid var(--prim);
672
- padding-bottom: 2px;
670
+ .header {
671
+ &.underline {
672
+ border-bottom: 1px solid var(--prim);
673
+ padding-bottom: 2px;
674
+ }
675
+ &.centered {
676
+ text-align: center;
677
+ }
673
678
  }
674
679
  .mini-header {
675
680
  text-transform: uppercase;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flufi-ui",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "source": "src/index.ts",
6
6
  "main": "./dist/index.js",