@bace51/cocktailjs-react 1.0.10 → 1.0.11

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/index.cjs.js CHANGED
@@ -2158,10 +2158,10 @@ function WhiskeyShotGlass({
2158
2158
  /* @__PURE__ */ import_react33.default.createElement(
2159
2159
  "rect",
2160
2160
  {
2161
- x: 22,
2161
+ x: 18,
2162
2162
  y: 30,
2163
- width: 20,
2164
- height: 18,
2163
+ width: 30,
2164
+ height: 24,
2165
2165
  stroke: "currentColor",
2166
2166
  fill: "none",
2167
2167
  strokeWidth
@@ -2170,7 +2170,7 @@ function WhiskeyShotGlass({
2170
2170
  /* @__PURE__ */ import_react33.default.createElement(
2171
2171
  Liquid,
2172
2172
  {
2173
- d: `M22 30 L42 30 L42 48 L22 48 Z`,
2173
+ d: `M18 30 L48 30 L48 54 L18 54 Z`,
2174
2174
  transform: "scale(0.98)",
2175
2175
  idBase,
2176
2176
  opacity: 0.7,
@@ -2181,9 +2181,9 @@ function WhiskeyShotGlass({
2181
2181
  /* @__PURE__ */ import_react33.default.createElement(
2182
2182
  "rect",
2183
2183
  {
2184
- x: 22,
2185
- y: 48,
2186
- width: 20,
2184
+ x: 18,
2185
+ y: 54,
2186
+ width: 30,
2187
2187
  height: 3,
2188
2188
  fill: "none",
2189
2189
  stroke: "currentColor",
package/dist/index.mjs CHANGED
@@ -146,4 +146,4 @@ import C from"react";function e({d:t,transform:o,liquidFill:r=null,liquidStyle:i
146
146
  L42 54
147
147
  L22 54
148
148
  Z
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(0.98)",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(0.98)",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(0.98)",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(0.98)",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(0.98)",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};
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(0.98)",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(0.98)",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(0.98)",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:18,y:30,width:30,height:24,stroke:"currentColor",fill:"none",strokeWidth:r}),or.createElement(e,{d:"M18 30 L48 30 L48 54 L18 54 Z",transform:"scale(0.98)",idBase:i,opacity:.7,liquidFill:t,...a}),or.createElement("rect",{x:18,y:54,width:30,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(0.98)",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};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bace51/cocktailjs-react",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "private": false,
5
5
  "description": "Lightweight React components for rendering cocktail glasses and liquids as SVG.",
6
6
  "keywords": [