amotify 0.3.24 → 0.3.26

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.
@@ -23,6 +23,7 @@ declare namespace Logo {
23
23
  ComunLogoH: (p: DefaultLogoInput) => React.JSX.Element;
24
24
  ComunLogoV: (p: DefaultLogoInput) => React.JSX.Element;
25
25
  Google: (p: DefaultLogoInput) => React.JSX.Element;
26
+ Instagram: (p: DefaultLogoInput) => React.JSX.Element;
26
27
  Facebook: (p: DefaultLogoInput) => React.JSX.Element;
27
28
  Twitter: (p: DefaultLogoInput) => React.JSX.Element;
28
29
  LINE: (p: DefaultLogoInput) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import{b as l,c,d as m}from"../chunk-C5N2D3ZX.js";import{Fragment as A,jsx as e,jsxs as I}from"react/jsx-runtime";import T from"jmini";import{Flex as L,Img as C}from".";import{LogoClasses as a}from"../@styles/componentClasses";const S={ComunIcon:()=>e("svg",{viewBox:"0,0,1200,1200",className:a("ComunIcon"),children:I("g",{children:[e("path",{d:`
1
+ import{b as l,c,d as m}from"../chunk-C5N2D3ZX.js";import{Fragment as d,jsx as e,jsxs as I}from"react/jsx-runtime";import S from"jmini";import{Flex as L,Img as C}from".";import{LogoClasses as a}from"../@styles/componentClasses";const T={ComunIcon:()=>e("svg",{viewBox:"0,0,1200,1200",className:a("ComunIcon"),children:I("g",{children:[e("path",{d:`
2
2
  M
3
3
  100,600
4
4
  A 500,500 0 0,0 600,1100
@@ -32,7 +32,7 @@ import{b as l,c,d as m}from"../chunk-C5N2D3ZX.js";import{Fragment as A,jsx as e,
32
32
  A 500,500 0 0,1 500,200
33
33
  A 100,100 0 0,1 600,100
34
34
  Z
35
- `,style:{opacity:.9,fill:"#9a66ff"}})]})}),MingooIcon:()=>{const o=t=>I(A,{children:[e("path",{d:`
35
+ `,style:{opacity:.9,fill:"#9a66ff"}})]})}),MingooIcon:()=>{const o=t=>I(d,{children:[e("path",{d:`
36
36
  M
37
37
  600,100
38
38
  A 80,80 0 0,1 600,260
@@ -48,4 +48,4 @@ import{b as l,c,d as m}from"../chunk-C5N2D3ZX.js";import{Fragment as A,jsx as e,
48
48
  L600,600
49
49
  L600,300
50
50
  Z
51
- `,className:[a("P"),a("P_"+t)].join(" "),style:{fill:"#ea6093"}})]});return I("svg",{viewBox:"0,0,1200,1200",className:a("MingooIcon"),children:[o(0),o(1),o(2),o(3),o(4),o(5),o(6),o(7),o(8)]})}},u={Icon:o=>e(s.Icon,c(l({},o),{children:e(S.MingooIcon,{})})),Title:o=>e(s.Title,c(l({className:a("ComunTitle"),height:"auto"},o),{xcss:l({letterSpacing:"3px"},o.xcss),children:"mingoo"})),LogoH:o=>{let n=o,{size:t,color:g}=n,i=m(n,["size","color"]);return I(L,c(l({gap:"1/2",flexCenter:!0},i),{children:[e(u.Icon,{size:t,color:g}),e(u.Title,{size:t,color:g})]}))},LogoV:o=>{let n=o,{size:t,color:g}=n,i=m(n,["size","color"]);return I(L,c(l({flexType:"col",gap:"1/2"},i),{children:[e(u.Icon,{margin:"auto",size:t,color:g}),e(u.Title,{size:t,color:g})]}))}},p={Icon:o=>e(s.Icon,c(l({},o),{children:e(S.ComunIcon,{})})),Title:o=>e(s.Title,c(l({className:a("ComunTitle"),height:"auto"},o),{xcss:l({letterSpacing:"3px"},o.xcss),children:"comun"})),LogoH:o=>{let n=o,{size:t,color:g}=n,i=m(n,["size","color"]);return I(L,c(l({gap:"1/2",flexCenter:!0},i),{children:[e(p.Icon,{size:t,color:g}),e(p.Title,{size:t,color:g})]}))},LogoV:o=>{let n=o,{size:t,color:g}=n,i=m(n,["size","color"]);return I(L,c(l({flexType:"col",gap:"1/2"},i),{children:[e(p.Icon,{margin:"auto",size:t,color:g}),e(p.Title,{size:t,color:g})]}))}};let r="https://cdn.amotify.com/";const s={Icon:o=>{let f=o,{size:t="R",color:g="normal",className:i="",children:n}=f,h=m(f,["size","color","className","children"]);return e(L,c(l({className:[i,a("Icon"),a("Size_"+t)].join(" "),verticalAlign:"center"},h),{children:T.isFunction(n)?e(n,{}):n}))},Title:o=>{let f=o,{size:t="R",color:g="normal",className:i="",children:n}=f,h=m(f,["size","color","className","children"]);return e(L,c(l({className:[i,a("Title"),a("Size_"+t)].join(" "),verticalAlign:"center",fontColor:g=="white"?"white":"logo"},h),{children:T.isFunction(n)?e(n,{}):n}))},Brands:{MingooIcon:u.Icon,MingooTitle:u.Title,MingooLogoH:u.LogoH,MingooLogoV:u.LogoV,ComunIcon:p.Icon,ComunTitle:p.Title,ComunLogoH:p.LogoH,ComunLogoV:p.LogoV,Google:o=>e(s.Icon,c(l({},o),{children:e(C,{src:r+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:o=>e(s.Icon,c(l({},o),{children:e(C,{src:r+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:o=>e(s.Icon,c(l({},o),{children:e(C,{src:r+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:o=>e(s.Icon,c(l({},o),{children:e(C,{src:r+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:r+"@env/@logos/mingoo/icon.png",mingooIconClear:r+"@env/@logos/mingoo/iconClear.png",comunIcon:r+"@env/@logos/comun/icon.png",comunIconClear:r+"@env/@logos/comun/iconClear.png",defaultIcon:o=>r+"@env/@icon/"+(o||"image")+".png"}};export{s as Logo,s as default};
51
+ `,className:[a("P"),a("P_"+t)].join(" "),style:{fill:"#ea6093"}})]});return I("svg",{viewBox:"0,0,1200,1200",className:a("MingooIcon"),children:[o(0),o(1),o(2),o(3),o(4),o(5),o(6),o(7),o(8)]})}},u={Icon:o=>e(s.Icon,c(l({},o),{children:e(T.MingooIcon,{})})),Title:o=>e(s.Title,c(l({className:a("ComunTitle"),height:"auto"},o),{xcss:l({letterSpacing:"3px"},o.xcss),children:"mingoo"})),LogoH:o=>{let n=o,{size:t,color:g}=n,i=m(n,["size","color"]);return I(L,c(l({gap:"1/2",flexCenter:!0},i),{children:[e(u.Icon,{size:t,color:g}),e(u.Title,{size:t,color:g})]}))},LogoV:o=>{let n=o,{size:t,color:g}=n,i=m(n,["size","color"]);return I(L,c(l({flexType:"col",gap:"1/2"},i),{children:[e(u.Icon,{margin:"auto",size:t,color:g}),e(u.Title,{size:t,color:g})]}))}},p={Icon:o=>e(s.Icon,c(l({},o),{children:e(T.ComunIcon,{})})),Title:o=>e(s.Title,c(l({className:a("ComunTitle"),height:"auto"},o),{xcss:l({letterSpacing:"3px"},o.xcss),children:"comun"})),LogoH:o=>{let n=o,{size:t,color:g}=n,i=m(n,["size","color"]);return I(L,c(l({gap:"1/2",flexCenter:!0},i),{children:[e(p.Icon,{size:t,color:g}),e(p.Title,{size:t,color:g})]}))},LogoV:o=>{let n=o,{size:t,color:g}=n,i=m(n,["size","color"]);return I(L,c(l({flexType:"col",gap:"1/2"},i),{children:[e(p.Icon,{margin:"auto",size:t,color:g}),e(p.Title,{size:t,color:g})]}))}};let r="https://cdn.amotify.com/";const s={Icon:o=>{let f=o,{size:t="R",color:g="normal",className:i="",children:n}=f,h=m(f,["size","color","className","children"]);return e(L,c(l({className:[i,a("Icon"),a("Size_"+t)].join(" "),verticalAlign:"center"},h),{children:S.isFunction(n)?e(n,{}):n}))},Title:o=>{let f=o,{size:t="R",color:g="normal",className:i="",children:n}=f,h=m(f,["size","color","className","children"]);return e(L,c(l({className:[i,a("Title"),a("Size_"+t)].join(" "),verticalAlign:"center",fontColor:g=="white"?"white":"logo"},h),{children:S.isFunction(n)?e(n,{}):n}))},Brands:{MingooIcon:u.Icon,MingooTitle:u.Title,MingooLogoH:u.LogoH,MingooLogoV:u.LogoV,ComunIcon:p.Icon,ComunTitle:p.Title,ComunLogoH:p.LogoH,ComunLogoV:p.LogoV,Google:o=>e(s.Icon,c(l({},o),{children:e(C,{src:r+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Instagram:o=>e(s.Icon,c(l({},o),{children:e(C,{src:r+"@env/@logos/brands/Instagram.svg",alt:""})})),Facebook:o=>e(s.Icon,c(l({},o),{children:e(C,{src:r+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:o=>e(s.Icon,c(l({},o),{children:e(C,{src:r+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:o=>e(s.Icon,c(l({},o),{children:e(C,{src:r+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:r+"@env/@logos/mingoo/icon.png",mingooIconClear:r+"@env/@logos/mingoo/iconClear.png",comunIcon:r+"@env/@logos/comun/icon.png",comunIconClear:r+"@env/@logos/comun/iconClear.png",defaultIcon:o=>r+"@env/@icon/"+(o||"image")+".png"}};export{s as Logo,s as default};
@@ -10,13 +10,13 @@ declare namespace Plate {
10
10
  <E extends React.ElementType = typeof Box>(p: Input<E>): React.JSX.Element;
11
11
  };
12
12
  type FNs = {
13
- Min: React.FC<Input>;
14
- XSmall: React.FC<Input>;
15
- Small: React.FC<Input>;
16
- Regular: React.FC<Input>;
17
- Large: React.FC<Input>;
18
- XLarge: React.FC<Input>;
19
- Max: React.FC<Input>;
13
+ Min: Component;
14
+ XSmall: Component;
15
+ Small: Component;
16
+ Regular: Component;
17
+ Large: Component;
18
+ XLarge: Component;
19
+ Max: Component;
20
20
  };
21
21
  type Methods = Component & FNs;
22
22
  }
package/dist/fn/Plate.js CHANGED
@@ -1 +1 @@
1
- import{b as t,c as r,d as u}from"../chunk-C5N2D3ZX.js";import{jsx as s}from"react/jsx-runtime";import o from"jmini";import{Box as f}from"../atoms";const l=e=>{let m=e,{jsxElement:x=f,size:p="R"}=m,i=u(m,["jsxElement","size"]),n=1;return o.isOneOf(p,"MIN")?n=36:o.isOneOf(p,"XS","xSmall")?n=48:o.isOneOf(p,"S","small")?n=60:o.isOneOf(p,"R","regular")?n=72:o.isOneOf(p,"L","large")?n=84:o.isOneOf(p,"XL","xLarge")?n=100:o.isOneOf(p,"MAX")&&(n=120),s(x,r(t({margin:[0,"auto"],width:1},i),{xcss:t({maxWidth:12*n},i.xcss)}))},a=l;a.Min=e=>s(l,t({size:"MIN"},e)),a.XSmall=e=>s(l,t({size:"XS"},e)),a.Small=e=>s(l,t({size:"S"},e)),a.Regular=e=>s(l,t({size:"R"},e)),a.Large=e=>s(l,t({size:"L"},e)),a.XLarge=e=>s(l,t({size:"XL"},e)),a.Max=e=>s(l,t({size:"MAX"},e));export{a as Plate,a as default};
1
+ import{b as t,c as r,d as x}from"../chunk-C5N2D3ZX.js";import{jsx as s}from"react/jsx-runtime";import m from"jmini";import{Box as g}from"../atoms";const l=e=>{let i=e,{jsxElement:f=g,size:a="R"}=i,p=x(i,["jsxElement","size"]),n=1;return m.isOneOf(a,"MIN")?n=36:m.isOneOf(a,"XS","xSmall")?n=48:m.isOneOf(a,"S","small")?n=60:m.isOneOf(a,"R","regular")?n=72:m.isOneOf(a,"L","large")?n=84:m.isOneOf(a,"XL","xLarge")?n=100:m.isOneOf(a,"MAX")&&(n=120),s(f,r(t({margin:[0,"auto"],width:1},p),{xcss:t({maxWidth:12*n},p.xcss)}))},o=l;o.Min=e=>s(l,t({size:"MIN"},e)),o.XSmall=e=>s(l,t({size:"xSmall"},e)),o.Small=e=>s(l,t({size:"small"},e)),o.Regular=e=>s(l,t({},e)),o.Large=e=>s(l,t({size:"large"},e)),o.XLarge=e=>s(l,t({size:"xLarge"},e)),o.Max=e=>s(l,t({size:"MAX"},e));export{o as Plate,o as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.3.24",
3
+ "version": "0.3.26",
4
4
  "description": "UI Component for React,NextJS,esbuild",
5
5
  "scripts": {
6
6
  "start": "run-p clean build:*",