flufi-ui 0.1.10 → 0.1.12

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.
@@ -288,6 +288,7 @@ function Input(props) {
288
288
  props.class
289
289
  ),
290
290
  ref: inputRef,
291
+ type: props.password ? "password" : "text",
291
292
  value: value.value,
292
293
  placeholder: props.placeholder,
293
294
  onInput: (ev) => {
@@ -676,6 +676,9 @@ a.button {
676
676
  > .loading {
677
677
  padding: 10px;
678
678
  }
679
+ > .button {
680
+ text-wrap: nowrap;
681
+ }
679
682
  }
680
683
  }
681
684
  .select-box {
@@ -218,6 +218,7 @@ declare function Input(props: {
218
218
  onUnFocus?: (ev: FocusEvent, value: string) => void;
219
219
  onEnter?: (value: string) => void;
220
220
  dirty?: Signal<boolean>;
221
+ password?: boolean;
221
222
  placeholder?: string;
222
223
  class?: string;
223
224
  }): preact.JSX.Element;
@@ -68,7 +68,7 @@ import {
68
68
  openContextMenuOn,
69
69
  showModal,
70
70
  useToast
71
- } from "../chunk-GNCMRNGO.js";
71
+ } from "../chunk-Y4FM2T5I.js";
72
72
  import "../chunk-4SMIDGNR.js";
73
73
  import "../chunk-6G3G7N5D.js";
74
74
  export {
package/dist/index.css CHANGED
@@ -788,6 +788,9 @@ a.button {
788
788
  > .loading {
789
789
  padding: 10px;
790
790
  }
791
+ > .button {
792
+ text-wrap: nowrap;
793
+ }
791
794
  }
792
795
  }
793
796
  .select-box {
package/dist/index.js CHANGED
@@ -71,7 +71,7 @@ import {
71
71
  openContextMenuOn,
72
72
  showModal,
73
73
  useToast
74
- } from "./chunk-GNCMRNGO.js";
74
+ } from "./chunk-Y4FM2T5I.js";
75
75
  import {
76
76
  addClass,
77
77
  addExt,
package/dist/style.css CHANGED
@@ -788,6 +788,9 @@ a.button {
788
788
  > .loading {
789
789
  padding: 10px;
790
790
  }
791
+ > .button {
792
+ text-wrap: nowrap;
793
+ }
791
794
  }
792
795
  }
793
796
  .select-box {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flufi-ui",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "type": "module",
5
5
  "source": "src/index.ts",
6
6
  "main": "./dist/index.js",