flufi-ui 0.1.7 → 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.
- package/dist/{chunk-2S7QGUTX.js → chunk-GNCMRNGO.js} +9 -33
- package/dist/components/index.css +8 -3
- package/dist/components/index.d.ts +7 -8
- package/dist/components/index.js +1 -1
- package/dist/index.css +8 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/style.css +8 -3
- package/package.json +1 -1
|
@@ -1178,44 +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.class
|
|
1189
|
-
),
|
|
1190
|
-
children: props.children
|
|
1191
|
-
}
|
|
1192
|
-
);
|
|
1188
|
+
return /* @__PURE__ */ jsx18("h1", { class: getClasses2(props), children: props.children });
|
|
1193
1189
|
}
|
|
1194
1190
|
function Header2(props) {
|
|
1195
|
-
return /* @__PURE__ */ jsx18(
|
|
1196
|
-
"h2",
|
|
1197
|
-
{
|
|
1198
|
-
class: addClass(
|
|
1199
|
-
"header",
|
|
1200
|
-
props.underline && "underline",
|
|
1201
|
-
props.class
|
|
1202
|
-
),
|
|
1203
|
-
children: props.children
|
|
1204
|
-
}
|
|
1205
|
-
);
|
|
1191
|
+
return /* @__PURE__ */ jsx18("h2", { class: getClasses2(props), children: props.children });
|
|
1206
1192
|
}
|
|
1207
1193
|
function Header3(props) {
|
|
1208
|
-
return /* @__PURE__ */ jsx18(
|
|
1209
|
-
"h3",
|
|
1210
|
-
{
|
|
1211
|
-
class: addClass(
|
|
1212
|
-
"header",
|
|
1213
|
-
props.underline && "underline",
|
|
1214
|
-
props.class
|
|
1215
|
-
),
|
|
1216
|
-
children: props.children
|
|
1217
|
-
}
|
|
1218
|
-
);
|
|
1194
|
+
return /* @__PURE__ */ jsx18("h3", { class: getClasses2(props), children: props.children });
|
|
1219
1195
|
}
|
|
1220
1196
|
function MiniHeader(props) {
|
|
1221
1197
|
return /* @__PURE__ */ jsx18(
|
|
@@ -555,9 +555,14 @@ a.button {
|
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
/* src/components/Header/Header.css */
|
|
558
|
-
.header
|
|
559
|
-
|
|
560
|
-
|
|
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;
|
|
@@ -176,21 +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
|
+
};
|
|
185
|
+
declare function Header1(props: HeaderProps): preact.JSX.Element;
|
|
184
186
|
declare function Header2(props: {
|
|
185
187
|
children?: ComponentChildren;
|
|
186
188
|
class?: string;
|
|
187
189
|
underline?: boolean;
|
|
190
|
+
centered?: boolean;
|
|
188
191
|
}): preact.JSX.Element;
|
|
189
|
-
declare function Header3(props:
|
|
190
|
-
children?: ComponentChildren;
|
|
191
|
-
class?: string;
|
|
192
|
-
underline?: boolean;
|
|
193
|
-
}): preact.JSX.Element;
|
|
192
|
+
declare function Header3(props: HeaderProps): preact.JSX.Element;
|
|
194
193
|
declare function MiniHeader(props: {
|
|
195
194
|
children?: ComponentChildren;
|
|
196
195
|
class?: string;
|
|
@@ -417,4 +416,4 @@ declare function WrapList(props: {
|
|
|
417
416
|
min_size?: number;
|
|
418
417
|
}): preact.JSX.Element;
|
|
419
418
|
|
|
420
|
-
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.css
CHANGED
|
@@ -667,9 +667,14 @@ a.button {
|
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
/* src/components/Header/Header.css */
|
|
670
|
-
.header
|
|
671
|
-
|
|
672
|
-
|
|
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.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
package/dist/style.css
CHANGED
|
@@ -667,9 +667,14 @@ a.button {
|
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
/* src/components/Header/Header.css */
|
|
670
|
-
.header
|
|
671
|
-
|
|
672
|
-
|
|
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;
|