amotify 0.2.209 → 0.2.210
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/atoms/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ declare namespace Flex {
|
|
|
24
24
|
}
|
|
25
25
|
declare const Flex: React.FC<Flex.Input>;
|
|
26
26
|
declare const FlexBr: React.FC<Box.DefaultInput>;
|
|
27
|
+
declare const FlexMargin: React.FC<Box.DefaultInput>;
|
|
27
28
|
/**
|
|
28
29
|
* Div flex column container
|
|
29
30
|
*/
|
|
@@ -31,7 +32,7 @@ declare namespace Column {
|
|
|
31
32
|
type Input = Flex.Input;
|
|
32
33
|
}
|
|
33
34
|
declare const Column: React.FC<Column.Input>;
|
|
34
|
-
export { Span, P, Grid, Flex, FlexBr, Column };
|
|
35
|
+
export { Span, P, Grid, Flex, FlexBr, FlexMargin, Column };
|
|
35
36
|
export * from './FAI';
|
|
36
37
|
export * from './Img';
|
|
37
38
|
export * from './Logo';
|
package/dist/atoms/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as t,c as n}from"../chunk-C5N2D3ZX.js";import{jsx as p}from"react/jsx-runtime";export*from"./Box";import o from"./Box";const
|
|
1
|
+
import{b as t,c as n}from"../chunk-C5N2D3ZX.js";import{jsx as p}from"react/jsx-runtime";export*from"./Box";import o from"./Box";const r=e=>p(o,n(t({},e),{htmlTag:"span"})),x=e=>p(o,n(t({},e),{htmlTag:"p"})),l=e=>p(o,t({display:"grid"},e)),a=e=>p(o,n(t({flexType:"row",flexWrap:!0,display:"flex"},e),{freeCSS:t({wordBreak:"break-word"},e.freeCSS)})),u=e=>p(o,t({width:1,flexSizing:"none"},e)),f=e=>p(o,t({flexSizing:0},e)),c=e=>p(a,t({flexType:"col",gap:1},e));export*from"./FAI";export*from"./Img";export*from"./Logo";export*from"./Placeholder";export*from"./Card";export{c as Column,a as Flex,u as FlexBr,f as FlexMargin,l as Grid,x as P,r as Span};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as
|
|
1
|
+
import{e as l}from"../../chunk-C5N2D3ZX.js";import u,{useStore as t}from"jmini";const p=o=>l(void 0,null,function*(){let i={},n="form-process-"+o;if(t.get(n))return console.log("[CollectForm] already processing..."),{valid:!1,data:{}};t.set({[n]:!0});let s=1;return yield u.pending(()=>{},100),yield u.scope(()=>l(void 0,null,function*(){let m=document.activeElement;m&&m.blur();let c=t.get(["form-data",o].join("-"));if(c){for(let[r,a]of Object.entries(c)){if(!a)continue;let e=t.get(a.componentId);e&&e.Refresh&&(yield e.Refresh())}{let r=t.get(["form-data",o].join("-"));if(!r)return;for(let[a,e]of Object.entries(r))e&&(s&=Number(e.validation),i[a]=e.value)}}})),t.set({[n]:!1}),{valid:!!s,data:i}});export{p as CollectForm,p as default};
|
package/dist/index.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const amotify: {
|
|
|
51
51
|
Grid: import("react").FC<atoms.Box.DefaultInput>;
|
|
52
52
|
Flex: import("react").FC<atoms.Box.DefaultInput>;
|
|
53
53
|
FlexBr: import("react").FC<atoms.Box.DefaultInput>;
|
|
54
|
+
FlexMargin: import("react").FC<atoms.Box.DefaultInput>;
|
|
54
55
|
Column: import("react").FC<atoms.Box.DefaultInput>;
|
|
55
56
|
Box: <T extends import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> = "div">(p: atoms.Box.Input<T>) => import("react/jsx-runtime").JSX.Element | null;
|
|
56
57
|
FAI: atoms.FAI.Methods;
|