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.
@@ -1516,7 +1516,7 @@ text5`}
1516
1516
  { value: 2,label: 'Option2' },
1517
1517
  { value: 3,label: 'Option3' },
1518
1518
  ] }
1519
- CustomIcon={ ( p ) => {
1519
+ CustomIcon={ p => {
1520
1520
  return <Button.Normal.S
1521
1521
  ssPushable
1522
1522
  color='cloud'
@@ -1534,7 +1534,7 @@ text5`}
1534
1534
  { value: 2,label: 'Option2' },
1535
1535
  { value: 3,label: 'Option3' },
1536
1536
  ] }
1537
- CustomIcon={ ( p ) => {
1537
+ CustomIcon={ p => {
1538
1538
  return <Button.Normal.S
1539
1539
  ssPushable
1540
1540
  color='cloud'
@@ -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';
@@ -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 a=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)),r=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(r,t({flexType:"col",gap:1},e));export*from"./FAI";export*from"./Img";export*from"./Logo";export*from"./Placeholder";export*from"./Card";export{f as Column,r as Flex,u as FlexBr,l as Grid,x as P,a as Span};
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 r}from"../../chunk-C5N2D3ZX.js";import u,{useStore as t}from"jmini";const p=o=>r(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(()=>r(void 0,null,function*(){let m=document.activeElement;m&&m.blur();let c=t.get(["form-data",o].join("-"));if(c){for(let[l,a]of Object.entries(c)){if(!a)continue;let e=t.get(a.componentId);e&&e.Refresh&&(yield e.Refresh())}{let l=t.get(["form-data",o].join("-"));if(!l)return;for(let[a,e]of Object.entries(l))e&&(s&=Number(e.validation),i[a]=e.value)}}})),console.log("fvsdafv"),t.set({[n]:!1}),{valid:!!s,data:i}});export{p as CollectForm,p as default};
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.2.209",
3
+ "version": "0.2.210",
4
4
  "description": "UI Component for React,NextJS,esbuild",
5
5
  "scripts": {
6
6
  "start": "run-p clean build:*",