flufi-ui 0.1.8 → 0.1.9
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.
|
@@ -1178,45 +1178,20 @@ function FormalInput(props) {
|
|
|
1178
1178
|
|
|
1179
1179
|
// src/components/Header/Header.tsx
|
|
1180
1180
|
import { jsx as jsx18 } from "preact/jsx-runtime";
|
|
1181
|
+
var getClasses2 = (props) => addClass(
|
|
1182
|
+
"header",
|
|
1183
|
+
props.underline && "underline",
|
|
1184
|
+
props.centered && "centered",
|
|
1185
|
+
props.class
|
|
1186
|
+
);
|
|
1181
1187
|
function Header1(props) {
|
|
1182
|
-
return /* @__PURE__ */ jsx18(
|
|
1183
|
-
"h1",
|
|
1184
|
-
{
|
|
1185
|
-
class: addClass(
|
|
1186
|
-
"header",
|
|
1187
|
-
props.underline && "underline",
|
|
1188
|
-
props.centered && "centered",
|
|
1189
|
-
props.class
|
|
1190
|
-
),
|
|
1191
|
-
children: props.children
|
|
1192
|
-
}
|
|
1193
|
-
);
|
|
1188
|
+
return /* @__PURE__ */ jsx18("h1", { class: getClasses2(props), children: props.children });
|
|
1194
1189
|
}
|
|
1195
1190
|
function Header2(props) {
|
|
1196
|
-
return /* @__PURE__ */ jsx18(
|
|
1197
|
-
"h2",
|
|
1198
|
-
{
|
|
1199
|
-
class: addClass(
|
|
1200
|
-
"header",
|
|
1201
|
-
props.underline && "underline",
|
|
1202
|
-
props.class
|
|
1203
|
-
),
|
|
1204
|
-
children: props.children
|
|
1205
|
-
}
|
|
1206
|
-
);
|
|
1191
|
+
return /* @__PURE__ */ jsx18("h2", { class: getClasses2(props), children: props.children });
|
|
1207
1192
|
}
|
|
1208
1193
|
function Header3(props) {
|
|
1209
|
-
return /* @__PURE__ */ jsx18(
|
|
1210
|
-
"h3",
|
|
1211
|
-
{
|
|
1212
|
-
class: addClass(
|
|
1213
|
-
"header",
|
|
1214
|
-
props.underline && "underline",
|
|
1215
|
-
props.class
|
|
1216
|
-
),
|
|
1217
|
-
children: props.children
|
|
1218
|
-
}
|
|
1219
|
-
);
|
|
1194
|
+
return /* @__PURE__ */ jsx18("h3", { class: getClasses2(props), children: props.children });
|
|
1220
1195
|
}
|
|
1221
1196
|
function MiniHeader(props) {
|
|
1222
1197
|
return /* @__PURE__ */ jsx18(
|
|
@@ -176,22 +176,20 @@ declare function FormalInput(props: {
|
|
|
176
176
|
children: ComponentChildren;
|
|
177
177
|
}): preact.JSX.Element;
|
|
178
178
|
|
|
179
|
-
|
|
179
|
+
type HeaderProps = {
|
|
180
180
|
children?: ComponentChildren;
|
|
181
181
|
class?: string;
|
|
182
182
|
underline?: boolean;
|
|
183
183
|
centered?: boolean;
|
|
184
|
-
}
|
|
184
|
+
};
|
|
185
|
+
declare function Header1(props: HeaderProps): preact.JSX.Element;
|
|
185
186
|
declare function Header2(props: {
|
|
186
187
|
children?: ComponentChildren;
|
|
187
188
|
class?: string;
|
|
188
189
|
underline?: boolean;
|
|
190
|
+
centered?: boolean;
|
|
189
191
|
}): preact.JSX.Element;
|
|
190
|
-
declare function Header3(props:
|
|
191
|
-
children?: ComponentChildren;
|
|
192
|
-
class?: string;
|
|
193
|
-
underline?: boolean;
|
|
194
|
-
}): preact.JSX.Element;
|
|
192
|
+
declare function Header3(props: HeaderProps): preact.JSX.Element;
|
|
195
193
|
declare function MiniHeader(props: {
|
|
196
194
|
children?: ComponentChildren;
|
|
197
195
|
class?: string;
|
|
@@ -418,4 +416,4 @@ declare function WrapList(props: {
|
|
|
418
416
|
min_size?: number;
|
|
419
417
|
}): preact.JSX.Element;
|
|
420
418
|
|
|
421
|
-
export { AsideContainer, Branch, Button, type ButtonProps, type ButtonVariant, CalendarInput, Case, Checkbox, ClickFade, ColorPicker, Container, type ContainerProps, Content, type ContextMenuItem, type ContextMenuPosition, DotSeperator, Else, FileIcon, FilePath, FooterContainer, FormalInput, Header1, Header2, Header3, HeaderContainer, IconButton, IconLinkButton, If, Image, ImageInput, Input, Label, LinkButton, type LinkButtonProps, type Loaded, Loading, MainContainer, MiniHeader, ModalHost, PathInput, type PopoutButtonProps, PopoutContainer, PopoutIconButton, type PopoutProps, PopoutTextButton, PopoutTextIconButton, SelectBox, Seperator, Slider, Switch, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tabs, Tag, TagList, TagListInput, Text, TextButton, TextIconButton, TextIconLinkButton, TextLinkButton, Textarea, Then, Throbber, type Toast, ToastContainer, type ToastStatus, UploadBox, WrapList, closeContextMenu, closeModal, getFileIcon, openContextMenu, openContextMenuOn, showModal, useToast };
|
|
419
|
+
export { AsideContainer, Branch, Button, type ButtonProps, type ButtonVariant, CalendarInput, Case, Checkbox, ClickFade, ColorPicker, Container, type ContainerProps, Content, type ContextMenuItem, type ContextMenuPosition, DotSeperator, Else, FileIcon, FilePath, FooterContainer, FormalInput, Header1, Header2, Header3, HeaderContainer, type HeaderProps, IconButton, IconLinkButton, If, Image, ImageInput, Input, Label, LinkButton, type LinkButtonProps, type Loaded, Loading, MainContainer, MiniHeader, ModalHost, PathInput, type PopoutButtonProps, PopoutContainer, PopoutIconButton, type PopoutProps, PopoutTextButton, PopoutTextIconButton, SelectBox, Seperator, Slider, Switch, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tabs, Tag, TagList, TagListInput, Text, TextButton, TextIconButton, TextIconLinkButton, TextLinkButton, Textarea, Then, Throbber, type Toast, ToastContainer, type ToastStatus, UploadBox, WrapList, closeContextMenu, closeModal, getFileIcon, openContextMenu, openContextMenuOn, showModal, useToast };
|
package/dist/components/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AsideContainer, Branch, Button, ButtonProps, ButtonVariant, CalendarInput, Case, Checkbox, ClickFade, ColorPicker, Container, ContainerProps, Content, ContextMenuItem, ContextMenuPosition, DotSeperator, Else, FileIcon, FilePath, FooterContainer, FormalInput, Header1, Header2, Header3, HeaderContainer, IconButton, IconLinkButton, If, Image, ImageInput, Input, Label, LinkButton, LinkButtonProps, Loaded, Loading, MainContainer, MiniHeader, ModalHost, PathInput, PopoutButtonProps, PopoutContainer, PopoutIconButton, PopoutProps, PopoutTextButton, PopoutTextIconButton, SelectBox, Seperator, Slider, Switch, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tabs, Tag, TagList, TagListInput, Text, TextButton, TextIconButton, TextIconLinkButton, TextLinkButton, Textarea, Then, Throbber, Toast, ToastContainer, ToastStatus, UploadBox, WrapList, closeContextMenu, closeModal, getFileIcon, openContextMenu, openContextMenuOn, showModal, useToast } from './components/index.js';
|
|
1
|
+
export { AsideContainer, Branch, Button, ButtonProps, ButtonVariant, CalendarInput, Case, Checkbox, ClickFade, ColorPicker, Container, ContainerProps, Content, ContextMenuItem, ContextMenuPosition, DotSeperator, Else, FileIcon, FilePath, FooterContainer, FormalInput, Header1, Header2, Header3, HeaderContainer, HeaderProps, IconButton, IconLinkButton, If, Image, ImageInput, Input, Label, LinkButton, LinkButtonProps, Loaded, Loading, MainContainer, MiniHeader, ModalHost, PathInput, PopoutButtonProps, PopoutContainer, PopoutIconButton, PopoutProps, PopoutTextButton, PopoutTextIconButton, SelectBox, Seperator, Slider, Switch, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tabs, Tag, TagList, TagListInput, Text, TextButton, TextIconButton, TextIconLinkButton, TextLinkButton, Textarea, Then, Throbber, Toast, ToastContainer, ToastStatus, UploadBox, WrapList, closeContextMenu, closeModal, getFileIcon, openContextMenu, openContextMenuOn, showModal, useToast } from './components/index.js';
|
|
2
2
|
export { C as CalendarDate, F as FileCategory, M as MaybeAsyncFunc, a as MaybeFunc, b as MaybeLoaded, c as MimeType, O as Option, S as Signalish, d as audioMimeTypes, e as convertPossibleNullishSignalToMaybeLoaded, f as convertPossibleNullishToMaybeLoaded, i as imageMimeTypes, g as isMaybeLoaded, h as isMime, j as isSignal, l as loaded, m as maybeLoadedIsLoaded, k as maybeLoadedIsNotLoaded, n as maybeLoadedMap, o as maybeLoadedUnwrap, p as notLoaded, q as peekSignalish, r as resolveMaybeAsyncFunc, s as resolveMaybeFunc, t as resolveSignalish } from './mime-rhdyiokw.js';
|
|
3
3
|
export { C as Comparable, n as nullish } from './misc-BNzd_rCz.js';
|
|
4
4
|
export { Result, Uuid, err, generateUuid, isResult, isUuid, ok, resultEqual, resultIsErr, resultIsOk, resultMap, resultMapErr, resultUnwrap, resultUnwrapErr } from './types/index.js';
|
package/dist/index.js
CHANGED