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.
- package/dist/atoms/Logo.d.ts +1 -0
- package/dist/atoms/Logo.js +3 -3
- package/dist/fn/Plate.d.ts +7 -7
- package/dist/fn/Plate.js +1 -1
- package/package.json +1 -1
package/dist/atoms/Logo.d.ts
CHANGED
|
@@ -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;
|
package/dist/atoms/Logo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as l,c,d as m}from"../chunk-C5N2D3ZX.js";import{Fragment as
|
|
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(
|
|
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(
|
|
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};
|
package/dist/fn/Plate.d.ts
CHANGED
|
@@ -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:
|
|
14
|
-
XSmall:
|
|
15
|
-
Small:
|
|
16
|
-
Regular:
|
|
17
|
-
Large:
|
|
18
|
-
XLarge:
|
|
19
|
-
Max:
|
|
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
|
|
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};
|