@functionalui/functionalui 0.1.1 → 0.1.3
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/main.cjs +2 -2
- package/dist/main.d.ts +41 -24
- package/dist/main.js +2421 -2365
- package/dist/{types-B2oLQKyl.js → types-hPYnu-T4.js} +94 -94
- package/dist/{types-B-Wi5X54.cjs → types-w9sPn-jR.cjs} +1 -1
- package/dist/types.cjs +1 -1
- package/dist/types.d.ts +12 -0
- package/dist/types.js +11 -11
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { AnimatedProps } from '@react-spring/web';
|
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
3
|
import { HTMLAttributes } from 'react';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
|
+
import { Ref } from 'react';
|
|
6
|
+
import { RefObject } from 'react';
|
|
5
7
|
|
|
6
8
|
declare interface AdmoitionSize {
|
|
7
9
|
title: {
|
|
@@ -337,6 +339,7 @@ export declare enum ButtonIconPositions {
|
|
|
337
339
|
|
|
338
340
|
export declare interface ButtonProps extends AnimatedProps<HTMLAttributes<HTMLButtonElement>>, StyleProps, ButtonStyleProps {
|
|
339
341
|
children?: ReactNode;
|
|
342
|
+
ref?: RefObject<HTMLButtonElement | null>;
|
|
340
343
|
}
|
|
341
344
|
|
|
342
345
|
export declare enum ButtonShadows {
|
|
@@ -709,6 +712,7 @@ export declare enum Displays {
|
|
|
709
712
|
|
|
710
713
|
export declare interface DivProps extends AnimatedProps<HTMLAttributes<HTMLDivElement>>, StyleProps {
|
|
711
714
|
children?: ReactNode;
|
|
715
|
+
ref?: RefObject<HTMLDivElement | null>;
|
|
712
716
|
}
|
|
713
717
|
|
|
714
718
|
/**
|
|
@@ -1005,6 +1009,7 @@ export declare enum GridRowGaps {
|
|
|
1005
1009
|
|
|
1006
1010
|
export declare interface HeadElementProps extends AnimatedProps<HTMLAttributes<HTMLHeadElement>>, TextStyleProps, HeaderProps {
|
|
1007
1011
|
children?: ReactNode;
|
|
1012
|
+
ref?: RefObject<HTMLHeadingElement | null>;
|
|
1008
1013
|
}
|
|
1009
1014
|
|
|
1010
1015
|
declare interface HeaderProps {
|
|
@@ -1388,6 +1393,7 @@ export declare enum JustifySelfs {
|
|
|
1388
1393
|
|
|
1389
1394
|
export declare interface LayoutDivProps extends AnimatedProps<HTMLAttributes<HTMLDivElement>>, LayoutProps {
|
|
1390
1395
|
children?: ReactNode;
|
|
1396
|
+
ref?: RefObject<HTMLDivElement | null>;
|
|
1391
1397
|
}
|
|
1392
1398
|
|
|
1393
1399
|
declare interface LayoutProps {
|
|
@@ -1408,6 +1414,7 @@ declare interface LayoutProps {
|
|
|
1408
1414
|
|
|
1409
1415
|
export declare interface LiProps extends AnimatedProps<HTMLAttributes<HTMLLIElement>>, StyleProps {
|
|
1410
1416
|
children?: ReactNode;
|
|
1417
|
+
ref?: RefObject<HTMLLIElement | null>;
|
|
1411
1418
|
}
|
|
1412
1419
|
|
|
1413
1420
|
export declare const MARGIN_BOTTOM_CLASSES: ClassType;
|
|
@@ -1463,6 +1470,7 @@ export declare const PADDING_TOP_CLASSES: ClassType;
|
|
|
1463
1470
|
|
|
1464
1471
|
export declare interface ParagraphProps extends AnimatedProps<HTMLAttributes<HTMLParagraphElement>>, TextStyleProps {
|
|
1465
1472
|
children?: ReactNode;
|
|
1473
|
+
ref?: RefObject<HTMLParagraphElement | null>;
|
|
1466
1474
|
}
|
|
1467
1475
|
|
|
1468
1476
|
export declare enum Portals {
|
|
@@ -1736,6 +1744,7 @@ export declare enum Spacings {
|
|
|
1736
1744
|
|
|
1737
1745
|
export declare interface SpanProps extends AnimatedProps<HTMLAttributes<HTMLSpanElement>>, TextStyleProps {
|
|
1738
1746
|
children?: ReactNode;
|
|
1747
|
+
ref?: RefObject<HTMLSpanElement | null>;
|
|
1739
1748
|
}
|
|
1740
1749
|
|
|
1741
1750
|
declare interface StyleProps {
|
|
@@ -1908,6 +1917,7 @@ declare interface TextAreaProp {
|
|
|
1908
1917
|
|
|
1909
1918
|
export declare interface TextAreaProps extends AnimatedProps<HTMLAttributes<HTMLTextAreaElement>>, TextStyleProps, TextAreaProp {
|
|
1910
1919
|
children?: ReactNode;
|
|
1920
|
+
ref?: Ref<HTMLTextAreaElement> | undefined;
|
|
1911
1921
|
}
|
|
1912
1922
|
|
|
1913
1923
|
export declare enum TextAreaSizes {
|
|
@@ -1938,6 +1948,7 @@ declare interface TextInputProp {
|
|
|
1938
1948
|
|
|
1939
1949
|
export declare interface TextInputProps extends AnimatedProps<HTMLAttributes<HTMLInputElement>>, TextStyleProps, TextInputProp {
|
|
1940
1950
|
children?: ReactNode;
|
|
1951
|
+
ref?: Ref<HTMLInputElement> | undefined;
|
|
1941
1952
|
}
|
|
1942
1953
|
|
|
1943
1954
|
declare interface TextStyleProps {
|
|
@@ -2035,6 +2046,7 @@ export declare type UiContextType = {
|
|
|
2035
2046
|
|
|
2036
2047
|
export declare interface UlProps extends AnimatedProps<HTMLAttributes<HTMLUListElement>>, StyleProps {
|
|
2037
2048
|
children?: ReactNode;
|
|
2049
|
+
ref?: RefObject<HTMLUListElement | null>;
|
|
2038
2050
|
}
|
|
2039
2051
|
|
|
2040
2052
|
export { }
|
package/dist/types.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ah as s, S as _, am as E, af as A, ai as T, bx as L, ak as C, aj as O, bk as e, an as t, t as I, a0 as o, j as R, k as i, r as n, u as l, o as D, i as N, p as G, n as B, bt as b, l as F, m as r, q as P, s as U, bu as d, B as u, bv as M, v as x, ax as p, by as y, au as g, ap as H, ag as X, al as z, a2 as Y, aA as Z, ar as c, bz as m, az as W, as as h, aq as V, aw as f, aB as w, aD as J, aE as k, C as K, aL as v, a5 as j, A as q, aC as Q, aF as $, aa as SS, aM as aS, aG as sS, aH as _S, ab as ES, D as AS, a6 as TS, b4 as LS, b3 as CS, Z as OS, b0 as eS, I as tS, H as IS, F as oS, G as RS, E as iS, U as nS, T as lS, bw as DS, W as NS, V as GS, bl as BS, a8 as bS, ao as FS, a7 as rS, bm as PS, bf as US, $ as dS, bg as uS, ay as MS, Q as xS, L as pS, J as yS, N as gS, K as HS, bn as XS, bo as zS, bp as YS, bq as ZS, br as cS, aQ as mS, aP as WS, aW as hS, aO as VS, bA as fS, aR as wS, aV as JS, aT as kS, aS as KS, R as vS, bs as jS, b as qS, M as QS, c as $S, d as Sa, a as aa, be as sa, bh as _a, aN as Ea, O as Aa, a$ as Ta, f as La, P as Ca, g as Oa, h as ea, e as ta, x as Ia, y as oa, z as Ra, w as ia, aK as na, bi as la, a9 as Da, ac as Na, b7 as Ga, b5 as Ba, aU as ba, b8 as Fa, b9 as ra, b6 as Pa, a1 as Ua, a3 as da, aI as ua, X as Ma, aY as xa, aX as pa, b2 as ya, Y as ga, ad as Ha, ba as Xa, bc as za, aJ as Ya, bj as Za, aZ as ca, b1 as ma, a_ as Wa, a4 as ha, ae as Va, bd as fa, bb as wa } from "./types-hPYnu-T4.js";
|
|
2
2
|
export {
|
|
3
3
|
s as ADMONITION_SIZE,
|
|
4
4
|
_ as ALIGN_SELF_CLASSES,
|
|
@@ -26,8 +26,8 @@ export {
|
|
|
26
26
|
P as BORDER_TOP_STYLE_CLASSES,
|
|
27
27
|
U as BORDER_WIDTH_CLASSES,
|
|
28
28
|
d as BORDER_WIDTH_VALUES,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
u as BOX_SHADOW_CLASSES,
|
|
30
|
+
M as BOX_SHADOW_VALUES,
|
|
31
31
|
x as BOX_SIZING_CLASSES,
|
|
32
32
|
p as BUTTON_COLORS,
|
|
33
33
|
y as BUTTON_SHADOWS_CLASSES,
|
|
@@ -46,8 +46,8 @@ export {
|
|
|
46
46
|
w as ButtonTypes,
|
|
47
47
|
J as CHECKBOX_COLORS,
|
|
48
48
|
k as CHECKBOX_SIZES,
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
K as COLOR_CLASSES,
|
|
50
|
+
v as COLOR_RGBA_ALPHA,
|
|
51
51
|
j as COLOR_VALUES,
|
|
52
52
|
q as CURSOR_CLASSES,
|
|
53
53
|
Q as CheckboxColors,
|
|
@@ -80,8 +80,8 @@ export {
|
|
|
80
80
|
PS as FlexWraps,
|
|
81
81
|
US as FontFamilies,
|
|
82
82
|
dS as FontSizes,
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
uS as FontStyles,
|
|
84
|
+
MS as FontWeights,
|
|
85
85
|
xS as GRID_ALIGN_CONTENT_CLASSES,
|
|
86
86
|
pS as GRID_COLUMN_GAP_CLASSES,
|
|
87
87
|
yS as GRID_GAP_CLASSES,
|
|
@@ -100,8 +100,8 @@ export {
|
|
|
100
100
|
wS as InputTextModes,
|
|
101
101
|
JS as InputTextSizes,
|
|
102
102
|
kS as InputTextStyles,
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
KS as InputTextTypes,
|
|
104
|
+
vS as JUSTIFY_SELF_CLASSES,
|
|
105
105
|
jS as JustifySelfs,
|
|
106
106
|
qS as MARGIN_BOTTOM_CLASSES,
|
|
107
107
|
QS as MARGIN_CLASSES,
|
|
@@ -134,8 +134,8 @@ export {
|
|
|
134
134
|
Pa as SelectedValuesStyles,
|
|
135
135
|
Ua as Sizings,
|
|
136
136
|
da as Spacings,
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
ua as TAG_SIZE,
|
|
138
|
+
Ma as TEXT_ALIGN_CLASSES,
|
|
139
139
|
xa as TEXT_AREA_COLOR,
|
|
140
140
|
pa as TEXT_AREA_SIZE,
|
|
141
141
|
ya as TEXT_AREA_STYLE,
|