@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/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 { ag as s, S as _, al as E, ae as A, ah as T, bx as L, aj as C, ai as O, bj as e, am as t, t as I, a0 as o, l as R, m as i, r as n, u as l, o as D, i as N, p as G, n as B, bs as b, j as F, k as r, q as P, s as U, bt as d, B as M, bu as u, v as x, aw as p, by as y, at as g, ao as H, af as X, ak as z, a2 as Y, az as Z, aq as c, bz as m, ay as W, ar as h, ap as V, av as f, aA as w, aC as J, aD as k, C as v, aK as K, a5 as j, A as q, aB as Q, aE as $, a9 as SS, aL as aS, aF as sS, aG as _S, aa as ES, D as AS, a6 as TS, b3 as LS, b2 as CS, Z as OS, a$ as eS, I as tS, H as IS, F as oS, G as RS, E as iS, U as nS, T as lS, bv as DS, W as NS, V as GS, bk as BS, a8 as bS, an as FS, a7 as rS, bl as PS, be as US, $ as dS, bf as MS, ax as uS, Q as xS, L as pS, J as yS, N as gS, K as HS, bm as XS, bn as zS, bo as YS, bp as ZS, bq as cS, aP as mS, aO as WS, aV as hS, aN as VS, bA as fS, aQ as wS, aU as JS, aS as kS, aR as vS, R as KS, br as jS, b as qS, M as QS, c as $S, d as Sa, a as aa, bd as sa, bg as _a, aM 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, aJ as na, bh as la, bw as Da, ad as Na, b6 as Ga, b4 as Ba, aT as ba, b7 as Fa, b8 as ra, b5 as Pa, a1 as Ua, a3 as da, aH as Ma, X as ua, aX as xa, aW as pa, b1 as ya, Y as ga, ab as Ha, b9 as Xa, bb as za, aI as Ya, bi as Za, aY as ca, b0 as ma, aZ as Wa, a4 as ha, ac as Va, bc as fa, ba as wa } from "./types-B2oLQKyl.js";
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
- M as BOX_SHADOW_CLASSES,
30
- u as BOX_SHADOW_VALUES,
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
- v as COLOR_CLASSES,
50
- K as COLOR_RGBA_ALPHA,
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
- MS as FontStyles,
84
- uS as FontWeights,
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
- vS as InputTextTypes,
104
- KS as JUSTIFY_SELF_CLASSES,
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
- Ma as TAG_SIZE,
138
- ua as TEXT_ALIGN_CLASSES,
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionalui/functionalui",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"