@bace51/cocktailjs-react 1.0.1 → 1.0.2

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 CHANGED
@@ -73,3 +73,21 @@ pnpm publish --filter ./packages/cocktailjs-react
73
73
  - Keep `react` as a peer dependency to avoid duplicate React instances in consumer apps.
74
74
 
75
75
  If you need help integrating the components or want additional examples, open an issue or request an example in the repo.
76
+
77
+
78
+ #####
79
+ cd packages/cocktailjs-react
80
+
81
+ # Option A — inline prompt (recommended so token isn't in shell history):
82
+ read -s -p "NPM token: " NPM_TOKEN; echo
83
+
84
+ # write temporary project-local .npmrc
85
+ printf "//registry.npmjs.org/:_authToken=%s\n" "$NPM_TOKEN" > .npmrc
86
+
87
+ # build and publish
88
+ pnpm run prepare
89
+ npm publish --access public
90
+
91
+ # remove the temporary file
92
+ rm -f .npmrc
93
+ unset NPM_TOKEN
package/dist/index.cjs.js CHANGED
@@ -156,7 +156,8 @@ var import_react2 = __toESM(require("react"));
156
156
  function AbsintheGlass({
157
157
  liquidFill = ["#A8E6CF", "#DCEDC2", "#FFD3B6"],
158
158
  size = 80,
159
- strokeWidth = 0.5
159
+ strokeWidth = 0.5,
160
+ idBase = "AbsintheGlassGrad"
160
161
  }) {
161
162
  const height = Math.floor(size * 1.125);
162
163
  return /* @__PURE__ */ import_react2.default.createElement("svg", { width: size, height, viewBox: "0 0 64 90" }, /* @__PURE__ */ import_react2.default.createElement(
@@ -165,7 +166,7 @@ function AbsintheGlass({
165
166
  d: `M20 35 L44 35 L42 49 Q32 52 22 49 Z
166
167
  M26 50 Q32 50 38 50 L36 60 L28 60 Z`,
167
168
  transform: "scale(0.98)",
168
- idBase: "AbsintheGlassGrad",
169
+ idBase,
169
170
  opacity: 0.7,
170
171
  liquidFill
171
172
  }
@@ -205,7 +206,8 @@ function AbsintheGlass({
205
206
  var import_react3 = __toESM(require("react"));
206
207
  function BrandySnifterGlass({
207
208
  liquidFill = ["#F6D29A", "#D98F3A"],
208
- strokeWidth = 1
209
+ strokeWidth = 1,
210
+ idBase = "BrandySnifterGlassGrad"
209
211
  }) {
210
212
  return /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react3.default.createElement(
211
213
  Liquid,
@@ -216,7 +218,7 @@ function BrandySnifterGlass({
216
218
  Q32 52 20 48
217
219
  Z`,
218
220
  transform: "scale(0.98)",
219
- idBase: "BrandySnifterGlassGrad",
221
+ idBase,
220
222
  opacity: 0.7,
221
223
  liquidFill
222
224
  }
@@ -264,14 +266,15 @@ function BrandySnifterGlass({
264
266
  var import_react4 = __toESM(require("react"));
265
267
  function CollinsGlass({
266
268
  liquidFill = ["#FFF7C0", "#FFD27A"],
267
- strokeWidth = 0.5
269
+ strokeWidth = 0.5,
270
+ idBase = "CollinsGlassGrad"
268
271
  }) {
269
272
  return /* @__PURE__ */ import_react4.default.createElement("svg", { viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react4.default.createElement(
270
273
  Liquid,
271
274
  {
272
275
  d: `M22 10 L42 10 L42 54 L22 54 Z`,
273
276
  transform: "scale(0.98)",
274
- idBase: "CollinsGlassGrad",
277
+ idBase,
275
278
  opacity: 0.7,
276
279
  liquidFill
277
280
  }
@@ -381,13 +384,17 @@ try {
381
384
  }
382
385
 
383
386
  // src/components/glasses/CordialGlass.jsx
384
- function CordialGlass({ liquidFill = null, strokeWidth = 0.5 }) {
387
+ function CordialGlass({
388
+ liquidFill = null,
389
+ strokeWidth = 0.5,
390
+ idBase = "CordialGlassGrad"
391
+ }) {
385
392
  return /* @__PURE__ */ import_react6.default.createElement("svg", { viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react6.default.createElement(
386
393
  Liquid,
387
394
  {
388
395
  d: `M30 16 L35 16 Q34 25 31 26 Q30 26 28 16 Z`,
389
396
  transform: "scale(0.98)",
390
- idBase: "CordialGlassGrad",
397
+ idBase,
391
398
  opacity: 0.7,
392
399
  liquidFill
393
400
  }
@@ -432,7 +439,8 @@ var import_react7 = __toESM(require("react"));
432
439
  function CoupeGlass({
433
440
  liquidFill = null,
434
441
  size = 80,
435
- strokeWidth = 1
442
+ strokeWidth = 1,
443
+ idBase = "CoupeGlassGrad"
436
444
  }) {
437
445
  return /* @__PURE__ */ import_react7.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react7.default.createElement(
438
446
  Liquid,
@@ -441,7 +449,7 @@ function CoupeGlass({
441
449
  M12 32 Q32 36 52 32 L52 18 Q32 18 12 18 Z
442
450
  `,
443
451
  transform: "scale(0.98)",
444
- idBase: "CoupeGlassGrad",
452
+ idBase,
445
453
  opacity: 0.7,
446
454
  liquidFill
447
455
  }
@@ -469,7 +477,8 @@ var import_react8 = __toESM(require("react"));
469
477
  function DemitasseGlass({
470
478
  liquidFill = null,
471
479
  size = 80,
472
- strokeWidth = 0.5
480
+ strokeWidth = 0.5,
481
+ idBase = "DemitasseGlassGrad"
473
482
  }) {
474
483
  return /* @__PURE__ */ import_react8.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react8.default.createElement(
475
484
  "path",
@@ -485,7 +494,7 @@ function DemitasseGlass({
485
494
  {
486
495
  d: `M20 24 L24 45 L40 45 L44 24 Z`,
487
496
  transform: "scale(0.98)",
488
- idBase: "DemitasseGlassGrad",
497
+ idBase,
489
498
  opacity: 0.7,
490
499
  liquidFill
491
500
  }
@@ -513,7 +522,8 @@ var import_react9 = __toESM(require("react"));
513
522
  function DoubleShotGlass({
514
523
  liquidFill = ["#FFF7C0", "#FFD27A"],
515
524
  size = 64,
516
- strokeWidth = 0.5
525
+ strokeWidth = 0.5,
526
+ idBase = "DoubleShotGlassGrad"
517
527
  }) {
518
528
  return /* @__PURE__ */ import_react9.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react9.default.createElement(
519
529
  "path",
@@ -528,7 +538,7 @@ function DoubleShotGlass({
528
538
  {
529
539
  d: `M20 18 C22 30 22 46 22.5 58 L41.5 58 C42.5 46 42.5 30 44 18 Z`,
530
540
  transform: "scale(0.98)",
531
- idBase: "DoubleShotGlassGrad",
541
+ idBase,
532
542
  opacity: 0.7,
533
543
  liquidFill
534
544
  }
@@ -551,7 +561,8 @@ var import_react10 = __toESM(require("react"));
551
561
  function FizzGlass({
552
562
  liquidFill = null,
553
563
  size = 80,
554
- strokeWidth = 0.5
564
+ strokeWidth = 0.5,
565
+ idBase = "FizzGlassGrad"
555
566
  }) {
556
567
  return /* @__PURE__ */ import_react10.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react10.default.createElement("path", { d: "M22 10 L42 10", stroke: "currentColor", strokeWidth }), /* @__PURE__ */ import_react10.default.createElement(
557
568
  Liquid,
@@ -560,7 +571,7 @@ function FizzGlass({
560
571
  M22 10 L24 23 L40 23 L42 10 Z
561
572
  `,
562
573
  transform: "scale(0.98)",
563
- idBase: "FizzGlassGrad",
574
+ idBase,
564
575
  opacity: 0.7,
565
576
  liquidFill
566
577
  }
@@ -599,7 +610,8 @@ var import_react11 = __toESM(require("react"));
599
610
  function FluteGlass({
600
611
  liquidFill = null,
601
612
  size = 80,
602
- strokeWidth = 0.5
613
+ strokeWidth = 0.5,
614
+ idBase = "FluteGlassGrad"
603
615
  }) {
604
616
  return /* @__PURE__ */ import_react11.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react11.default.createElement(
605
617
  Liquid,
@@ -612,7 +624,7 @@ function FluteGlass({
612
624
  Z
613
625
  `,
614
626
  transform: "scale(0.98)",
615
- idBase: "FluteGlassGrad",
627
+ idBase,
616
628
  opacity: 0.7,
617
629
  liquidFill
618
630
  }
@@ -651,7 +663,8 @@ var import_react12 = __toESM(require("react"));
651
663
  function GobletGlass({
652
664
  liquidFill = null,
653
665
  size = 80,
654
- strokeWidth = 2
666
+ strokeWidth = 2,
667
+ idBase = "GobletGlassGrad"
655
668
  }) {
656
669
  const height = Math.round(size * 90 / 80);
657
670
  return /* @__PURE__ */ import_react12.default.createElement("svg", { width: size, height, viewBox: "0 0 64 90" }, /* @__PURE__ */ import_react12.default.createElement(
@@ -670,7 +683,7 @@ function GobletGlass({
670
683
  {
671
684
  d: ` M19 28 L46 28 Q52 58 32 70 Q12 58 16 28 Z `,
672
685
  transform: "scale(0.98)",
673
- idBase: "GobletGlassGrad",
686
+ idBase,
674
687
  opacity: 0.7,
675
688
  liquidFill
676
689
  }
@@ -708,14 +721,15 @@ var import_react13 = __toESM(require("react"));
708
721
  function HighballGlass({
709
722
  liquidFill = null,
710
723
  size = 80,
711
- strokeWidth = 0.5
724
+ strokeWidth = 0.5,
725
+ idBase = "HighballGlassGrad"
712
726
  }) {
713
727
  return /* @__PURE__ */ import_react13.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react13.default.createElement(
714
728
  Liquid,
715
729
  {
716
730
  d: `M18 10 L46 10 L46 60 L18 60 Z`,
717
731
  transform: "scale(0.98)",
718
- idBase: "HighballGlassGrad",
732
+ idBase,
719
733
  opacity: 0.7,
720
734
  liquidFill
721
735
  }
@@ -750,14 +764,15 @@ function HurricaneGlass({
750
764
  liquidFill = null,
751
765
  garnish = null,
752
766
  size = 80,
753
- strokeWidth = 0.5
767
+ strokeWidth = 0.5,
768
+ idBase = "HurricaneGlassGrad"
754
769
  }) {
755
770
  return /* @__PURE__ */ import_react14.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react14.default.createElement(
756
771
  Liquid,
757
772
  {
758
773
  d: `M24 10 C16 22, 24 38, 28 44 C30 48, 34 48, 36 44 C40 38, 48 22, 40 10 Z`,
759
774
  transform: "scale(0.98)",
760
- idBase: "HurricaneGlassGrad",
775
+ idBase,
761
776
  opacity: 0.7,
762
777
  liquidFill
763
778
  }
@@ -796,7 +811,8 @@ var import_react15 = __toESM(require("react"));
796
811
  function IrishCoffeeGlass({
797
812
  liquidFill = null,
798
813
  size = 80,
799
- strokeWidth = 2
814
+ strokeWidth = 2,
815
+ idBase = "IrishCoffeeGlassGrad"
800
816
  }) {
801
817
  return /* @__PURE__ */ import_react15.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react15.default.createElement(
802
818
  "path",
@@ -818,7 +834,7 @@ function IrishCoffeeGlass({
818
834
  Z
819
835
  `,
820
836
  transform: "scale(0.98)",
821
- idBase: "IrishCoffeeGlassGrad",
837
+ idBase,
822
838
  opacity: 0.7,
823
839
  liquidFill
824
840
  }
@@ -957,7 +973,8 @@ function MargaritaGlass({
957
973
  // liquidStyle = "gradient",
958
974
  // gradientAttr = { x1: "0", y1: "0", x2: "0", y2: "1" },
959
975
  size = 80,
960
- strokeWidth = 0.5
976
+ strokeWidth = 0.5,
977
+ idBase = "MargaritaGlassGrad"
961
978
  }) {
962
979
  const stops = liquidFill;
963
980
  return /* @__PURE__ */ import_react17.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react17.default.createElement(
@@ -965,7 +982,7 @@ function MargaritaGlass({
965
982
  {
966
983
  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`,
967
984
  transform: "scale(0.98)",
968
- idBase: "MargaritaGlassGrad",
985
+ idBase,
969
986
  opacity: 0.7,
970
987
  liquidFill
971
988
  }
@@ -1005,14 +1022,15 @@ function MartiniGlass({
1005
1022
  liquidFill = null,
1006
1023
  garnish = null,
1007
1024
  size = 80,
1008
- strokeWidth = 1
1025
+ strokeWidth = 1,
1026
+ idBase = "MartiniGlassGrad"
1009
1027
  }) {
1010
1028
  return /* @__PURE__ */ import_react18.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react18.default.createElement(
1011
1029
  Liquid,
1012
1030
  {
1013
1031
  d: `M10 10 L54 10 L32 40 Z`,
1014
1032
  transform: "scale(0.98)",
1015
- idBase: "MartiniGlassGrad",
1033
+ idBase,
1016
1034
  opacity: 0.7,
1017
1035
  liquidFill
1018
1036
  }
@@ -1033,14 +1051,15 @@ function NickAndNoraGlass({
1033
1051
  liquidFill = null,
1034
1052
  garnish = null,
1035
1053
  size = 80,
1036
- strokeWidth = 0.5
1054
+ strokeWidth = 0.5,
1055
+ idBase = "NickAndNoraGlassGrad"
1037
1056
  }) {
1038
1057
  return /* @__PURE__ */ import_react19.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react19.default.createElement(
1039
1058
  Liquid,
1040
1059
  {
1041
1060
  d: `M24 38 L24 24 L40 24 L40 38 Q32 40 24 38 Z`,
1042
1061
  transform: "scale(0.98)",
1043
- idBase: "NickAndNoraGlassGrad",
1062
+ idBase,
1044
1063
  opacity: 0.7,
1045
1064
  liquidFill
1046
1065
  }
@@ -1079,7 +1098,8 @@ var import_react20 = __toESM(require("react"));
1079
1098
  function ParfaitGlass({
1080
1099
  liquidFill = null,
1081
1100
  size = 80,
1082
- strokeWidth = 0.5
1101
+ strokeWidth = 0.5,
1102
+ idBase = "ParfaitGlassGrad"
1083
1103
  }) {
1084
1104
  return /* @__PURE__ */ import_react20.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react20.default.createElement(
1085
1105
  Liquid,
@@ -1093,7 +1113,7 @@ function ParfaitGlass({
1093
1113
  Z
1094
1114
  `,
1095
1115
  transform: "scale(0.98)",
1096
- idBase: "ParfaitGlassGrad",
1116
+ idBase,
1097
1117
  opacity: 0.7,
1098
1118
  liquidFill
1099
1119
  }
@@ -1119,14 +1139,15 @@ var import_react21 = __toESM(require("react"));
1119
1139
  function PilsnerGlass({
1120
1140
  liquidFill = null,
1121
1141
  size = 80,
1122
- strokeWidth = 0.5
1142
+ strokeWidth = 0.5,
1143
+ idBase = "PilsnerGlassGrad"
1123
1144
  }) {
1124
1145
  return /* @__PURE__ */ import_react21.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react21.default.createElement(
1125
1146
  Liquid,
1126
1147
  {
1127
1148
  d: `M24 10 L40 10 Q38 36 36 50 Q32 54 28 50 Q26 36 24 10 Z`,
1128
1149
  transform: "scale(0.98)",
1129
- idBase: "PilsnerGlassGrad",
1150
+ idBase,
1130
1151
  opacity: 0.7,
1131
1152
  liquidFill
1132
1153
  }
@@ -1155,14 +1176,15 @@ function PintGlass({
1155
1176
  liquidFill = null,
1156
1177
  garnish = null,
1157
1178
  size = 80,
1158
- strokeWidth = 0.5
1179
+ strokeWidth = 0.5,
1180
+ idBase = "PintGlassGrad"
1159
1181
  }) {
1160
1182
  return /* @__PURE__ */ import_react22.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react22.default.createElement(
1161
1183
  Liquid,
1162
1184
  {
1163
1185
  d: `M18 10 L46 10 L42 54 L22 54 Z`,
1164
1186
  transform: "scale(0.98)",
1165
- idBase: "PintGlassGrad",
1187
+ idBase,
1166
1188
  opacity: 0.7,
1167
1189
  liquidFill
1168
1190
  }
@@ -1193,7 +1215,8 @@ var import_react23 = __toESM(require("react"));
1193
1215
  function PousseCafeGlass({
1194
1216
  liquidFill = null,
1195
1217
  size = 80,
1196
- strokeWidth = 0.5
1218
+ strokeWidth = 0.5,
1219
+ idBase = "PousseCafeGlassGrad"
1197
1220
  }) {
1198
1221
  const cx = 32;
1199
1222
  const height = Math.floor(size * 1.125);
@@ -1208,7 +1231,7 @@ function PousseCafeGlass({
1208
1231
  Z
1209
1232
  `,
1210
1233
  transform: "scale(0.98)",
1211
- idBase: "PousseCafeGlassGrad",
1234
+ idBase,
1212
1235
  opacity: 0.7,
1213
1236
  liquidFill
1214
1237
  }
@@ -1265,7 +1288,8 @@ var import_react24 = __toESM(require("react"));
1265
1288
  function PunchGlass({
1266
1289
  liquidFill = null,
1267
1290
  size = 80,
1268
- strokeWidth = 0.5
1291
+ strokeWidth = 0.5,
1292
+ idBase = "PunchGlassGrad"
1269
1293
  }) {
1270
1294
  return /* @__PURE__ */ import_react24.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react24.default.createElement("g", null, /* @__PURE__ */ import_react24.default.createElement(
1271
1295
  Liquid,
@@ -1279,7 +1303,7 @@ function PunchGlass({
1279
1303
  Z
1280
1304
  `,
1281
1305
  transform: "scale(0.98)",
1282
- idBase: "PunchGlassGrad",
1306
+ idBase,
1283
1307
  opacity: 0.7,
1284
1308
  liquidFill
1285
1309
  }
@@ -1334,14 +1358,15 @@ var import_react25 = __toESM(require("react"));
1334
1358
  function RocksGlass({
1335
1359
  liquidFill = null,
1336
1360
  size = 80,
1337
- strokeWidth = 0.5
1361
+ strokeWidth = 0.5,
1362
+ idBase = "RocksGlassGrad"
1338
1363
  }) {
1339
1364
  return /* @__PURE__ */ import_react25.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react25.default.createElement(
1340
1365
  Liquid,
1341
1366
  {
1342
1367
  d: `M14 24 L50 24 L50 58 L14 58 Z`,
1343
1368
  transform: "scale(0.98)",
1344
- idBase: "RocksGlassGrad",
1369
+ idBase,
1345
1370
  opacity: 0.7,
1346
1371
  liquidFill
1347
1372
  }
@@ -1374,7 +1399,8 @@ var import_react26 = __toESM(require("react"));
1374
1399
  function SingleShotGlass({
1375
1400
  liquidFill = ["#FFFFFF", "#E0E0E0"],
1376
1401
  size = 64,
1377
- strokeWidth = 0.5
1402
+ strokeWidth = 0.5,
1403
+ idBase = "SingleShotGlassGrad"
1378
1404
  }) {
1379
1405
  return /* @__PURE__ */ import_react26.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react26.default.createElement(
1380
1406
  "path",
@@ -1389,7 +1415,7 @@ function SingleShotGlass({
1389
1415
  {
1390
1416
  d: `M23 28 C24.5 36 24.5 40 25 48 L39 48 C39.5 40 39.5 36 41 28 Z`,
1391
1417
  transform: "scale(0.98)",
1392
- idBase: "SingleShotGlassGrad",
1418
+ idBase,
1393
1419
  opacity: 0.7,
1394
1420
  liquidFill
1395
1421
  }
@@ -1412,7 +1438,8 @@ var import_react27 = __toESM(require("react"));
1412
1438
  function SlingGlass({
1413
1439
  liquidFill = null,
1414
1440
  size = 80,
1415
- strokeWidth = 0.5
1441
+ strokeWidth = 0.5,
1442
+ idBase = "SlingGlassGrad"
1416
1443
  }) {
1417
1444
  return /* @__PURE__ */ import_react27.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react27.default.createElement(
1418
1445
  "line",
@@ -1429,7 +1456,7 @@ function SlingGlass({
1429
1456
  {
1430
1457
  d: `M25 12 L40 12 C41 29 40 46 32 55 C24 46 24 28 24 12 Z`,
1431
1458
  transform: "scale(0.98)",
1432
- idBase: "SlingGlassGrad",
1459
+ idBase,
1433
1460
  opacity: 0.7,
1434
1461
  liquidFill
1435
1462
  }
@@ -1458,7 +1485,8 @@ var import_react28 = __toESM(require("react"));
1458
1485
  function SnifterGlass({
1459
1486
  liquidFill = null,
1460
1487
  size = 80,
1461
- strokeWidth = 0.5
1488
+ strokeWidth = 0.5,
1489
+ idBase = "SnifterGlassGrad"
1462
1490
  }) {
1463
1491
  return /* @__PURE__ */ import_react28.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react28.default.createElement(
1464
1492
  "line",
@@ -1483,7 +1511,7 @@ function SnifterGlass({
1483
1511
  {
1484
1512
  d: ` M22 18 C16 32, 16 46, 32 52 C48 46, 48 32, 42 18 Z `,
1485
1513
  transform: "scale(0.98)",
1486
- idBase: "SnifterGlassGrad",
1514
+ idBase,
1487
1515
  opacity: 0.7,
1488
1516
  liquidFill
1489
1517
  }
@@ -1514,7 +1542,8 @@ var import_react29 = __toESM(require("react"));
1514
1542
  function SourGlass({
1515
1543
  liquidFill = null,
1516
1544
  size = 80,
1517
- strokeWidth = 0.5
1545
+ strokeWidth = 0.5,
1546
+ idBase = "SourGlassGrad"
1518
1547
  }) {
1519
1548
  return /* @__PURE__ */ import_react29.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react29.default.createElement(
1520
1549
  "line",
@@ -1537,7 +1566,7 @@ function SourGlass({
1537
1566
  Z
1538
1567
  `,
1539
1568
  transform: "scale(0.98)",
1540
- idBase: "SourGlassGrad",
1569
+ idBase,
1541
1570
  opacity: 0.7,
1542
1571
  liquidFill
1543
1572
  }
@@ -1563,14 +1592,15 @@ var import_react30 = __toESM(require("react"));
1563
1592
  function TankardGlass({
1564
1593
  liquidFill = null,
1565
1594
  size = 80,
1566
- strokeWidth = 1
1595
+ strokeWidth = 1,
1596
+ idBase = "TankardGlassGrad"
1567
1597
  }) {
1568
1598
  return /* @__PURE__ */ import_react30.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react30.default.createElement("rect", { x: 13, y: 44, width: 36, height: 4, fill: "currentColor" }), /* @__PURE__ */ import_react30.default.createElement(
1569
1599
  Liquid,
1570
1600
  {
1571
1601
  d: `M14 10 L48 10 L48 44 L14 44 Z`,
1572
1602
  transform: "scale(0.98)",
1573
- idBase: "TankardGlassGrad",
1603
+ idBase,
1574
1604
  opacity: 0.7,
1575
1605
  liquidFill
1576
1606
  }
@@ -1603,7 +1633,8 @@ var import_react31 = __toESM(require("react"));
1603
1633
  function TikiGlass({
1604
1634
  liquidFill = null,
1605
1635
  size = 80,
1606
- strokeWidth = 0.5
1636
+ strokeWidth = 0.5,
1637
+ idBase = "TikiGlassGrad"
1607
1638
  }) {
1608
1639
  return /* @__PURE__ */ import_react31.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react31.default.createElement("rect", { x: 21.75, y: 52, width: 20.5, height: 2, fill: "currentColor" }), /* @__PURE__ */ import_react31.default.createElement(
1609
1640
  "rect",
@@ -1633,7 +1664,7 @@ function TikiGlass({
1633
1664
  {
1634
1665
  d: `M21 9 L41 9 L41 51 L21 51 Z`,
1635
1666
  transform: "scale(0.98)",
1636
- idBase: "TikiGlassGrad",
1667
+ idBase,
1637
1668
  opacity: 0.7,
1638
1669
  liquidFill
1639
1670
  }
@@ -1645,14 +1676,15 @@ var import_react32 = __toESM(require("react"));
1645
1676
  function ToddyGlass({
1646
1677
  liquidFill = null,
1647
1678
  size = 80,
1648
- strokeWidth = 0.8
1679
+ strokeWidth = 0.8,
1680
+ idBase = "ToddyGlassGrad"
1649
1681
  }) {
1650
1682
  return /* @__PURE__ */ import_react32.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react32.default.createElement(
1651
1683
  Liquid,
1652
1684
  {
1653
1685
  d: `M22 12 H42 V40 H22 Z`,
1654
1686
  transform: "scale(0.98)",
1655
- idBase: "ToddyGlassGrad",
1687
+ idBase,
1656
1688
  opacity: 0.7,
1657
1689
  liquidFill
1658
1690
  }
@@ -1683,7 +1715,8 @@ var import_react33 = __toESM(require("react"));
1683
1715
  function WhiskeyShotGlass({
1684
1716
  liquidFill = ["#FFFFFF", "#E0E0E0"],
1685
1717
  size = 80,
1686
- strokeWidth = 0.5
1718
+ strokeWidth = 0.5,
1719
+ idBase = "ShotGlassGrad"
1687
1720
  }) {
1688
1721
  return /* @__PURE__ */ import_react33.default.createElement("svg", { width: size, height: size, viewBox: "0 0 64 64" }, /* @__PURE__ */ import_react33.default.createElement(
1689
1722
  "rect",
@@ -1701,7 +1734,7 @@ function WhiskeyShotGlass({
1701
1734
  {
1702
1735
  d: `M22 30 L42 30 L42 48 L22 48 Z`,
1703
1736
  transform: "scale(0.98)",
1704
- idBase: "ShotGlassGrad",
1737
+ idBase,
1705
1738
  opacity: 0.7,
1706
1739
  liquidFill
1707
1740
  }
@@ -1724,7 +1757,8 @@ var import_react34 = __toESM(require("react"));
1724
1757
  function WineGlass({
1725
1758
  liquidFill = null,
1726
1759
  size = 80,
1727
- strokeWidth = 0.5
1760
+ strokeWidth = 0.5,
1761
+ idBase = "WineGlassGrad"
1728
1762
  }) {
1729
1763
  const height = Math.round(size * 90 / 80);
1730
1764
  return /* @__PURE__ */ import_react34.default.createElement("svg", { width: size, height, viewBox: "0 0 64 90" }, /* @__PURE__ */ import_react34.default.createElement(
@@ -1732,7 +1766,7 @@ function WineGlass({
1732
1766
  {
1733
1767
  d: `M26 26 L38 26 Q44 62 32 62 Q20 62 26 26 Z`,
1734
1768
  transform: "scale(0.98)",
1735
- idBase: "WineGlassGrad",
1769
+ idBase,
1736
1770
  opacity: 0.7,
1737
1771
  liquidFill
1738
1772
  }
package/dist/index.mjs CHANGED
@@ -1,16 +1,16 @@
1
- import m from"react";function i({d:t,transform:o,liquidFill:r=null,liquidStyle:l=null,gradientAttr:d=null,opacity:Br=.7,idBase:qr="liquidGrad",highlight:Zr=null,highlightColor:Fr="#fff7c0",level:Sr=1,stopPositions:V=null}){let O=!1,s=null;if(typeof d=="string"){let e=d.trim();if(e.startsWith("#"))O=!0;else if(e.startsWith("["))try{s=JSON.parse(e)}catch{s=null}else s=[e]}else Array.isArray(d)&&(s=d);(!s||!s.length)&&(r?s=Array.isArray(r)?r:[r]:s=["#93d3d8"]);let v=Zr==="liquid"||Zr==="all"?[Fr,...s]:[...s],P;if(Array.isArray(V)&&V.length===v.length)P=V.map(e=>{let u=Number(e)||0;return Math.round(Math.max(0,Math.min(1,u))*100)});else{let e=Math.max(0,Math.min(1,Number(Sr)||0)),u=1-e;v.length===1?P=[100]:P=v.map((Dr,Wr)=>{let $r=Wr/Math.max(1,v.length-1);return Math.round((u+$r*e)*100)})}let Qr=qr;return m.createElement(m.Fragment,null,!O&&m.createElement("defs",null,m.createElement("linearGradient",{id:Qr,x1:"0",y1:"0",x2:"0",y2:"1"},v.map((e,u)=>m.createElement("stop",{key:u,offset:`${P[u]}%`,stopColor:e,stopOpacity:1})))),m.createElement("path",{d:t,transform:o,className:"liquid",style:l||void 0,fill:l?void 0:O?`url(${d})`:`url(#${Qr})`,opacity:Br}))}import Z from"react";function _({liquidFill:t=["#A8E6CF","#DCEDC2","#FFD3B6"],size:o=80,strokeWidth:r=.5}){let l=Math.floor(o*1.125);return Z.createElement("svg",{width:o,height:l,viewBox:"0 0 64 90"},Z.createElement(i,{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(0.98)",idBase:"AbsintheGlassGrad",opacity:.7,liquidFill:t}),Z.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"}),Z.createElement("rect",{x:31,y:60,width:2,height:16,fill:"black",stroke:"currentColor",strokeWidth:r}),Z.createElement("path",{d:" M24 77 Q32 76 40 77 L40 77 L24 77 Z ",fill:"currentColor",stroke:"currentColor",strokeWidth:r,rx:r}))}import p from"react";function K({liquidFill:t=["#F6D29A","#D98F3A"],strokeWidth:o=1}){return p.createElement("svg",{viewBox:"0 0 64 64"},p.createElement(i,{d:`M22 28
1
+ import m from"react";function i({d:t,transform:o,liquidFill:r=null,liquidStyle:l=null,gradientAttr:e=null,opacity:V=.7,idBase:qr="liquidGrad",highlight:Qr=null,highlightColor:Fr="#fff7c0",level:Sr=1,stopPositions:O=null}){let _=!1,n=null;if(typeof e=="string"){let s=e.trim();if(s.startsWith("#"))_=!0;else if(s.startsWith("["))try{n=JSON.parse(s)}catch{n=null}else n=[s]}else Array.isArray(e)&&(n=e);(!n||!n.length)&&(r?n=Array.isArray(r)?r:[r]:n=["#93d3d8"]);let v=Qr==="liquid"||Qr==="all"?[Fr,...n]:[...n],P;if(Array.isArray(O)&&O.length===v.length)P=O.map(s=>{let u=Number(s)||0;return Math.round(Math.max(0,Math.min(1,u))*100)});else{let s=Math.max(0,Math.min(1,Number(Sr)||0)),u=1-s;v.length===1?P=[100]:P=v.map((Dr,Wr)=>{let $r=Wr/Math.max(1,v.length-1);return Math.round((u+$r*s)*100)})}let Br=qr;return m.createElement(m.Fragment,null,!_&&m.createElement("defs",null,m.createElement("linearGradient",{id:Br,x1:"0",y1:"0",x2:"0",y2:"1"},v.map((s,u)=>m.createElement("stop",{key:u,offset:`${P[u]}%`,stopColor:s,stopOpacity:1})))),m.createElement("path",{d:t,transform:o,className:"liquid",style:l||void 0,fill:l?void 0:_?`url(${e})`:`url(#${Br})`,opacity:V}))}import Z from"react";function K({liquidFill:t=["#A8E6CF","#DCEDC2","#FFD3B6"],size:o=80,strokeWidth:r=.5,idBase:l="AbsintheGlassGrad"}){let e=Math.floor(o*1.125);return Z.createElement("svg",{width:o,height:e,viewBox:"0 0 64 90"},Z.createElement(i,{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(0.98)",idBase:l,opacity:.7,liquidFill:t}),Z.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"}),Z.createElement("rect",{x:31,y:60,width:2,height:16,fill:"black",stroke:"currentColor",strokeWidth:r}),Z.createElement("path",{d:" M24 77 Q32 76 40 77 L40 77 L24 77 Z ",fill:"currentColor",stroke:"currentColor",strokeWidth:r,rx:r}))}import p from"react";function U({liquidFill:t=["#F6D29A","#D98F3A"],strokeWidth:o=1,idBase:r="BrandySnifterGlassGrad"}){return p.createElement("svg",{viewBox:"0 0 64 64"},p.createElement(i,{d:`M22 28
4
4
  L42 28
5
5
  L44 48
6
6
  Q32 52 20 48
7
- Z`,transform:"scale(0.98)",idBase:"BrandySnifterGlassGrad",opacity:.7,liquidFill:t}),p.createElement("path",{d:`
7
+ Z`,transform:"scale(0.98)",idBase:r,opacity:.7,liquidFill:t}),p.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}),p.createElement("line",{x1:22,y1:28,x2:42,y2:28,stroke:"currentColor",strokeWidth:o}),p.createElement("rect",{x:30,y:50,width:4,height:5,fill:"currentColor",stroke:"currentColor",strokeWidth:o}),p.createElement("path",{d:"M24 55 Q32 54 40 55 L40 55 L24 55 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:o}))}import C from"react";function U({liquidFill:t=["#FFF7C0","#FFD27A"],strokeWidth:o=.5}){return C.createElement("svg",{viewBox:"0 0 64 64"},C.createElement(i,{d:"M22 10 L42 10 L42 54 L22 54 Z",transform:"scale(0.98)",idBase:"CollinsGlassGrad",opacity:.7,liquidFill:t}),C.createElement("line",{x1:22,y1:10,x2:22,y2:54,stroke:"currentColor",strokeWidth:o}),C.createElement("line",{x1:42,y1:10,x2:42,y2:54,stroke:"currentColor",strokeWidth:o}),C.createElement("line",{x1:21.76,y1:10,x2:42.24,y2:10,stroke:"currentColor",strokeWidth:o}),C.createElement("rect",{x:22,y:54,width:20,height:2,fill:"currentColor",stroke:"currentColor",strokeWidth:o}))}import Q from"react";function X({size:t=80,strokeWidth:o=.5,fill:r="#B87333"}){return Q.createElement("svg",{width:t,height:t,viewBox:"0 0 64 64"},Q.createElement("path",{d:"M47 23 C68 23 68 52 46.5 50",fill:"none",stroke:r,strokeWidth:o+2}),Q.createElement("path",{d:`
13
+ `,fill:"none",stroke:"currentColor",strokeWidth:o}),p.createElement("line",{x1:22,y1:28,x2:42,y2:28,stroke:"currentColor",strokeWidth:o}),p.createElement("rect",{x:30,y:50,width:4,height:5,fill:"currentColor",stroke:"currentColor",strokeWidth:o}),p.createElement("path",{d:"M24 55 Q32 54 40 55 L40 55 L24 55 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:o}))}import C from"react";function X({liquidFill:t=["#FFF7C0","#FFD27A"],strokeWidth:o=.5,idBase:r="CollinsGlassGrad"}){return C.createElement("svg",{viewBox:"0 0 64 64"},C.createElement(i,{d:"M22 10 L42 10 L42 54 L22 54 Z",transform:"scale(0.98)",idBase:r,opacity:.7,liquidFill:t}),C.createElement("line",{x1:22,y1:10,x2:22,y2:54,stroke:"currentColor",strokeWidth:o}),C.createElement("line",{x1:42,y1:10,x2:42,y2:54,stroke:"currentColor",strokeWidth:o}),C.createElement("line",{x1:21.76,y1:10,x2:42.24,y2:10,stroke:"currentColor",strokeWidth:o}),C.createElement("rect",{x:22,y:54,width:20,height:2,fill:"currentColor",stroke:"currentColor",strokeWidth:o}))}import Q from"react";function Y({size:t=80,strokeWidth:o=.5,fill:r="#B87333"}){return Q.createElement("svg",{width:t,height:t,viewBox:"0 0 64 64"},Q.createElement("path",{d:"M47 23 C68 23 68 52 46.5 50",fill:"none",stroke:r,strokeWidth:o+2}),Q.createElement("path",{d:`
14
14
  M18 16
15
15
  L46 16
16
16
  C48 24 48 40 46 56
@@ -24,67 +24,67 @@ import m from"react";function i({d:t,transform:o,liquidFill:r=null,liquidStyle:l
24
24
  L18 56
25
25
  C16 40 16 24 18 16
26
26
  Z
27
- `,fill:"none",stroke:r,strokeWidth:o}),Q.createElement("line",{x1:18,y1:16,x2:46,y2:16,stroke:r,strokeWidth:o}))}import L from"react";var br={colors:{accent:{200:"#ffd180",500:"#e67e22"},warning:"#ffb300",success:"#4caf50",error:"#e53935",dark:{400:"#616161",700:"#212121",900:"#121212"}}};try{global.theme=br}catch{}function Y({liquidFill:t=null,strokeWidth:o=.5}){return L.createElement("svg",{viewBox:"0 0 64 64"},L.createElement(i,{d:"M30 16 L35 16 Q34 25 31 26 Q30 26 28 16 Z",transform:"scale(0.98)",idBase:"CordialGlassGrad",opacity:.7,liquidFill:t}),L.createElement("path",{d:"M28 16 L36 16 Q34 26 32 26 Q30 26 28 16 Z",stroke:"currentColor",strokeWidth:o,fill:"none"}),L.createElement("rect",{x:31.8,y:26,width:.5,height:6,fill:"currentColor",stroke:"currentColor",strokeWidth:o}),L.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)"}),L.createElement("path",{d:"M28 32 Q32 31 36 32 L36 32 L28 32 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:o}))}import B from"react";function z({liquidFill:t=null,size:o=80,strokeWidth:r=1}){return B.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},B.createElement(i,{d:`
27
+ `,fill:"none",stroke:r,strokeWidth:o}),Q.createElement("line",{x1:18,y1:16,x2:46,y2:16,stroke:r,strokeWidth:o}))}import L from"react";var br={colors:{accent:{200:"#ffd180",500:"#e67e22"},warning:"#ffb300",success:"#4caf50",error:"#e53935",dark:{400:"#616161",700:"#212121",900:"#121212"}}};try{global.theme=br}catch{}function z({liquidFill:t=null,strokeWidth:o=.5,idBase:r="CordialGlassGrad"}){return L.createElement("svg",{viewBox:"0 0 64 64"},L.createElement(i,{d:"M30 16 L35 16 Q34 25 31 26 Q30 26 28 16 Z",transform:"scale(0.98)",idBase:r,opacity:.7,liquidFill:t}),L.createElement("path",{d:"M28 16 L36 16 Q34 26 32 26 Q30 26 28 16 Z",stroke:"currentColor",strokeWidth:o,fill:"none"}),L.createElement("rect",{x:31.8,y:26,width:.5,height:6,fill:"currentColor",stroke:"currentColor",strokeWidth:o}),L.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)"}),L.createElement("path",{d:"M28 32 Q32 31 36 32 L36 32 L28 32 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:o}))}import B from"react";function R({liquidFill:t=null,size:o=80,strokeWidth:r=1,idBase:l="CoupeGlassGrad"}){return B.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},B.createElement(i,{d:`
28
28
  M12 32 Q32 36 52 32 L52 18 Q32 18 12 18 Z
29
- `,transform:"scale(0.98)",idBase:"CoupeGlassGrad",opacity:.7,liquidFill:t}),B.createElement("path",{d:`
29
+ `,transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),B.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}),B.createElement("path",{d:"M32 34 L32 60",stroke:"currentColor",strokeWidth:r}),B.createElement("path",{d:"M24 60 Q32 59 40 60 L40 60 L24 60 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import q from"react";function R({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){return q.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},q.createElement("path",{d:"M20 24 L24 45 L40 45 L44 24 Z",fill:"none",stroke:"currentColor",strokeLinejoin:"miter",strokeWidth:r}),q.createElement(i,{d:"M20 24 L24 45 L40 45 L44 24 Z",transform:"scale(0.98)",idBase:"DemitasseGlassGrad",opacity:.7,liquidFill:t}),q.createElement("path",{d:"M43 30 Q55 30 41 40",stroke:"currentColor",fill:"none",strokeWidth:r}),q.createElement("path",{d:"M24 45 Q32 45 40 45 L40 48 L24 48 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import H from"react";function rr({liquidFill:t=["#FFF7C0","#FFD27A"],size:o=64,strokeWidth:r=.5}){return H.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},H.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}),H.createElement(i,{d:"M20 18 C22 30 22 46 22.5 58 L41.5 58 C42.5 46 42.5 30 44 18 Z",transform:"scale(0.98)",idBase:"DoubleShotGlassGrad",opacity:.7,liquidFill:t}),H.createElement("rect",{x:22.5,y:58,width:19,height:3,fill:"none",stroke:"currentColor",strokeWidth:r}))}import c from"react";function or({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){return c.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},c.createElement("path",{d:"M22 10 L42 10",stroke:"currentColor",strokeWidth:r}),c.createElement(i,{d:`
31
+ `,fill:"none",stroke:"currentColor",strokeWidth:r}),B.createElement("path",{d:"M32 34 L32 60",stroke:"currentColor",strokeWidth:r}),B.createElement("path",{d:"M24 60 Q32 59 40 60 L40 60 L24 60 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import q from"react";function rr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="DemitasseGlassGrad"}){return q.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},q.createElement("path",{d:"M20 24 L24 45 L40 45 L44 24 Z",fill:"none",stroke:"currentColor",strokeLinejoin:"miter",strokeWidth:r}),q.createElement(i,{d:"M20 24 L24 45 L40 45 L44 24 Z",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),q.createElement("path",{d:"M43 30 Q55 30 41 40",stroke:"currentColor",fill:"none",strokeWidth:r}),q.createElement("path",{d:"M24 45 Q32 45 40 45 L40 48 L24 48 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import H from"react";function or({liquidFill:t=["#FFF7C0","#FFD27A"],size:o=64,strokeWidth:r=.5,idBase:l="DoubleShotGlassGrad"}){return H.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},H.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}),H.createElement(i,{d:"M20 18 C22 30 22 46 22.5 58 L41.5 58 C42.5 46 42.5 30 44 18 Z",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),H.createElement("rect",{x:22.5,y:58,width:19,height:3,fill:"none",stroke:"currentColor",strokeWidth:r}))}import c from"react";function tr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="FizzGlassGrad"}){return c.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},c.createElement("path",{d:"M22 10 L42 10",stroke:"currentColor",strokeWidth:r}),c.createElement(i,{d:`
32
32
  M22 10 L24 23 L40 23 L42 10 Z
33
- `,transform:"scale(0.98)",idBase:"FizzGlassGrad",opacity:.7,liquidFill:t}),c.createElement("path",{d:`
33
+ `,transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),c.createElement("path",{d:`
34
34
  M22 10 L24 23 L40 23 L42 10 Z
35
- `,fill:"none",stroke:"currentColor",strokeWidth:r}),c.createElement("rect",{x:32,y:23,width:1,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),c.createElement("path",{d:"M26 33 Q32 32 38 33 L38 33 L26 33 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import F from"react";function tr({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){return F.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},F.createElement(i,{d:`
35
+ `,fill:"none",stroke:"currentColor",strokeWidth:r}),c.createElement("rect",{x:32,y:23,width:1,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),c.createElement("path",{d:"M26 33 Q32 32 38 33 L38 33 L26 33 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import F from"react";function ir({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="FluteGlassGrad"}){return F.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},F.createElement(i,{d:`
36
36
  M30 12
37
37
  L34 12
38
38
  L36 36
39
39
  Q32 38 28 36
40
40
  Z
41
- `,transform:"scale(0.98)",idBase:"FluteGlassGrad",opacity:.7,liquidFill:t}),F.createElement("path",{d:`
41
+ `,transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),F.createElement("path",{d:`
42
42
  M30 12
43
43
  L34 12
44
44
  L36 36
45
45
  Q32 38 28 36
46
46
  Z
47
- `,fill:"none",stroke:"currentColor",strokeWidth:r}),F.createElement("rect",{x:32,y:37,width:r,height:16,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),F.createElement("path",{d:"M26 53 Q32 52 38 53 L38 53 L26 53 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import g from"react";function ir({liquidFill:t=null,size:o=80,strokeWidth:r=2}){let l=Math.round(o*90/80);return g.createElement("svg",{width:o,height:l,viewBox:"0 0 64 90"},g.createElement("rect",{x:30.5,y:69,width:3,height:8,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),g.createElement(i,{d:" M19 28 L46 28 Q52 58 32 70 Q12 58 16 28 Z ",transform:"scale(0.98)",idBase:"GobletGlassGrad",opacity:.7,liquidFill:t}),g.createElement("path",{d:`
47
+ `,fill:"none",stroke:"currentColor",strokeWidth:r}),F.createElement("rect",{x:32,y:37,width:r,height:16,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),F.createElement("path",{d:"M26 53 Q32 52 38 53 L38 53 L26 53 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import g from"react";function lr({liquidFill:t=null,size:o=80,strokeWidth:r=2,idBase:l="GobletGlassGrad"}){let e=Math.round(o*90/80);return g.createElement("svg",{width:o,height:e,viewBox:"0 0 64 90"},g.createElement("rect",{x:30.5,y:69,width:3,height:8,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),g.createElement(i,{d:" M19 28 L46 28 Q52 58 32 70 Q12 58 16 28 Z ",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),g.createElement("path",{d:`
48
48
  M16 28
49
49
  L48 28
50
50
  Q52 58 32 70
51
51
  Q12 58 16 28
52
52
  Z
53
- `,fill:"none",stroke:"currentColor",strokeWidth:r}),g.createElement("line",{x1:16,y1:28,x2:48,y2:28,stroke:"currentColor",strokeWidth:r}),g.createElement("path",{d:" M24 77 Q32 76 40 77 L40 77 L24 77 Z ",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import N from"react";function lr({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){return N.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},N.createElement(i,{d:"M18 10 L46 10 L46 60 L18 60 Z",transform:"scale(0.98)",idBase:"HighballGlassGrad",opacity:.7,liquidFill:t}),N.createElement("rect",{x:18,y:10,width:28,height:50,stroke:"currentColor",strokeWidth:r,fill:"none"}),N.createElement("rect",{x:18,y:60,width:28,height:2,fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import S from"react";function er({liquidFill:t=null,garnish:o=null,size:r=80,strokeWidth:l=.5}){return S.createElement("svg",{width:r,height:r,viewBox:"0 0 64 64"},S.createElement(i,{d:"M24 10 C16 22, 24 38, 28 44 C30 48, 34 48, 36 44 C40 38, 48 22, 40 10 Z",transform:"scale(0.98)",idBase:"HurricaneGlassGrad",opacity:.7,liquidFill:t}),S.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:l}),S.createElement("rect",{x:30.5,y:47,width:3,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:l}),S.createElement("path",{d:"M26 57 Q32 56 38 57 L38 57 L26 57 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:l}))}import x from"react";function sr({liquidFill:t=null,size:o=80,strokeWidth:r=2}){return x.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},x.createElement("path",{d:" M42 18 Q60 20 44 30 ",stroke:"currentColor",strokeWidth:r,fill:"none"}),x.createElement(i,{d:`
53
+ `,fill:"none",stroke:"currentColor",strokeWidth:r}),g.createElement("line",{x1:16,y1:28,x2:48,y2:28,stroke:"currentColor",strokeWidth:r}),g.createElement("path",{d:" M24 77 Q32 76 40 77 L40 77 L24 77 Z ",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import N from"react";function er({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="HighballGlassGrad"}){return N.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},N.createElement(i,{d:"M18 10 L46 10 L46 60 L18 60 Z",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),N.createElement("rect",{x:18,y:10,width:28,height:50,stroke:"currentColor",strokeWidth:r,fill:"none"}),N.createElement("rect",{x:18,y:60,width:28,height:2,fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import S from"react";function sr({liquidFill:t=null,garnish:o=null,size:r=80,strokeWidth:l=.5,idBase:e="HurricaneGlassGrad"}){return S.createElement("svg",{width:r,height:r,viewBox:"0 0 64 64"},S.createElement(i,{d:"M24 10 C16 22, 24 38, 28 44 C30 48, 34 48, 36 44 C40 38, 48 22, 40 10 Z",transform:"scale(0.98)",idBase:e,opacity:.7,liquidFill:t}),S.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:l}),S.createElement("rect",{x:30.5,y:47,width:3,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:l}),S.createElement("path",{d:"M26 57 Q32 56 38 57 L38 57 L26 57 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:l}))}import x from"react";function nr({liquidFill:t=null,size:o=80,strokeWidth:r=2,idBase:l="IrishCoffeeGlassGrad"}){return x.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},x.createElement("path",{d:" M42 18 Q60 20 44 30 ",stroke:"currentColor",strokeWidth:r,fill:"none"}),x.createElement(i,{d:`
54
54
  M22 16
55
55
  L42 16
56
56
  L44 30
57
57
  Q44 38 32 42
58
58
  Q20 38 20 30
59
59
  Z
60
- `,transform:"scale(0.98)",idBase:"IrishCoffeeGlassGrad",opacity:.7,liquidFill:t}),x.createElement("path",{d:`
60
+ `,transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),x.createElement("path",{d:`
61
61
  M22 16
62
62
  L42 16
63
63
  L44 30
64
64
  Q44 38 32 42
65
65
  Q20 38 20 30
66
66
  Z
67
- `,stroke:"currentColor",strokeWidth:r-1,fill:"none"}),x.createElement("rect",{x:31,y:42,width:2,height:2,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),x.createElement("path",{d:" M24 44 Q32 43 40 44 L40 44 L24 44 Z ",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import n from"react";function nr({fill:t="#a1a1a1",size:o=80,strokeWidth:r=.5}){return n.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},n.createElement("rect",{x:17,y:21,width:30,height:1,rx:1,fill:"none",stroke:t,strokeWidth:r}),n.createElement("rect",{x:17,y:21,width:30,height:1,rx:1,transform:"scale(0.98)",opacity:.7,fill:t,strokeWidth:0}),n.createElement("path",{d:`
67
+ `,stroke:"currentColor",strokeWidth:r-1,fill:"none"}),x.createElement("rect",{x:31,y:42,width:2,height:2,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),x.createElement("path",{d:" M24 44 Q32 43 40 44 L40 44 L24 44 Z ",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import d from"react";function dr({fill:t="#a1a1a1",size:o=80,strokeWidth:r=.5}){return d.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},d.createElement("rect",{x:17,y:21,width:30,height:1,rx:1,fill:"none",stroke:t,strokeWidth:r}),d.createElement("rect",{x:17,y:21,width:30,height:1,rx:1,transform:"scale(0.98)",opacity:.7,fill:t,strokeWidth:0}),d.createElement("path",{d:`
68
68
  M18 22
69
69
  L46 22
70
70
  L42 54
71
71
  L22 54
72
72
  Z
73
- `,fill:"none",stroke:t,strokeWidth:r}),n.createElement("path",{d:`
73
+ `,fill:"none",stroke:t,strokeWidth:r}),d.createElement("path",{d:`
74
74
  M18 22
75
75
  L46 22
76
76
  L42 54
77
77
  L22 54
78
78
  Z
79
- `,transform:"scale(0.98)",fill:t}),n.createElement("rect",{x:20,y:53,width:24,height:1,rx:r,fill:"none",stroke:t,strokeWidth:r}),n.createElement("rect",{x:20,y:53,width:24,height:1,rx:r,transform:"scale(0.98)",fill:t,strokeWidth:0}),n.createElement("rect",{x:18.8,y:54,width:26,height:1,rx:r,fill:"none",stroke:t,strokeWidth:r}),n.createElement("rect",{x:18.8,y:54,width:26,height:1,rx:r,transform:"scale(0.98)",fill:t,strokeWidth:0}))}import W from"react";function dr({liquidFill:t=["#A8E063","#56AB2F"],size:o=80,strokeWidth:r=.5}){let l=t;return W.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},W.createElement(i,{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(0.98)",idBase:"MargaritaGlassGrad",opacity:.7,liquidFill:t}),W.createElement("path",{d:`M14 18 L50 18 Q46 28 36 29 Q30 30 28 29 Q18 28 14 18 Z
80
- M28 29 Q32 29 36 29 Q38 34 32 36 Q26 34 28 29 Z`,fill:"none",stroke:"currentColor",strokeWidth:r}),W.createElement("rect",{x:31.5,y:36,width:1,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),W.createElement("path",{d:" M24 46 Q32 45 40 46 L40 47 L24 47 Z ",fill:"currentColor",strokeWidth:0}))}import $ from"react";function ur({liquidFill:t=null,garnish:o=null,size:r=80,strokeWidth:l=1}){return $.createElement("svg",{width:r,height:r,viewBox:"0 0 64 64"},$.createElement(i,{d:"M10 10 L54 10 L32 40 Z",transform:"scale(0.98)",idBase:"MartiniGlassGrad",opacity:.7,liquidFill:t}),$.createElement("path",{d:"M10 10 L54 10 L32 40 Z",stroke:"currentColor",fill:"none",strokeWidth:l}),$.createElement("path",{d:"M32 40 L32 58",stroke:"currentColor",strokeWidth:l}),$.createElement("path",{d:" M24 58 Q32 57 40 58 L40 59 L24 59 Z ",fill:"currentColor"}))}import b from"react";function fr({liquidFill:t=null,garnish:o=null,size:r=80,strokeWidth:l=.5}){return b.createElement("svg",{width:r,height:r,viewBox:"0 0 64 64"},b.createElement(i,{d:"M24 38 L24 24 L40 24 L40 38 Q32 40 24 38 Z",transform:"scale(0.98)",idBase:"NickAndNoraGlassGrad",opacity:.7,liquidFill:t}),b.createElement("path",{d:"M24 38 L24 24 L40 24 L40 38 Q32 40 24 38 Z",fill:"none",stroke:"currentColor",strokeWidth:l}),b.createElement("rect",{x:32,y:39,width:1,height:16,fill:"currentColor",stroke:"currentColor",strokeWidth:l}),b.createElement("path",{d:" M24 55 Q32 54 40 55 L40 55 L24 55 Z ",fill:"currentColor",stroke:"currentColor",strokeWidth:l}))}import A from"react";function hr({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){return A.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},A.createElement(i,{d:`
79
+ `,transform:"scale(0.98)",fill:t}),d.createElement("rect",{x:20,y:53,width:24,height:1,rx:r,fill:"none",stroke:t,strokeWidth:r}),d.createElement("rect",{x:20,y:53,width:24,height:1,rx:r,transform:"scale(0.98)",fill:t,strokeWidth:0}),d.createElement("rect",{x:18.8,y:54,width:26,height:1,rx:r,fill:"none",stroke:t,strokeWidth:r}),d.createElement("rect",{x:18.8,y:54,width:26,height:1,rx:r,transform:"scale(0.98)",fill:t,strokeWidth:0}))}import W from"react";function ur({liquidFill:t=["#A8E063","#56AB2F"],size:o=80,strokeWidth:r=.5,idBase:l="MargaritaGlassGrad"}){let e=t;return W.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},W.createElement(i,{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(0.98)",idBase:l,opacity:.7,liquidFill:t}),W.createElement("path",{d:`M14 18 L50 18 Q46 28 36 29 Q30 30 28 29 Q18 28 14 18 Z
80
+ M28 29 Q32 29 36 29 Q38 34 32 36 Q26 34 28 29 Z`,fill:"none",stroke:"currentColor",strokeWidth:r}),W.createElement("rect",{x:31.5,y:36,width:1,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),W.createElement("path",{d:" M24 46 Q32 45 40 46 L40 47 L24 47 Z ",fill:"currentColor",strokeWidth:0}))}import $ from"react";function fr({liquidFill:t=null,garnish:o=null,size:r=80,strokeWidth:l=1,idBase:e="MartiniGlassGrad"}){return $.createElement("svg",{width:r,height:r,viewBox:"0 0 64 64"},$.createElement(i,{d:"M10 10 L54 10 L32 40 Z",transform:"scale(0.98)",idBase:e,opacity:.7,liquidFill:t}),$.createElement("path",{d:"M10 10 L54 10 L32 40 Z",stroke:"currentColor",fill:"none",strokeWidth:l}),$.createElement("path",{d:"M32 40 L32 58",stroke:"currentColor",strokeWidth:l}),$.createElement("path",{d:" M24 58 Q32 57 40 58 L40 59 L24 59 Z ",fill:"currentColor"}))}import b from"react";function hr({liquidFill:t=null,garnish:o=null,size:r=80,strokeWidth:l=.5,idBase:e="NickAndNoraGlassGrad"}){return b.createElement("svg",{width:r,height:r,viewBox:"0 0 64 64"},b.createElement(i,{d:"M24 38 L24 24 L40 24 L40 38 Q32 40 24 38 Z",transform:"scale(0.98)",idBase:e,opacity:.7,liquidFill:t}),b.createElement("path",{d:"M24 38 L24 24 L40 24 L40 38 Q32 40 24 38 Z",fill:"none",stroke:"currentColor",strokeWidth:l}),b.createElement("rect",{x:32,y:39,width:1,height:16,fill:"currentColor",stroke:"currentColor",strokeWidth:l}),b.createElement("path",{d:" M24 55 Q32 54 40 55 L40 55 L24 55 Z ",fill:"currentColor",stroke:"currentColor",strokeWidth:l}))}import A from"react";function ar({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="ParfaitGlassGrad"}){return A.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},A.createElement(i,{d:`
81
81
  M22 12
82
82
  L42 12
83
83
  Q40 30 38 44
84
84
  Q32 50 26 44
85
85
  Q24 30 22 12
86
86
  Z
87
- `,transform:"scale(0.98)",idBase:"ParfaitGlassGrad",opacity:.7,liquidFill:t}),A.createElement("path",{d:`
87
+ `,transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),A.createElement("path",{d:`
88
88
  M22 12
89
89
  L42 12
90
90
  Q40 30 38 44
@@ -93,13 +93,13 @@ import m from"react";function i({d:t,transform:o,liquidFill:r=null,liquidStyle:l
93
93
  Z
94
94
  `,stroke:"currentColor",strokeWidth:r,fill:"none"}),A.createElement("rect",{x:31,y:47,width:2,height:8,fill:"currentColor"}),A.createElement("path",{d:`
95
95
  M22 57 Q32 53 42 57 L42 57.5 L22 57.5 Z
96
- `,fill:"currentColor"}))}import E from"react";function ar({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){return E.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},E.createElement(i,{d:"M24 10 L40 10 Q38 36 36 50 Q32 54 28 50 Q26 36 24 10 Z",transform:"scale(0.98)",idBase:"PilsnerGlassGrad",opacity:.7,liquidFill:t}),E.createElement("path",{d:"M28 50 Q32 55 37 51 L37 56 Q35 56 28.5 56 Z",transform:"scale(0.98)",fill:"currentColor",className:"base"}),E.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 T from"react";function mr({liquidFill:t=null,garnish:o=null,size:r=80,strokeWidth:l=.5}){return T.createElement("svg",{width:r,height:r,viewBox:"0 0 64 64"},T.createElement(i,{d:"M18 10 L46 10 L42 54 L22 54 Z",transform:"scale(0.98)",idBase:"PintGlassGrad",opacity:.7,liquidFill:t}),T.createElement("path",{d:"M18 10 L46 10 L42 54 L22 54 Z",stroke:"currentColor",strokeWidth:l,fill:"none"}),T.createElement("rect",{x:22,y:54,width:20,height:2,fill:"currentColor",stroke:"currentColor",strokeWidth:l}))}import f from"react";function pr({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){let d=Math.floor(o*1.125);return f.createElement("svg",{width:o,height:d,viewBox:"0 0 64 90"},f.createElement("g",null,f.createElement(i,{d:`
96
+ `,fill:"currentColor"}))}import E from"react";function mr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="PilsnerGlassGrad"}){return E.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},E.createElement(i,{d:"M24 10 L40 10 Q38 36 36 50 Q32 54 28 50 Q26 36 24 10 Z",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),E.createElement("path",{d:"M28 50 Q32 55 37 51 L37 56 Q35 56 28.5 56 Z",transform:"scale(0.98)",fill:"currentColor",className:"base"}),E.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 T from"react";function pr({liquidFill:t=null,garnish:o=null,size:r=80,strokeWidth:l=.5,idBase:e="PintGlassGrad"}){return T.createElement("svg",{width:r,height:r,viewBox:"0 0 64 64"},T.createElement(i,{d:"M18 10 L46 10 L42 54 L22 54 Z",transform:"scale(0.98)",idBase:e,opacity:.7,liquidFill:t}),T.createElement("path",{d:"M18 10 L46 10 L42 54 L22 54 Z",stroke:"currentColor",strokeWidth:l,fill:"none"}),T.createElement("rect",{x:22,y:54,width:20,height:2,fill:"currentColor",stroke:"currentColor",strokeWidth:l}))}import f from"react";function Cr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="PousseCafeGlassGrad"}){let V=Math.floor(o*1.125);return f.createElement("svg",{width:o,height:V,viewBox:"0 0 64 90"},f.createElement("g",null,f.createElement(i,{d:`
97
97
  M ${32-11} 12
98
98
  L ${32+11} 12
99
99
  L ${32+9} 38
100
100
  Q 32 42 ${32-9} 38
101
101
  Z
102
- `,transform:"scale(0.98)",idBase:"PousseCafeGlassGrad",opacity:.7,liquidFill:t}),f.createElement("path",{d:`
102
+ `,transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),f.createElement("path",{d:`
103
103
  M ${32-11} 12
104
104
  L ${32+11} 12
105
105
  L ${32+9} 38
@@ -111,32 +111,32 @@ import m from"react";function i({d:t,transform:o,liquidFill:r=null,liquidStyle:l
111
111
  L ${32+6} 30
112
112
  Q 32 33 ${32-6} 30
113
113
  Z
114
- `,fill:"rgba(255,255,255,0.06)"}),f.createElement("rect",{x:32-1,y:40,width:2,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),f.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 h from"react";function Cr({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){return h.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},h.createElement("g",null,h.createElement(i,{d:`
114
+ `,fill:"rgba(255,255,255,0.06)"}),f.createElement("rect",{x:32-1,y:40,width:2,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),f.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 h from"react";function Lr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="PunchGlassGrad"}){return h.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},h.createElement("g",null,h.createElement(i,{d:`
115
115
  M22 18
116
116
  L42 18
117
117
  L38 30
118
118
  Q32 34 26 30
119
119
  L22 18
120
120
  Z
121
- `,transform:"scale(0.98)",idBase:"PunchGlassGrad",opacity:.7,liquidFill:t}),h.createElement("path",{d:`
121
+ `,transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),h.createElement("path",{d:`
122
122
  M22 18
123
123
  L42 18
124
124
  L38 30
125
125
  Q32 34 26 30
126
126
  L22 18
127
127
  Z
128
- `,stroke:"currentColor",strokeWidth:r,fill:"none"}),h.createElement("path",{d:"M28 20 L28 28 M32 20 L32 30 M36 20 L36 28",stroke:"currentColor",strokeWidth:.6,strokeLinecap:"round",opacity:.06}),h.createElement("rect",{x:31,y:32,width:2,height:6,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),h.createElement("path",{d:"M26 38 Q32 37 38 38 L38 38 L26 38 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r})))}import j from"react";function Lr({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){return j.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},j.createElement(i,{d:"M14 24 L50 24 L50 58 L14 58 Z",transform:"scale(0.98)",idBase:"RocksGlassGrad",opacity:.7,liquidFill:t}),j.createElement("rect",{x:14,y:24,width:36,height:34,stroke:"currentColor",strokeWidth:r,fill:"none"}),j.createElement("line",{x1:13.7,y1:59,x2:50.2,y2:59,stroke:"currentColor",strokeWidth:"2"}))}import I from"react";function cr({liquidFill:t=["#FFFFFF","#E0E0E0"],size:o=64,strokeWidth:r=.5}){return I.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},I.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}),I.createElement(i,{d:"M23 28 C24.5 36 24.5 40 25 48 L39 48 C39.5 40 39.5 36 41 28 Z",transform:"scale(0.98)",idBase:"SingleShotGlassGrad",opacity:.7,liquidFill:t}),I.createElement("rect",{x:25,y:48,width:14,height:3,stroke:"currentColor",strokeWidth:r,fill:"none"}))}import k from"react";function gr({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){return k.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},k.createElement("line",{x1:24,y1:12,x2:40,y2:12,stroke:"currentColor",strokeWidth:r}),k.createElement(i,{d:"M25 12 L40 12 C41 29 40 46 32 55 C24 46 24 28 24 12 Z",transform:"scale(0.98)",idBase:"SlingGlassGrad",opacity:.7,liquidFill:t}),k.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"}),k.createElement("rect",{x:31,y:54,width:2,height:2,fill:"currentColor"}),k.createElement("path",{d:"M29 56 Q32 55 35 56 L35 56 L29 56 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r,rx:1}))}import G from"react";function xr({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){return G.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},G.createElement("line",{x1:22,y1:18,x2:42,y2:18,stroke:"currentColor",strokeWidth:r}),G.createElement("path",{d:`
128
+ `,stroke:"currentColor",strokeWidth:r,fill:"none"}),h.createElement("path",{d:"M28 20 L28 28 M32 20 L32 30 M36 20 L36 28",stroke:"currentColor",strokeWidth:.6,strokeLinecap:"round",opacity:.06}),h.createElement("rect",{x:31,y:32,width:2,height:6,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),h.createElement("path",{d:"M26 38 Q32 37 38 38 L38 38 L26 38 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r})))}import j from"react";function cr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="RocksGlassGrad"}){return j.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},j.createElement(i,{d:"M14 24 L50 24 L50 58 L14 58 Z",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),j.createElement("rect",{x:14,y:24,width:36,height:34,stroke:"currentColor",strokeWidth:r,fill:"none"}),j.createElement("line",{x1:13.7,y1:59,x2:50.2,y2:59,stroke:"currentColor",strokeWidth:"2"}))}import I from"react";function gr({liquidFill:t=["#FFFFFF","#E0E0E0"],size:o=64,strokeWidth:r=.5,idBase:l="SingleShotGlassGrad"}){return I.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},I.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}),I.createElement(i,{d:"M23 28 C24.5 36 24.5 40 25 48 L39 48 C39.5 40 39.5 36 41 28 Z",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),I.createElement("rect",{x:25,y:48,width:14,height:3,stroke:"currentColor",strokeWidth:r,fill:"none"}))}import k from"react";function xr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="SlingGlassGrad"}){return k.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},k.createElement("line",{x1:24,y1:12,x2:40,y2:12,stroke:"currentColor",strokeWidth:r}),k.createElement(i,{d:"M25 12 L40 12 C41 29 40 46 32 55 C24 46 24 28 24 12 Z",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),k.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"}),k.createElement("rect",{x:31,y:54,width:2,height:2,fill:"currentColor"}),k.createElement("path",{d:"M29 56 Q32 55 35 56 L35 56 L29 56 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r,rx:1}))}import G from"react";function kr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="SnifterGlassGrad"}){return G.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},G.createElement("line",{x1:22,y1:18,x2:42,y2:18,stroke:"currentColor",strokeWidth:r}),G.createElement("path",{d:`
129
129
  M22 18
130
130
  C16 32, 16 46, 32 52
131
131
  C48 46, 48 32, 42 18
132
132
  Z
133
- `,stroke:"currentColor",strokeWidth:r,fill:"none"}),G.createElement(i,{d:" M22 18 C16 32, 16 46, 32 52 C48 46, 48 32, 42 18 Z ",transform:"scale(0.98)",idBase:"SnifterGlassGrad",opacity:.7,liquidFill:t}),G.createElement("rect",{x:30,y:51,width:4,height:4,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),G.createElement("path",{d:"M26 54 Q32 51 38 54 L38 55 L26 55 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import y from"react";function kr({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){return y.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},y.createElement("line",{x1:16,y1:18,x2:48,y2:18,stroke:"currentColor",strokeWidth:r}),y.createElement(i,{d:`
133
+ `,stroke:"currentColor",strokeWidth:r,fill:"none"}),G.createElement(i,{d:" M22 18 C16 32, 16 46, 32 52 C48 46, 48 32, 42 18 Z ",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),G.createElement("rect",{x:30,y:51,width:4,height:4,fill:"currentColor",stroke:"currentColor",strokeWidth:r}),G.createElement("path",{d:"M26 54 Q32 51 38 54 L38 55 L26 55 Z",fill:"currentColor",stroke:"currentColor",strokeWidth:r}))}import y from"react";function Gr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="SourGlassGrad"}){return y.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},y.createElement("line",{x1:16,y1:18,x2:48,y2:18,stroke:"currentColor",strokeWidth:r}),y.createElement(i,{d:`
134
134
  M16 18
135
135
  L48 18
136
136
  C46 30, 46 38, 32 42
137
137
  C18 38, 18 30, 16 18
138
138
  Z
139
- `,transform:"scale(0.98)",idBase:"SourGlassGrad",opacity:.7,liquidFill:t}),y.createElement("path",{d:`
139
+ `,transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),y.createElement("path",{d:`
140
140
  M16 18
141
141
  L48 18
142
142
  C46 30, 46 38, 32 42
@@ -148,4 +148,4 @@ import m from"react";function i({d:t,transform:o,liquidFill:r=null,liquidStyle:l
148
148
  L42 54
149
149
  L22 54
150
150
  Z
151
- `,fill:"currentColor"}))}import M from"react";function Gr({liquidFill:t=null,size:o=80,strokeWidth:r=1}){return M.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},M.createElement("rect",{x:13,y:44,width:36,height:4,fill:"currentColor"}),M.createElement(i,{d:"M14 10 L48 10 L48 44 L14 44 Z",transform:"scale(0.98)",idBase:"TankardGlassGrad",opacity:.7,liquidFill:t}),M.createElement("rect",{x:14,y:10,width:34,height:34,fill:"none",stroke:"currentColor",strokeWidth:r*1.4}),M.createElement("g",null,M.createElement("path",{d:"M49 17 C60 19 60 34 49 37",stroke:"currentColor",strokeWidth:r*3,strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})))}import w from"react";function yr({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){return w.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},w.createElement("rect",{x:21.75,y:52,width:20.5,height:2,fill:"currentColor"}),w.createElement("rect",{x:20,y:50,width:24,height:4,rx:2,fill:"currentColor",opacity:.06}),w.createElement("rect",{x:22,y:10,width:20,height:42,stroke:"currentColor",strokeWidth:r,fill:"none",opacity:.9}),w.createElement(i,{d:"M21 9 L41 9 L41 51 L21 51 Z",transform:"scale(0.98)",idBase:"TikiGlassGrad",opacity:.7,liquidFill:t}),w.createElement("ellipse",{cx:32,cy:32,rx:6,ry:3,fill:"currentColor"}))}import a from"react";function Mr({liquidFill:t=null,size:o=80,strokeWidth:r=.8}){return a.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},a.createElement(i,{d:"M22 12 H42 V40 H22 Z",transform:"scale(0.98)",idBase:"ToddyGlassGrad",opacity:.7,liquidFill:t}),a.createElement("path",{d:"M22 12 H42 V40 H22 Z",fill:"none",stroke:"currentColor",strokeWidth:r,strokeLinejoin:"round"}),a.createElement("g",null,a.createElement("path",{d:"M43 16 C52 18 52 34 43 36",stroke:"currentColor",strokeWidth:r*2.4,strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),a.createElement("rect",{x:30,y:40,width:4,height:6,fill:"currentColor"}),a.createElement("path",{d:"M22 47 Q32 43 42 47 L42 48 L22 48 Z",fill:"currentColor"}))}import J from"react";function wr({liquidFill:t=["#FFFFFF","#E0E0E0"],size:o=80,strokeWidth:r=.5}){return J.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},J.createElement("rect",{x:22,y:30,width:20,height:18,stroke:"currentColor",fill:"none",strokeWidth:r}),J.createElement(i,{d:"M22 30 L42 30 L42 48 L22 48 Z",transform:"scale(0.98)",idBase:"ShotGlassGrad",opacity:.7,liquidFill:t}),J.createElement("rect",{x:22,y:48,width:20,height:3,fill:"none",stroke:"currentColor",strokeWidth:r}))}import D from"react";function vr({liquidFill:t=null,size:o=80,strokeWidth:r=.5}){let l=Math.round(o*90/80);return D.createElement("svg",{width:o,height:l,viewBox:"0 0 64 90"},D.createElement(i,{d:"M26 26 L38 26 Q44 62 32 62 Q20 62 26 26 Z",transform:"scale(0.98)",idBase:"WineGlassGrad",opacity:.7,liquidFill:t}),D.createElement("path",{d:"M26 26 L38 26 Q44 62 32 62 Q20 62 26 26 Z",fill:"none",stroke:"currentColor",strokeWidth:r}),D.createElement("rect",{x:31.5,y:62,width:1,height:25,fill:"currentColor"}),D.createElement("path",{d:"M24 86 Q32 84 40 86 L40 87 L24 87 Z",fill:"currentColor"}))}var Ki={Liquid:i,AbsintheGlass:_,BrandySnifterGlass:K,CollinsGlass:U,CopperMug:X,CordialGlass:Y,CoupeGlass:z,DemitasseGlass:R,DoubleShotGlass:rr,FizzGlass:or,FluteGlass:tr,GobletGlass:ir,HighballGlass:lr,HurricaneGlass:er,IrishCoffeeGlass:sr,JulepCup:nr,MargaritaGlass:dr,MartiniGlass:ur,NickAndNoraGlass:fr,ParfaitGlass:hr,PilsnerGlass:ar,PintGlass:mr,PousseCafeGlass:pr,PunchGlass:Cr,RocksGlass:Lr,SingleShotGlass:cr,SlingGlass:gr,SnifterGlass:xr,SourGlass:kr,TankardGlass:Gr,TikiGlass:yr,ToddyGlass:Mr,WhiskeyShotGlass:wr,WineGlass:vr};export{_ as AbsintheGlass,K as BrandySnifterGlass,U as CollinsGlass,X as CopperMug,Y as CordialGlass,z as CoupeGlass,R as DemitasseGlass,rr as DoubleShotGlass,or as FizzGlass,tr as FluteGlass,ir as GobletGlass,lr as HighballGlass,er as HurricaneGlass,sr as IrishCoffeeGlass,nr as JulepCup,i as Liquid,dr as MargaritaGlass,ur as MartiniGlass,fr as NickAndNoraGlass,hr as ParfaitGlass,ar as PilsnerGlass,mr as PintGlass,pr as PousseCafeGlass,Cr as PunchGlass,Lr as RocksGlass,cr as SingleShotGlass,gr as SlingGlass,xr as SnifterGlass,kr as SourGlass,Gr as TankardGlass,yr as TikiGlass,Mr as ToddyGlass,wr as WhiskeyShotGlass,vr as WineGlass,Ki as default};
151
+ `,fill:"currentColor"}))}import M from"react";function yr({liquidFill:t=null,size:o=80,strokeWidth:r=1,idBase:l="TankardGlassGrad"}){return M.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},M.createElement("rect",{x:13,y:44,width:36,height:4,fill:"currentColor"}),M.createElement(i,{d:"M14 10 L48 10 L48 44 L14 44 Z",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),M.createElement("rect",{x:14,y:10,width:34,height:34,fill:"none",stroke:"currentColor",strokeWidth:r*1.4}),M.createElement("g",null,M.createElement("path",{d:"M49 17 C60 19 60 34 49 37",stroke:"currentColor",strokeWidth:r*3,strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})))}import w from"react";function Mr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="TikiGlassGrad"}){return w.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},w.createElement("rect",{x:21.75,y:52,width:20.5,height:2,fill:"currentColor"}),w.createElement("rect",{x:20,y:50,width:24,height:4,rx:2,fill:"currentColor",opacity:.06}),w.createElement("rect",{x:22,y:10,width:20,height:42,stroke:"currentColor",strokeWidth:r,fill:"none",opacity:.9}),w.createElement(i,{d:"M21 9 L41 9 L41 51 L21 51 Z",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),w.createElement("ellipse",{cx:32,cy:32,rx:6,ry:3,fill:"currentColor"}))}import a from"react";function wr({liquidFill:t=null,size:o=80,strokeWidth:r=.8,idBase:l="ToddyGlassGrad"}){return a.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},a.createElement(i,{d:"M22 12 H42 V40 H22 Z",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),a.createElement("path",{d:"M22 12 H42 V40 H22 Z",fill:"none",stroke:"currentColor",strokeWidth:r,strokeLinejoin:"round"}),a.createElement("g",null,a.createElement("path",{d:"M43 16 C52 18 52 34 43 36",stroke:"currentColor",strokeWidth:r*2.4,strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),a.createElement("rect",{x:30,y:40,width:4,height:6,fill:"currentColor"}),a.createElement("path",{d:"M22 47 Q32 43 42 47 L42 48 L22 48 Z",fill:"currentColor"}))}import J from"react";function vr({liquidFill:t=["#FFFFFF","#E0E0E0"],size:o=80,strokeWidth:r=.5,idBase:l="ShotGlassGrad"}){return J.createElement("svg",{width:o,height:o,viewBox:"0 0 64 64"},J.createElement("rect",{x:22,y:30,width:20,height:18,stroke:"currentColor",fill:"none",strokeWidth:r}),J.createElement(i,{d:"M22 30 L42 30 L42 48 L22 48 Z",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),J.createElement("rect",{x:22,y:48,width:20,height:3,fill:"none",stroke:"currentColor",strokeWidth:r}))}import D from"react";function Zr({liquidFill:t=null,size:o=80,strokeWidth:r=.5,idBase:l="WineGlassGrad"}){let e=Math.round(o*90/80);return D.createElement("svg",{width:o,height:e,viewBox:"0 0 64 90"},D.createElement(i,{d:"M26 26 L38 26 Q44 62 32 62 Q20 62 26 26 Z",transform:"scale(0.98)",idBase:l,opacity:.7,liquidFill:t}),D.createElement("path",{d:"M26 26 L38 26 Q44 62 32 62 Q20 62 26 26 Z",fill:"none",stroke:"currentColor",strokeWidth:r}),D.createElement("rect",{x:31.5,y:62,width:1,height:25,fill:"currentColor"}),D.createElement("path",{d:"M24 86 Q32 84 40 86 L40 87 L24 87 Z",fill:"currentColor"}))}var Ki={Liquid:i,AbsintheGlass:K,BrandySnifterGlass:U,CollinsGlass:X,CopperMug:Y,CordialGlass:z,CoupeGlass:R,DemitasseGlass:rr,DoubleShotGlass:or,FizzGlass:tr,FluteGlass:ir,GobletGlass:lr,HighballGlass:er,HurricaneGlass:sr,IrishCoffeeGlass:nr,JulepCup:dr,MargaritaGlass:ur,MartiniGlass:fr,NickAndNoraGlass:hr,ParfaitGlass:ar,PilsnerGlass:mr,PintGlass:pr,PousseCafeGlass:Cr,PunchGlass:Lr,RocksGlass:cr,SingleShotGlass:gr,SlingGlass:xr,SnifterGlass:kr,SourGlass:Gr,TankardGlass:yr,TikiGlass:Mr,ToddyGlass:wr,WhiskeyShotGlass:vr,WineGlass:Zr};export{K as AbsintheGlass,U as BrandySnifterGlass,X as CollinsGlass,Y as CopperMug,z as CordialGlass,R as CoupeGlass,rr as DemitasseGlass,or as DoubleShotGlass,tr as FizzGlass,ir as FluteGlass,lr as GobletGlass,er as HighballGlass,sr as HurricaneGlass,nr as IrishCoffeeGlass,dr as JulepCup,i as Liquid,ur as MargaritaGlass,fr as MartiniGlass,hr as NickAndNoraGlass,ar as ParfaitGlass,mr as PilsnerGlass,pr as PintGlass,Cr as PousseCafeGlass,Lr as PunchGlass,cr as RocksGlass,gr as SingleShotGlass,xr as SlingGlass,kr as SnifterGlass,Gr as SourGlass,yr as TankardGlass,Mr as TikiGlass,wr as ToddyGlass,vr as WhiskeyShotGlass,Zr as WineGlass,Ki as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bace51/cocktailjs-react",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "description": "Lightweight React components for rendering cocktail glasses and liquids as SVG.",
6
6
  "keywords": [
@@ -28,6 +28,13 @@
28
28
  "files": [
29
29
  "dist"
30
30
  ],
31
+ "scripts": {
32
+ "build": "esbuild src/index.js --bundle --outfile=dist/index.mjs --format=esm --platform=browser --minify --external:react --external:react-dom --external:react/jsx-runtime",
33
+ "build:cjs": "esbuild src/index.js --bundle --outfile=dist/index.cjs.js --format=cjs --platform=node --external:react --external:react-dom --external:react/jsx-runtime",
34
+ "prepare": "pnpm run build && pnpm run build:cjs && cp index.d.ts dist/index.d.ts || true",
35
+ "dev": "vite --config playground/vite.config.js",
36
+ "dev:dist": "USE_DIST=1 vite --config playground/vite.config.js"
37
+ },
31
38
  "devDependencies": {
32
39
  "esbuild": "^0.18.0",
33
40
  "vite": "^5.0.0",
@@ -51,11 +58,5 @@
51
58
  },
52
59
  "./*": "./dist/*",
53
60
  "./dist/*": "./dist/*"
54
- },
55
- "scripts": {
56
- "build": "esbuild src/index.js --bundle --outfile=dist/index.mjs --format=esm --platform=browser --minify --external:react --external:react-dom --external:react/jsx-runtime",
57
- "build:cjs": "esbuild src/index.js --bundle --outfile=dist/index.cjs.js --format=cjs --platform=node --external:react --external:react-dom --external:react/jsx-runtime",
58
- "dev": "vite --config playground/vite.config.js",
59
- "dev:dist": "USE_DIST=1 vite --config playground/vite.config.js"
60
61
  }
61
- }
62
+ }
package/dist/index.d.ts DELETED
@@ -1,111 +0,0 @@
1
- declare module '@bace51/cocktailjs-react' {
2
- import * as React from 'react';
3
-
4
- export type LiquidProps = {
5
- d: string;
6
- transform?: string;
7
- liquidFill?: string | string[] | null;
8
- liquidStyle?: React.CSSProperties | null;
9
- gradientAttr?: string | string[] | null;
10
- opacity?: number;
11
- idBase?: string;
12
- highlight?: 'liquid' | 'ice' | 'all' | null;
13
- highlightColor?: string;
14
- level?: number;
15
- stopPositions?: number[] | null;
16
- };
17
-
18
- export type SVGComponentProps = React.SVGProps<SVGSVGElement> & {
19
- liquidFill?: string | string[] | null;
20
- garnish?: any;
21
- size?: number;
22
- strokeWidth?: number;
23
- highlight?: LiquidProps['highlight'];
24
- highlightColor?: string;
25
- level?: number;
26
- stopPositions?: number[] | null;
27
- idBase?: string;
28
- };
29
-
30
- export const Liquid: React.FC<LiquidProps>;
31
-
32
- export const AbsintheGlass: React.FC<SVGComponentProps>;
33
- export const BrandySnifterGlass: React.FC<SVGComponentProps>;
34
- export const CollinsGlass: React.FC<SVGComponentProps>;
35
- export const CopperMug: React.FC<SVGComponentProps>;
36
- export const CordialGlass: React.FC<SVGComponentProps>;
37
- export const CoupeGlass: React.FC<SVGComponentProps>;
38
- export const DemitasseGlass: React.FC<SVGComponentProps>;
39
- export const DoubleShotGlass: React.FC<SVGComponentProps>;
40
- export const FizzGlass: React.FC<SVGComponentProps>;
41
- export const FluteGlass: React.FC<SVGComponentProps>;
42
- export const GobletGlass: React.FC<SVGComponentProps>;
43
- export const HighballGlass: React.FC<SVGComponentProps>;
44
- export const HurricaneGlass: React.FC<SVGComponentProps>;
45
- export const IrishCoffeeGlass: React.FC<SVGComponentProps>;
46
- export const JulepCup: React.FC<SVGComponentProps>;
47
- export const MargaritaGlass: React.FC<SVGComponentProps>;
48
- export const MartiniGlass: React.FC<SVGComponentProps>;
49
- export const NickAndNoraGlass: React.FC<SVGComponentProps>;
50
- export const ParfaitGlass: React.FC<SVGComponentProps>;
51
- export const PilsnerGlass: React.FC<SVGComponentProps>;
52
- export const PintGlass: React.FC<SVGComponentProps>;
53
- export const PousseCafeGlass: React.FC<SVGComponentProps>;
54
- export const PunchGlass: React.FC<SVGComponentProps>;
55
- export const RocksGlass: React.FC<SVGComponentProps>;
56
- export const SingleShotGlass: React.FC<SVGComponentProps>;
57
- export const SlingGlass: React.FC<SVGComponentProps>;
58
- export const SnifterGlass: React.FC<SVGComponentProps>;
59
- export const SourGlass: React.FC<SVGComponentProps>;
60
- export const TankardGlass: React.FC<SVGComponentProps>;
61
- export const TikiGlass: React.FC<SVGComponentProps>;
62
- export const ToddyGlass: React.FC<SVGComponentProps>;
63
- export const WhiskeyShotGlass: React.FC<SVGComponentProps>;
64
- export const WineGlass: React.FC<SVGComponentProps>;
65
-
66
- const _default: {
67
- Liquid: typeof Liquid;
68
- AbsintheGlass: typeof AbsintheGlass;
69
- BrandySnifterGlass: typeof BrandySnifterGlass;
70
- CollinsGlass: typeof CollinsGlass;
71
- CopperMug: typeof CopperMug;
72
- CordialGlass: typeof CordialGlass;
73
- CoupeGlass: typeof CoupeGlass;
74
- DemitasseGlass: typeof DemitasseGlass;
75
- DoubleShotGlass: typeof DoubleShotGlass;
76
- FizzGlass: typeof FizzGlass;
77
- FluteGlass: typeof FluteGlass;
78
- GobletGlass: typeof GobletGlass;
79
- HighballGlass: typeof HighballGlass;
80
- HurricaneGlass: typeof HurricaneGlass;
81
- IrishCoffeeGlass: typeof IrishCoffeeGlass;
82
- JulepCup: typeof JulepCup;
83
- MargaritaGlass: typeof MargaritaGlass;
84
- MartiniGlass: typeof MartiniGlass;
85
- NickAndNoraGlass: typeof NickAndNoraGlass;
86
- ParfaitGlass: typeof ParfaitGlass;
87
- PilsnerGlass: typeof PilsnerGlass;
88
- PintGlass: typeof PintGlass;
89
- PousseCafeGlass: typeof PousseCafeGlass;
90
- PunchGlass: typeof PunchGlass;
91
- RocksGlass: typeof RocksGlass;
92
- SingleShotGlass: typeof SingleShotGlass;
93
- SlingGlass: typeof SlingGlass;
94
- SnifterGlass: typeof SnifterGlass;
95
- SourGlass: typeof SourGlass;
96
- TankardGlass: typeof TankardGlass;
97
- TikiGlass: typeof TikiGlass;
98
- ToddyGlass: typeof ToddyGlass;
99
- WhiskeyShotGlass: typeof WhiskeyShotGlass;
100
- WineGlass: typeof WineGlass;
101
- };
102
-
103
- export default _default;
104
- }
105
-
106
- declare module '@bace51/cocktailjs-react/*' {
107
- import { SVGComponentProps } from '@bace51/cocktailjs-react';
108
- import * as React from 'react';
109
- const Component: React.FC<SVGComponentProps>;
110
- export default Component;
111
- }