flufi-ui 0.0.0-stage → 0.1.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.
- package/dist/chunk-6G3G7N5D.js +179 -0
- package/dist/chunk-CE4YXNWV.js +144 -0
- package/dist/chunk-EIYU7IQC.js +79 -0
- package/dist/chunk-PGRDIABO.js +1629 -0
- package/dist/chunk-TUAWAX6H.js +0 -0
- package/dist/common/index.d.ts +27 -0
- package/dist/common/index.js +41 -0
- package/dist/components/index.css +732 -0
- package/dist/components/index.d.ts +368 -0
- package/dist/components/index.js +128 -0
- package/dist/index.css +840 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +229 -0
- package/dist/mime-rhdyiokw.d.ts +60 -0
- package/dist/misc-BNzd_rCz.d.ts +4 -0
- package/dist/style.css +840 -0
- package/dist/types/index.d.ts +22 -0
- package/dist/types/index.js +66 -0
- package/package.json +46 -4
- package/README.md +0 -3
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Signal } from '@preact/signals';
|
|
2
|
+
import { CSSProperties } from 'preact';
|
|
3
|
+
import { n as nullish } from '../misc-BNzd_rCz.js';
|
|
4
|
+
|
|
5
|
+
declare const MOBILE: Signal<boolean>;
|
|
6
|
+
|
|
7
|
+
declare function addClass(...args: (string | undefined | null | false)[]): string | undefined;
|
|
8
|
+
declare function addTitle(...args: (string | nullish | false)[]): string | undefined;
|
|
9
|
+
declare function addStyles(...args: (CSSProperties | undefined | null | false)[]): CSSProperties | undefined;
|
|
10
|
+
declare const syncWrap: (func: (() => void | Promise<void>)) => (() => void);
|
|
11
|
+
declare function removeIndent(input: string): string;
|
|
12
|
+
declare function isNearBottom(container: HTMLElement, distance?: number): boolean;
|
|
13
|
+
declare function isNearTop(container: HTMLElement, distance?: number): boolean;
|
|
14
|
+
declare function calcHeight(elem: HTMLElement, offset?: number): void;
|
|
15
|
+
type QueryAttributeValue = string | number | Array<QueryAttributeValue>;
|
|
16
|
+
type QueryAttributes = ([string, QueryAttributeValue] | nullish | false | "")[];
|
|
17
|
+
declare function createQuery(...attrs: QueryAttributes): string;
|
|
18
|
+
declare function splitPath(path: string): string[];
|
|
19
|
+
declare function joinPathParts(parts: string[]): string;
|
|
20
|
+
declare function joinPath(base: string, other: string): string;
|
|
21
|
+
declare function splitFilePath(path: string): [string, string, string?];
|
|
22
|
+
declare function addExt(path: string, ext?: string | null): string;
|
|
23
|
+
declare const removeDuplicates: (arr: string[]) => string[];
|
|
24
|
+
declare function tryExtractName(file: string): string;
|
|
25
|
+
declare const iterate: <T>(count: number, func?: (i: number) => T) => (T | undefined)[];
|
|
26
|
+
|
|
27
|
+
export { MOBILE, type QueryAttributeValue, type QueryAttributes, addClass, addExt, addStyles, addTitle, calcHeight, createQuery, isNearBottom, isNearTop, iterate, joinPath, joinPathParts, removeDuplicates, removeIndent, splitFilePath, splitPath, syncWrap, tryExtractName };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import "../chunk-TUAWAX6H.js";
|
|
2
|
+
import {
|
|
3
|
+
MOBILE,
|
|
4
|
+
addClass,
|
|
5
|
+
addExt,
|
|
6
|
+
addStyles,
|
|
7
|
+
addTitle,
|
|
8
|
+
calcHeight,
|
|
9
|
+
createQuery,
|
|
10
|
+
isNearBottom,
|
|
11
|
+
isNearTop,
|
|
12
|
+
iterate,
|
|
13
|
+
joinPath,
|
|
14
|
+
joinPathParts,
|
|
15
|
+
removeDuplicates,
|
|
16
|
+
removeIndent,
|
|
17
|
+
splitFilePath,
|
|
18
|
+
splitPath,
|
|
19
|
+
syncWrap,
|
|
20
|
+
tryExtractName
|
|
21
|
+
} from "../chunk-CE4YXNWV.js";
|
|
22
|
+
export {
|
|
23
|
+
MOBILE,
|
|
24
|
+
addClass,
|
|
25
|
+
addExt,
|
|
26
|
+
addStyles,
|
|
27
|
+
addTitle,
|
|
28
|
+
calcHeight,
|
|
29
|
+
createQuery,
|
|
30
|
+
isNearBottom,
|
|
31
|
+
isNearTop,
|
|
32
|
+
iterate,
|
|
33
|
+
joinPath,
|
|
34
|
+
joinPathParts,
|
|
35
|
+
removeDuplicates,
|
|
36
|
+
removeIndent,
|
|
37
|
+
splitFilePath,
|
|
38
|
+
splitPath,
|
|
39
|
+
syncWrap,
|
|
40
|
+
tryExtractName
|
|
41
|
+
};
|