@bace51/cocktailjs-react 1.0.7 → 1.0.9
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/README.md +1 -1
- package/dist/index.cjs.js +1530 -1108
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +27 -29
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export const TikiGlass: AnyComponent;
|
|
|
39
39
|
export const ToddyGlass: AnyComponent;
|
|
40
40
|
export const WhiskeyShotGlass: AnyComponent;
|
|
41
41
|
export const WineGlass: AnyComponent;
|
|
42
|
-
export const glasses: {
|
|
42
|
+
export const glasses: Array<{ name: string; about: string }>;
|
|
43
43
|
|
|
44
44
|
declare const _default: {
|
|
45
45
|
Liquid: AnyComponent;
|
|
@@ -76,7 +76,7 @@ declare const _default: {
|
|
|
76
76
|
ToddyGlass: AnyComponent;
|
|
77
77
|
WhiskeyShotGlass: AnyComponent;
|
|
78
78
|
WineGlass: AnyComponent;
|
|
79
|
-
glasses: {
|
|
79
|
+
glasses: Array<{ name: string; about: string }>;
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
export default _default;
|
package/dist/index.mjs
CHANGED
|
@@ -1,70 +1,68 @@
|
|
|
1
|
-
import
|
|
2
|
-
M26 50 Q32 50 38 50 L36 60 L28 60 Z`,transform:"scale(
|
|
3
|
-
M26 50 Q32 50 38 50 L36 60 L28 60 Z`,stroke:"currentColor",strokeWidth:r,fill:"none"}),
|
|
1
|
+
import C from"react";function e({d:t,transform:o,liquidFill:r=null,liquidStyle:i=null,gradientAttr:a=null,opacity:tr=.7,idBase:Nr="liquidGrad",highlight:Pr=null,highlightColor:Er="#fff7c0",level:Ir=1,stopPositions:er=null,mixed:I=!1,mixedBlend:jr=.25,mixedOpacity:Jr=.85}){let j=!1,f=null;if(typeof a=="string"){let s=a.trim();if(s.startsWith("#"))j=!0;else if(s.startsWith("["))try{f=JSON.parse(s)}catch{f=null}else f=[s]}else Array.isArray(a)&&(f=a);(!f||!f.length)&&(r?f=Array.isArray(r)?r:[r]:f=["#93d3d8"]);let h=Pr==="liquid"||Pr==="all"?[Er,...f]:[...f],J;if(Array.isArray(er)&&er.length===h.length)J=er.map(s=>{let l=Number(s)||0;return Math.round(Math.max(0,Math.min(1,l))*100)});else{let s=Math.max(0,Math.min(1,Number(Ir)||0)),l=1-s;h.length===1?J=[100]:J=h.map((n,d)=>{let u=d/Math.max(1,h.length-1);return Math.round((l+u*s)*100)})}let ir=Nr;function lr(s){if(!s)return[0,0,0];let l=String(s).trim();l[0]==="#"&&(l=l.slice(1)),l.length===3&&(l=l.split("").map(d=>d+d).join(""));let n=parseInt(l,16);return[n>>16&255,n>>8&255,n&255]}function Vr(s,l,n){s/=255,l/=255,n/=255;let d=Math.max(s,l,n),u=Math.min(s,l,n),p=0,O=0,_=(d+u)/2;if(d!==u){let q=d-u;switch(O=_>.5?q/(2-d-u):q/(d+u),d){case s:p=(l-n)/q+(l<n?6:0);break;case l:p=(n-s)/q+2;break;case n:p=(s-l)/q+4;break}p/=6}return[p,O,_]}function Or([s,l,n]){return"#"+[s,l,n].map(d=>{let u=Math.round(Math.max(0,Math.min(255,d))).toString(16);return u.length===1?"0"+u:u}).join("")}function _r(s,l,n){let d=lr(s),u=lr(l),p=Math.round(d[0]*(1-n)+u[0]*n),O=Math.round(d[1]*(1-n)+u[1]*n),_=Math.round(d[2]*(1-n)+u[2]*n);return Or([p,O,_])}let V=null,S=null;if(I&&!j)try{let s=null,l=-1;for(let n of h){let d=lr(n),[,u]=Vr(d[0],d[1],d[2]);u>l&&(l=u,s=n)}V=s||h[0],S=h.map(n=>_r(V,n,Math.max(0,Math.min(1,jr))))}catch{V=h[0],S=h.slice()}return C.createElement(C.Fragment,null,!j&&C.createElement("defs",null,C.createElement("linearGradient",{id:ir,x1:"0",y1:"0",x2:"0",y2:"1"},(I&&S?S:h).map((s,l)=>C.createElement("stop",{key:l,offset:`${J[l]}%`,stopColor:s,stopOpacity:I&&S?Jr:1})))),C.createElement("path",{d:t,transform:o,className:"liquid",style:i||void 0,fill:i?void 0:j?`url(${a})`:I&&V?`url(#${ir})`:`url(#${ir})`,opacity:tr}))}import F from"react";function sr({liquidFill:t=["#A8E6CF","#DCEDC2","#FFD3B6"],size:o=80,strokeWidth:r=.5,idBase:i="AbsintheGlassGrad"}){let a=Math.floor(o*1.125);return F.createElement("svg",{width:o,height:a,viewBox:"0 0 64 90",preserveAspectRatio:"xMidYMax slice"},F.createElement(e,{d:`M20 35 L44 35 L42 49 Q32 52 22 49 Z
|
|
2
|
+
M26 50 Q32 50 38 50 L36 60 L28 60 Z`,transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),F.createElement("path",{d:`M20 35 L44 35 L42 49 Q32 52 22 49 Z
|
|
3
|
+
M26 50 Q32 50 38 50 L36 60 L28 60 Z`,stroke:"currentColor",strokeWidth:r,fill:"none"}),F.createElement("rect",{x:31,y:60,width:2,height:16,fill:"black",stroke:"currentColor",strokeWidth:r}),F.createElement("path",{d:" M24 77 Q32 76 40 77 L40 77 L24 77 Z ",fill:"currentColor",stroke:"currentColor",strokeWidth:r,rx:r}))}import L from"react";function nr({liquidFill:t=["#F6D29A","#D98F3A"],strokeWidth:o=1,idBase:r="BrandySnifterGlassGrad"}){return L.createElement("svg",{viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},L.createElement(e,{d:`M22 28
|
|
4
4
|
L42 28
|
|
5
5
|
L44 48
|
|
6
6
|
Q32 52 20 48
|
|
7
|
-
Z`,transform:"scale(
|
|
7
|
+
Z`,transform:"scale(1)",idBase:r,opacity:.7,liquidFill:t}),L.createElement("path",{d:`
|
|
8
8
|
M22 28
|
|
9
9
|
L42 28
|
|
10
10
|
L44 48
|
|
11
11
|
Q32 52 20 48
|
|
12
12
|
Z
|
|
13
|
-
`,fill:"none",stroke:"currentColor",strokeWidth:o}),
|
|
13
|
+
`,fill:"none",stroke:"currentColor",strokeWidth:o}),L.createElement("line",{x1:22,y1:28,x2:42,y2:28,stroke:"currentColor",strokeWidth:o}),L.createElement("rect",{x:30,y:50,width:4,height:5,fill:"currentColor",stroke:"currentColor",strokeWidth:o}),L.createElement("path",{d:"M24 55 Q32 54 40 55 L40 55 L24 55 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:o}))}import M from"react";function ar({liquidFill:t=["#FFF7C0","#FFD27A"],strokeWidth:o=.5,idBase:r="CollinsGlassGrad"}){return M.createElement("svg",{viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},M.createElement(e,{d:"M22 10 L42 10 L42 54 L22 54 Z",transform:"scale(1)",idBase:r,opacity:.7,liquidFill:t}),M.createElement("line",{x1:22,y1:10,x2:22,y2:54,stroke:"currentColor",strokeWidth:o}),M.createElement("line",{x1:42,y1:10,x2:42,y2:54,stroke:"currentColor",strokeWidth:o}),M.createElement("line",{x1:21.76,y1:10,x2:42.24,y2:10,stroke:"currentColor",strokeWidth:o}),M.createElement("rect",{x:22,y:54,width:20,height:2,fill:"currentColor",stroke:"currentColor",strokeWidth:o}))}import A from"react";function dr({size:t=80,strokeWidth:o=.5,fill:r="#B87333"}){return A.createElement("svg",{width:t,height:t,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},A.createElement("path",{d:"M47 23 C68 23 68 52 46.5 50",fill:"none",stroke:r,strokeWidth:o+2}),A.createElement("path",{d:`
|
|
14
14
|
M18 16
|
|
15
15
|
L46 16
|
|
16
16
|
C48 24 48 40 46 56
|
|
17
17
|
L18 56
|
|
18
18
|
C16 40 16 24 18 16
|
|
19
19
|
Z
|
|
20
|
-
`,transform:"scale(
|
|
20
|
+
`,transform:"scale(1)",fill:r}),A.createElement("path",{d:`
|
|
21
21
|
M18 16
|
|
22
22
|
L46 16
|
|
23
23
|
C48 24 48 40 46 56
|
|
24
24
|
L18 56
|
|
25
25
|
C16 40 16 24 18 16
|
|
26
26
|
Z
|
|
27
|
-
`,fill:"none",stroke:r,strokeWidth:o}),
|
|
27
|
+
`,fill:"none",stroke:r,strokeWidth:o}),A.createElement("line",{x1:18,y1:16,x2:46,y2:16,stroke:r,strokeWidth:o}))}import k from"react";var Kr={colors:{accent:{200:"#ffd180",500:"#e67e22"},warning:"#ffb300",success:"#4caf50",error:"#e53935",dark:{400:"#616161",700:"#212121",900:"#121212"}}};try{global.theme=Kr}catch{}function ur({liquidFill:t=null,strokeWidth:o=.5,idBase:r="CordialGlassGrad"}){return k.createElement("svg",{viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},k.createElement(e,{d:"M30 16 L35 16 Q34 25 31 26 Q30 26 28 16 Z",transform:"scale(1)",idBase:r,opacity:.7,liquidFill:t}),k.createElement("path",{d:"M28 16 L36 16 Q34 26 32 26 Q30 26 28 16 Z",stroke:"currentColor",strokeWidth:o,fill:"none"}),k.createElement("rect",{x:31.8,y:26,width:.5,height:6,fill:"currentColor",stroke:"currentColor",strokeWidth:o}),k.createElement("path",{d:"M28.5 17 L35.5 17 Q34 25 32 25 Q30 25 28.5 17 Z",fill:"rgba(255,255,255,0.06)"}),k.createElement("path",{d:"M28 32 Q32 31 36 32 L36 32 L28 32 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:o}))}import W from"react";function fr({liquidFill:t=null,size:o=80,strokeWidth:r=1,idBase:i="CoupeGlassGrad"}){return W.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},W.createElement(e,{d:`
|
|
28
28
|
M12 32 Q32 36 52 32 L52 18 Q32 18 12 18 Z
|
|
29
|
-
`,transform:"scale(
|
|
29
|
+
`,transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),W.createElement("path",{d:`
|
|
30
30
|
M12 32 Q32 36 52 32 L52 18 Q32 18 12 18 Z
|
|
31
|
-
`,fill:"none",stroke:"currentColor",strokeWidth:r})
|
|
31
|
+
`,fill:"none",stroke:"currentColor",strokeWidth:r}),W.createElement("path",{d:"M32 34 L32 60",stroke:"currentColor",strokeWidth:r}),W.createElement("path",{d:"M24 60 Q32 59 40 60 L40 60 L24 60 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import Y from"react";function hr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="DemitasseGlassGrad"}){return Y.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},Y.createElement("path",{d:"M20 24 L24 45 L40 45 L44 24 Z",fill:"none",stroke:"currentColor",strokeLinejoin:"miter",strokeWidth:r}),Y.createElement(e,{d:"M20 24 L24 45 L40 45 L44 24 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),Y.createElement("path",{d:"M43 30 Q55 30 41 40",stroke:"currentColor",fill:"none",strokeWidth:r}),Y.createElement("path",{d:"M24 45 Q32 45 40 45 L40 48 L24 48 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import K from"react";function mr({liquidFill:t=["#FFF7C0","#FFD27A"],size:o=64,strokeWidth:r=.5,idBase:i="DoubleShotGlassGrad"}){return K.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},K.createElement("path",{d:"M20 18 C22 30 22 46 22.5 58 L41.5 58 C42.5 46 42.5 30 44 18 Z",stroke:"currentColor",fill:"none",strokeWidth:r}),K.createElement(e,{d:"M20 18 C22 30 22 46 22.5 58 L41.5 58 C42.5 46 42.5 30 44 18 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),K.createElement("rect",{x:22.5,y:58,width:19,height:3,fill:"none",stroke:"currentColor",strokeWidth:r}))}import G from"react";function pr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="FizzGlassGrad"}){return G.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},G.createElement("path",{d:"M22 10 L42 10",stroke:"currentColor",strokeWidth:r}),G.createElement(e,{d:`
|
|
32
32
|
M22 10 L24 23 L40 23 L42 10 Z
|
|
33
|
-
`,transform:"scale(
|
|
34
|
-
M22 10 L24 23 L40 23 L42 10 Z
|
|
35
|
-
`,fill:"none",stroke:"currentColor",strokeWidth:r}),y.createElement("rect",{x:32,y:23,width:1,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),y.createElement("path",{d:"M26 33 Q32 32 38 33 L38 33 L26 33 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import A from"react";function cr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="FluteGlassGrad"}){return A.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},A.createElement(l,{d:`
|
|
33
|
+
`,transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),G.createElement("path",{d:"M22 10 L24 23 L40 23 L42 10 Z",fill:"none",stroke:"currentColor",strokeWidth:r}),G.createElement("rect",{x:32,y:23,width:1,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),G.createElement("path",{d:"M26 33 Q32 32 38 33 L38 33 L26 33 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import $ from"react";function cr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="FluteGlassGrad"}){return $.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},$.createElement(e,{d:`
|
|
36
34
|
M30 12
|
|
37
35
|
L34 12
|
|
38
36
|
L36 36
|
|
39
37
|
Q32 38 28 36
|
|
40
38
|
Z
|
|
41
|
-
`,transform:"scale(
|
|
39
|
+
`,transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),$.createElement("path",{d:`
|
|
42
40
|
M30 12
|
|
43
41
|
L34 12
|
|
44
42
|
L36 36
|
|
45
43
|
Q32 38 28 36
|
|
46
44
|
Z
|
|
47
|
-
`,fill:"none",stroke:"currentColor",strokeWidth:r})
|
|
45
|
+
`,fill:"none",stroke:"currentColor",strokeWidth:r}),$.createElement("rect",{x:32,y:37,width:r,height:16,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),$.createElement("path",{d:"M26 53 Q32 52 38 53 L38 53 L26 53 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import v from"react";function gr({liquidFill:t=null,size:o=80,strokeWidth:r=2,idBase:i="GobletGlassGrad"}){let a=Math.round(o*90/80);return v.createElement("svg",{width:o,height:a,viewBox:"0 0 64 90",preserveAspectRatio:"xMidYMax slice"},v.createElement("rect",{x:30.5,y:69,width:3,height:8,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),v.createElement(e,{d:" M19 28 L46 28 Q52 58 32 70 Q12 58 16 28 Z ",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),v.createElement("path",{d:`
|
|
48
46
|
M16 28
|
|
49
47
|
L48 28
|
|
50
48
|
Q52 58 32 70
|
|
51
49
|
Q12 58 16 28
|
|
52
50
|
Z
|
|
53
|
-
`,fill:"none",stroke:"currentColor",strokeWidth:r}),
|
|
51
|
+
`,fill:"none",stroke:"currentColor",strokeWidth:r}),v.createElement("line",{x1:16,y1:28,x2:48,y2:28,stroke:"currentColor",strokeWidth:r}),v.createElement("path",{d:" M24 77 Q32 76 40 77 L40 77 L24 77 Z ",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import U from"react";function xr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="HighballGlassGrad"}){return U.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},U.createElement(e,{d:"M18 10 L46 10 L46 60 L18 60 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),U.createElement("rect",{x:18,y:10,width:28,height:50,stroke:"currentColor",strokeWidth:r,fill:"none"}),U.createElement("rect",{x:18,y:60,width:28,height:2,fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import T from"react";function Cr({liquidFill:t=null,garnish:o=null,size:r=80,strokeWidth:i=.5,idBase:a="HurricaneGlassGrad"}){return T.createElement("svg",{width:r,height:r,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},T.createElement(e,{d:"M24 10 C16 22, 24 38, 28 44 C30 48, 34 48, 36 44 C40 38, 48 22, 40 10 Z",transform:"scale(1)",idBase:a,opacity:.7,liquidFill:t}),T.createElement("path",{d:"M24 10 C16 22, 24 38, 28 44 C30 48, 34 48, 36 44 C40 38, 48 22, 40 10 Z",stroke:"currentColor",fill:"none",strokeWidth:i}),T.createElement("rect",{x:30.5,y:47,width:3,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:i}),T.createElement("path",{d:"M26 57 Q32 56 38 57 L38 57 L26 57 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:i}))}import y from"react";function Lr({liquidFill:t=null,size:o=80,strokeWidth:r=2,idBase:i="IrishCoffeeGlassGrad"}){return y.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},y.createElement("path",{d:" M42 18 Q60 20 44 30 ",stroke:"currentColor",strokeWidth:r,fill:"none"}),y.createElement(e,{d:`
|
|
54
52
|
M22 16
|
|
55
53
|
L42 16
|
|
56
54
|
L44 30
|
|
57
55
|
Q44 38 32 42
|
|
58
56
|
Q20 38 20 30
|
|
59
57
|
Z
|
|
60
|
-
`,transform:"scale(
|
|
58
|
+
`,transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),y.createElement("path",{d:`
|
|
61
59
|
M22 16
|
|
62
60
|
L42 16
|
|
63
61
|
L44 30
|
|
64
62
|
Q44 38 32 42
|
|
65
63
|
Q20 38 20 30
|
|
66
64
|
Z
|
|
67
|
-
`,stroke:"currentColor",strokeWidth:r-1,fill:"none"}),
|
|
65
|
+
`,stroke:"currentColor",strokeWidth:r-1,fill:"none"}),y.createElement("rect",{x:31,y:42,width:2,height:2,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),y.createElement("path",{d:" M24 44 Q32 43 40 44 L40 44 L24 44 Z ",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import m from"react";function Mr({fill:t="#a1a1a1",size:o=80,strokeWidth:r=.5}){return m.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},m.createElement("rect",{x:17,y:21,width:30,height:1,rx:1,fill:"none",stroke:t,strokeWidth:r}),m.createElement("rect",{x:17,y:21,width:30,height:1,rx:1,transform:"scale(1)",opacity:.7,fill:t,strokeWidth:0}),m.createElement("path",{d:`
|
|
68
66
|
M18 22
|
|
69
67
|
L46 22
|
|
70
68
|
L42 54
|
|
@@ -76,30 +74,30 @@ import L from"react";function l({d:t,transform:o,liquidFill:r=null,liquidStyle:i
|
|
|
76
74
|
L42 54
|
|
77
75
|
L22 54
|
|
78
76
|
Z
|
|
79
|
-
`,transform:"scale(
|
|
80
|
-
M28 29 Q32 29 36 29 Q38 34 32 36 Q26 34 28 29 Z`,fill:"none",stroke:"currentColor",strokeWidth:r}),
|
|
77
|
+
`,transform:"scale(1)",fill:t}),m.createElement("rect",{x:20,y:53,width:24,height:1,rx:r,fill:"none",stroke:t,strokeWidth:r}),m.createElement("rect",{x:20,y:53,width:24,height:1,rx:r,transform:"scale(1)",fill:t,strokeWidth:0}),m.createElement("rect",{x:18.8,y:54,width:26,height:1,rx:r,fill:"none",stroke:t,strokeWidth:r}),m.createElement("rect",{x:18.8,y:54,width:26,height:1,rx:r,transform:"scale(1)",fill:t,strokeWidth:0}))}import H from"react";function kr({liquidFill:t=["#A8E063","#56AB2F"],size:o=80,strokeWidth:r=.5,idBase:i="MargaritaGlassGrad"}){let a=t;return H.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},H.createElement(e,{d:"M14 18 L50 18 Q46 28 36 29 Q30 30 28 29 Q18 28 14 18 Z M28 29 Q32 29 36 29 Q38 34 32 36 Q26 34 28 29 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),H.createElement("path",{d:`M14 18 L50 18 Q46 28 36 29 Q30 30 28 29 Q18 28 14 18 Z
|
|
78
|
+
M28 29 Q32 29 36 29 Q38 34 32 36 Q26 34 28 29 Z`,fill:"none",stroke:"currentColor",strokeWidth:r}),H.createElement("rect",{x:31.5,y:36,width:1,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),H.createElement("path",{d:" M24 46 Q32 45 40 46 L40 47 L24 47 Z ",fill:"currentColor",strokeWidth:0}))}import P from"react";function Gr({liquidFill:t=null,garnish:o=null,size:r=80,strokeWidth:i=1,idBase:a="MartiniGlassGrad"}){return P.createElement("svg",{width:r,height:r,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},P.createElement(e,{d:"M10 10 L54 10 L32 40 Z",transform:"scale(1)",idBase:a,opacity:.7,liquidFill:t}),P.createElement("path",{d:"M10 10 L54 10 L32 40 Z",stroke:"currentColor",fill:"none",strokeWidth:i}),P.createElement("path",{d:"M32 40 L32 58",stroke:"currentColor",strokeWidth:i}),P.createElement("path",{d:" M24 58 Q32 57 40 58 L40 59 L24 59 Z ",fill:"currentColor"}))}import D from"react";function vr({liquidFill:t=null,garnish:o=null,size:r=80,strokeWidth:i=.5,idBase:a="NickAndNoraGlassGrad"}){return D.createElement("svg",{width:r,height:r,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},D.createElement(e,{d:"M24 38 L24 24 L40 24 L40 38 Q32 40 24 38 Z",transform:"scale(1)",idBase:a,opacity:.7,liquidFill:t}),D.createElement("path",{d:"M24 38 L24 24 L40 24 L40 38 Q32 40 24 38 Z",fill:"none",stroke:"currentColor",strokeWidth:i}),D.createElement("rect",{x:32,y:39,width:1,height:16,fill:"currentColor",stroke:"currentColor",strokeWidth:i}),D.createElement("path",{d:" M24 55 Q32 54 40 55 L40 55 L24 55 Z ",fill:"currentColor",stroke:"currentColor",strokeWidth:i}))}import N from"react";function yr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="ParfaitGlassGrad"}){return N.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},N.createElement(e,{d:`
|
|
81
79
|
M22 12
|
|
82
80
|
L42 12
|
|
83
81
|
Q40 30 38 44
|
|
84
82
|
Q32 50 26 44
|
|
85
83
|
Q24 30 22 12
|
|
86
84
|
Z
|
|
87
|
-
`,transform:"scale(
|
|
85
|
+
`,transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),N.createElement("path",{d:`
|
|
88
86
|
M22 12
|
|
89
87
|
L42 12
|
|
90
88
|
Q40 30 38 44
|
|
91
89
|
Q32 50 26 44
|
|
92
90
|
Q24 30 22 12
|
|
93
91
|
Z
|
|
94
|
-
`,stroke:"currentColor",strokeWidth:r,fill:"none"}),
|
|
92
|
+
`,stroke:"currentColor",strokeWidth:r,fill:"none"}),N.createElement("rect",{x:31,y:47,width:2,height:8,fill:"currentColor"}),N.createElement("path",{d:`
|
|
95
93
|
M22 57 Q32 53 42 57 L42 57.5 L22 57.5 Z
|
|
96
|
-
`,fill:"currentColor"}))}import
|
|
94
|
+
`,fill:"currentColor"}))}import X from"react";function wr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="PilsnerGlassGrad"}){return X.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},X.createElement(e,{d:"M24 10 L40 10 Q38 36 36 50 Q32 54 28 50 Q26 36 24 10 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),X.createElement("path",{d:"M28 50 Q32 55 37 51 L37 56 Q35 56 28.5 56 Z",transform:"scale(1)",fill:"currentColor",className:"base"}),X.createElement("path",{d:"M24 10 L40 10 Q38 36 36 55 Q32 55 28 55 Q26 36 24 10 Z",stroke:"currentColor",strokeWidth:r,fill:"none"}))}import z from"react";function Zr({liquidFill:t=null,garnish:o=null,size:r=80,strokeWidth:i=.5,idBase:a="PintGlassGrad"}){return z.createElement("svg",{width:r,height:r,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},z.createElement(e,{d:"M18 10 L46 10 L42 54 L22 54 Z",transform:"scale(1)",idBase:a,opacity:.7,liquidFill:t}),z.createElement("path",{d:"M18 10 L46 10 L42 54 L22 54 Z",stroke:"currentColor",strokeWidth:i,fill:"none"}),z.createElement("rect",{x:22,y:54,width:20,height:2,fill:"currentColor",stroke:"currentColor",strokeWidth:i}))}import c from"react";function Qr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="PousseCafeGlassGrad"}){let tr=Math.floor(o*1.125);return c.createElement("svg",{width:o,height:tr,viewBox:"0 0 64 90",preserveAspectRatio:"xMidYMax slice"},c.createElement("g",null,c.createElement(e,{d:`
|
|
97
95
|
M ${32-11} 12
|
|
98
96
|
L ${32+11} 12
|
|
99
97
|
L ${32+9} 38
|
|
100
98
|
Q 32 42 ${32-9} 38
|
|
101
99
|
Z
|
|
102
|
-
`,transform:"scale(
|
|
100
|
+
`,transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),c.createElement("path",{d:`
|
|
103
101
|
M ${32-11} 12
|
|
104
102
|
L ${32+11} 12
|
|
105
103
|
L ${32+9} 38
|
|
@@ -111,32 +109,32 @@ import L from"react";function l({d:t,transform:o,liquidFill:r=null,liquidStyle:i
|
|
|
111
109
|
L ${32+6} 30
|
|
112
110
|
Q 32 33 ${32-6} 30
|
|
113
111
|
Z
|
|
114
|
-
`,fill:"rgba(255,255,255,0.06)"}),c.createElement("rect",{x:32-1,y:40,width:2,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),c.createElement("path",{d:`M ${32-6} 50 Q 32 48 ${32+6} 50 L ${32+6} 50 L ${32-6} 50 Z`,fill:"currentColor",stroke:"currentColor",strokeWidth:r})))}import g from"react";function
|
|
112
|
+
`,fill:"rgba(255,255,255,0.06)"}),c.createElement("rect",{x:32-1,y:40,width:2,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),c.createElement("path",{d:`M ${32-6} 50 Q 32 48 ${32+6} 50 L ${32+6} 50 L ${32-6} 50 Z`,fill:"currentColor",stroke:"currentColor",strokeWidth:r})))}import g from"react";function br({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="PunchGlassGrad"}){return g.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},g.createElement("g",null,g.createElement(e,{d:`
|
|
115
113
|
M22 18
|
|
116
114
|
L42 18
|
|
117
115
|
L38 30
|
|
118
116
|
Q32 34 26 30
|
|
119
117
|
L22 18
|
|
120
118
|
Z
|
|
121
|
-
`,transform:"scale(
|
|
119
|
+
`,transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),g.createElement("path",{d:`
|
|
122
120
|
M22 18
|
|
123
121
|
L42 18
|
|
124
122
|
L38 30
|
|
125
123
|
Q32 34 26 30
|
|
126
124
|
L22 18
|
|
127
125
|
Z
|
|
128
|
-
`,stroke:"currentColor",strokeWidth:r,fill:"none"}),g.createElement("path",{d:"M28 20 L28 28 M32 20 L32 30 M36 20 L36 28",stroke:"currentColor",strokeWidth:.6,strokeLinecap:"round",opacity:.06}),g.createElement("rect",{x:31,y:32,width:2,height:6,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),g.createElement("path",{d:"M26 38 Q32 37 38 38 L38 38 L26 38 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r})))}import R from"react";function
|
|
126
|
+
`,stroke:"currentColor",strokeWidth:r,fill:"none"}),g.createElement("path",{d:"M28 20 L28 28 M32 20 L32 30 M36 20 L36 28",stroke:"currentColor",strokeWidth:.6,strokeLinecap:"round",opacity:.06}),g.createElement("rect",{x:31,y:32,width:2,height:6,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),g.createElement("path",{d:"M26 38 Q32 37 38 38 L38 38 L26 38 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r})))}import R from"react";function Br({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="RocksGlassGrad"}){return R.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},R.createElement(e,{d:"M14 24 L50 24 L50 58 L14 58 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),R.createElement("rect",{x:14,y:24,width:36,height:34,stroke:"currentColor",strokeWidth:r,fill:"none"}),R.createElement("line",{x1:13.7,y1:59,x2:50.2,y2:59,stroke:"currentColor",strokeWidth:"2"}))}import rr from"react";function Sr({liquidFill:t=["#FFFFFF","#E0E0E0"],size:o=64,strokeWidth:r=.5,idBase:i="SingleShotGlassGrad"}){return rr.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},rr.createElement("path",{d:"M23 28 C24.5 36 24.5 40 25 48 L39 48 C39.5 40 39.5 36 41 28 Z",stroke:"currentColor",fill:"none",strokeWidth:r}),rr.createElement(e,{d:"M23 28 C24.5 36 24.5 40 25 48 L39 48 C39.5 40 39.5 36 41 28 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),rr.createElement("rect",{x:25,y:48,width:14,height:3,stroke:"currentColor",strokeWidth:r,fill:"none"}))}import w from"react";function qr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="SlingGlassGrad"}){return w.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},w.createElement("line",{x1:24,y1:12,x2:40,y2:12,stroke:"currentColor",strokeWidth:r}),w.createElement(e,{d:"M25 12 L40 12 C41 29 40 46 32 55 C24 46 24 28 24 12 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),w.createElement("path",{d:"M25 12 L40 12 C41 29 40 46 32 55 C24 46 24 28 24 12 Z",stroke:"currentColor",strokeWidth:r,fill:"none"}),w.createElement("rect",{x:31,y:54,width:2,height:2,fill:"currentColor"}),w.createElement("path",{d:"M29 56 Q32 55 35 56 L35 56 L29 56 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r,rx:1}))}import Z from"react";function Fr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="SnifterGlassGrad"}){return Z.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},Z.createElement("line",{x1:22,y1:18,x2:42,y2:18,stroke:"currentColor",strokeWidth:r}),Z.createElement("path",{d:`
|
|
129
127
|
M22 18
|
|
130
128
|
C16 32, 16 46, 32 52
|
|
131
129
|
C48 46, 48 32, 42 18
|
|
132
130
|
Z
|
|
133
|
-
`,stroke:"currentColor",strokeWidth:r,fill:"none"}),Z.createElement(
|
|
131
|
+
`,stroke:"currentColor",strokeWidth:r,fill:"none"}),Z.createElement(e,{d:" M22 18 C16 32, 16 46, 32 52 C48 46, 48 32, 42 18 Z ",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),Z.createElement("rect",{x:30,y:51,width:4,height:4,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),Z.createElement("path",{d:"M26 54 Q32 51 38 54 L38 55 L26 55 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import Q from"react";function Ar({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="SourGlassGrad"}){return Q.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},Q.createElement("line",{x1:16,y1:18,x2:48,y2:18,stroke:"currentColor",strokeWidth:r}),Q.createElement(e,{d:`
|
|
134
132
|
M16 18
|
|
135
133
|
L48 18
|
|
136
134
|
C46 30, 46 38, 32 42
|
|
137
135
|
C18 38, 18 30, 16 18
|
|
138
136
|
Z
|
|
139
|
-
`,transform:"scale(
|
|
137
|
+
`,transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),Q.createElement("path",{d:`
|
|
140
138
|
M16 18
|
|
141
139
|
L48 18
|
|
142
140
|
C46 30, 46 38, 32 42
|
|
@@ -148,4 +146,4 @@ import L from"react";function l({d:t,transform:o,liquidFill:r=null,liquidStyle:i
|
|
|
148
146
|
L42 54
|
|
149
147
|
L22 54
|
|
150
148
|
Z
|
|
151
|
-
`,fill:"currentColor"}))}import
|
|
149
|
+
`,fill:"currentColor"}))}import b from"react";function Wr({liquidFill:t=null,size:o=80,strokeWidth:r=1,idBase:i="TankardGlassGrad"}){return b.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},b.createElement("rect",{x:13,y:44,width:36,height:4,fill:"currentColor"}),b.createElement(e,{d:"M14 10 L48 10 L48 44 L14 44 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),b.createElement("rect",{x:14,y:10,width:34,height:34,fill:"none",stroke:"currentColor",strokeWidth:r*1.4}),b.createElement("g",null,b.createElement("path",{d:"M49 17 C60 19 60 34 49 37",stroke:"currentColor",strokeWidth:r*3,strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})))}import B from"react";function Yr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="TikiGlassGrad"}){return B.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},B.createElement("rect",{x:21.75,y:52,width:20.5,height:2,fill:"currentColor"}),B.createElement("rect",{x:20,y:50,width:24,height:4,rx:2,fill:"currentColor",opacity:.06}),B.createElement("rect",{x:22,y:10,width:20,height:42,stroke:"currentColor",strokeWidth:r,fill:"none",opacity:.9}),B.createElement(e,{d:"M21 9 L41 9 L41 51 L21 51 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),B.createElement("ellipse",{cx:32,cy:32,rx:6,ry:3,fill:"currentColor"}))}import x from"react";function $r({liquidFill:t=null,size:o=80,strokeWidth:r=.8,idBase:i="ToddyGlassGrad"}){return x.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},x.createElement(e,{d:"M22 12 H42 V40 H22 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),x.createElement("path",{d:"M22 12 H42 V40 H22 Z",fill:"none",stroke:"currentColor",strokeWidth:r,strokeLinejoin:"round"}),x.createElement("g",null,x.createElement("path",{d:"M43 16 C52 18 52 34 43 36",stroke:"currentColor",strokeWidth:r*2.4,strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),x.createElement("rect",{x:30,y:40,width:4,height:6,fill:"currentColor"}),x.createElement("path",{d:"M22 47 Q32 43 42 47 L42 48 L22 48 Z",fill:"currentColor"}))}import or from"react";function Tr({liquidFill:t=["#FFFFFF","#E0E0E0"],size:o=80,strokeWidth:r=.5,idBase:i="ShotGlassGrad",...a}){return or.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64",preserveAspectRatio:"xMidYMax slice"},or.createElement("rect",{x:22,y:30,width:20,height:18,stroke:"currentColor",fill:"none",strokeWidth:r}),or.createElement(e,{d:"M22 30 L42 30 L42 48 L22 48 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t,...a}),or.createElement("rect",{x:22,y:48,width:20,height:3,fill:"none",stroke:"currentColor",strokeWidth:r}))}import E from"react";function Hr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:i="WineGlassGrad"}){let a=Math.round(o*90/80);return E.createElement("svg",{width:o,height:a,viewBox:"0 0 64 90",preserveAspectRatio:"xMidYMax slice"},E.createElement(e,{d:"M26 26 L38 26 Q44 62 32 62 Q20 62 26 26 Z",transform:"scale(1)",idBase:i,opacity:.7,liquidFill:t}),E.createElement("path",{d:"M26 26 L38 26 Q44 62 32 62 Q20 62 26 26 Z",fill:"none",stroke:"currentColor",strokeWidth:r}),E.createElement("rect",{x:31.5,y:62,width:1,height:25,fill:"currentColor"}),E.createElement("path",{d:"M24 86 Q32 84 40 86 L40 87 L24 87 Z",fill:"currentColor"}))}var Ur=[{name:"AbsintheGlass",about:"Tall narrow glass traditionally used for absinthe"},{name:"BrandySnifterGlass",about:"Short, wide bowl for brandy and aromatics"},{name:"CollinsGlass",about:"Tall, slim highball-style glass for long drinks"},{name:"CopperMug",about:"Insulated mug commonly used for Moscow Mules"},{name:"CordialGlass",about:"Small stemmed glass for cordials and liqueurs"},{name:"CoupeGlass",about:"Shallow, broad-bowled stemmed glass for cocktails"},{name:"DemitasseGlass",about:"Tiny cup used for espresso or small servings"},{name:"DoubleShotGlass",about:"Small glass sized for a double shot or liqueur"},{name:"FizzGlass",about:"Tall glass for fizzy, highball-like cocktails"},{name:"FluteGlass",about:"Narrow stemmed glass for sparkling cocktails or champagne"},{name:"GobletGlass",about:"Large bowl stemmed glass for water or wine-style serves"},{name:"HighballGlass",about:"Tall glass for mixed drinks over ice"},{name:"HurricaneGlass",about:"Curved glass used for tropical, rum-forward drinks"},{name:"IrishCoffeeGlass",about:"Handled glass for hot cocktails like Irish Coffee"},{name:"JulepCup",about:"Silver or metal cup for mint juleps served over crushed ice"},{name:"MargaritaGlass",about:"Broad-rimmed glass typically used for margaritas"},{name:"MartiniGlass",about:"Classic conical stemmed glass for martinis and cocktails"},{name:"NickAndNoraGlass",about:"Small stemmed cocktail glass named for film characters"},{name:"ParfaitGlass",about:"Tall, elegant glass for layered desserts or cocktails"},{name:"PilsnerGlass",about:"Tall tapered glass for pilsner-style beers"},{name:"PintGlass",about:"Standard pint glass for beer servings"},{name:"PousseCafeGlass",about:"Very tall, narrow glass for layered pousse-caf\xE9s"},{name:"PunchGlass",about:"Large bowl or glass used for punch servings"},{name:"RocksGlass",about:"Short, wide glass for spirits served over ice"},{name:"SingleShotGlass",about:"Small single-shot glass for neat pours"},{name:"SlingGlass",about:"Stemmed glass used historically for sling cocktails"},{name:"SnifterGlass",about:"Rounded glass for nosing spirits like brandy or cognac"},{name:"SourGlass",about:"Stemmed glass for sours and shaken cocktails"},{name:"TankardGlass",about:"Large handled mug, often used for beer"},{name:"TikiGlass",about:"Themed ceramic or glass mug for tiki-style cocktails"},{name:"ToddyGlass",about:"Handled mug for hot toddies and warm drinks"},{name:"WhiskeyShotGlass",about:"Small glass for whiskey shots"},{name:"WineGlass",about:"Standard stemmed glass for wine service"}],Dr=Ur;var fi={Liquid:e,AbsintheGlass:sr,BrandySnifterGlass:nr,CollinsGlass:ar,CopperMug:dr,CordialGlass:ur,CoupeGlass:fr,DemitasseGlass:hr,DoubleShotGlass:mr,FizzGlass:pr,FluteGlass:cr,GobletGlass:gr,HighballGlass:xr,HurricaneGlass:Cr,IrishCoffeeGlass:Lr,JulepCup:Mr,MargaritaGlass:kr,MartiniGlass:Gr,NickAndNoraGlass:vr,ParfaitGlass:yr,PilsnerGlass:wr,PintGlass:Zr,PousseCafeGlass:Qr,PunchGlass:br,RocksGlass:Br,SingleShotGlass:Sr,SlingGlass:qr,SnifterGlass:Fr,SourGlass:Ar,TankardGlass:Wr,TikiGlass:Yr,ToddyGlass:$r,WhiskeyShotGlass:Tr,WineGlass:Hr,glasses:Dr};export{sr as AbsintheGlass,nr as BrandySnifterGlass,ar as CollinsGlass,dr as CopperMug,ur as CordialGlass,fr as CoupeGlass,hr as DemitasseGlass,mr as DoubleShotGlass,pr as FizzGlass,cr as FluteGlass,gr as GobletGlass,xr as HighballGlass,Cr as HurricaneGlass,Lr as IrishCoffeeGlass,Mr as JulepCup,e as Liquid,kr as MargaritaGlass,Gr as MartiniGlass,vr as NickAndNoraGlass,yr as ParfaitGlass,wr as PilsnerGlass,Zr as PintGlass,Qr as PousseCafeGlass,br as PunchGlass,Br as RocksGlass,Sr as SingleShotGlass,qr as SlingGlass,Fr as SnifterGlass,Ar as SourGlass,Wr as TankardGlass,Yr as TikiGlass,$r as ToddyGlass,Tr as WhiskeyShotGlass,Hr as WineGlass,fi as default,Dr as glasses};
|