evo-vue-carousel 1.1.3 → 1.1.5

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.
@@ -351,6 +351,12 @@ function debounce(e, t, { signal: n, edges: r } = {}) {
351
351
  function identity(e) {
352
352
  return e;
353
353
  }
354
+ function range(e, t, n = 1) {
355
+ if (t ?? (t = e, e = 0), !Number.isInteger(n) || n === 0) throw Error("The step value must be a non-zero integer.");
356
+ let r = Math.max(Math.ceil((t - e) / n), 0), a = Array(r);
357
+ for (let t = 0; t < r; t++) a[t] = e + t * n;
358
+ return a;
359
+ }
354
360
  function isPrimitive(e) {
355
361
  return e == null || typeof e != "object" && typeof e != "function";
356
362
  }
@@ -416,8 +422,8 @@ function cloneDeepWithImpl(e, t, n, r = /* @__PURE__ */ new Map(), a = void 0) {
416
422
  return r.set(e, t), copyProperties(t, e, n, r, a), t;
417
423
  }
418
424
  if (e instanceof Error) {
419
- let t = new e.constructor();
420
- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, copyProperties(t, e, n, r, a), t;
425
+ let t = structuredClone(e);
426
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, copyProperties(t, e, n, r, a), t;
421
427
  }
422
428
  if (e instanceof Boolean) {
423
429
  let t = new Boolean(e.valueOf());
@@ -496,7 +502,7 @@ function pick(e, t) {
496
502
  function isBoolean(e) {
497
503
  return typeof e == "boolean";
498
504
  }
499
- function eq(e, t) {
505
+ function isEqualsSameValueZero(e, t) {
500
506
  return e === t || Number.isNaN(e) && Number.isNaN(t);
501
507
  }
502
508
  function isLength(e) {
@@ -556,7 +562,7 @@ const useCarouselHost = (e, t, n, r = !1) => {
556
562
  }, { immediate: !0 }), m = computed(() => l.value.autoplay ?? 0), _ = (e) => {
557
563
  u.value = checkPosition(e, t.value, l);
558
564
  }, { pause: b, resume: x, isActive: C } = useIntervalFn(() => {
559
- _(u.value + l.value.slideBy);
565
+ s.value || _(u.value + l.value.slideBy);
560
566
  }, m);
561
567
  return provide(configKey, l), provide(slideCountKey, readonly(t)), provide(currentIndexKey, u), provide(isHoveredKey, d), provide(isNavigatingKey, s), provide(autoplayFnKey, {
562
568
  pauseAutoplay: b,
@@ -939,8 +945,8 @@ function isMatchWithInternal(e, t, n, r) {
939
945
  if (t === e) return !0;
940
946
  switch (typeof t) {
941
947
  case "object": return isObjectMatch(e, t, n, r);
942
- case "function": return Object.keys(t).length > 0 ? isMatchWithInternal(e, { ...t }, n, r) : eq(e, t);
943
- default: return isObject(e) ? typeof t == "string" ? t === "" : !0 : eq(e, t);
948
+ case "function": return Object.keys(t).length > 0 ? isMatchWithInternal(e, { ...t }, n, r) : isEqualsSameValueZero(e, t);
949
+ default: return isObject(e) ? typeof t == "string" ? t === "" : !0 : isEqualsSameValueZero(e, t);
944
950
  }
945
951
  }
946
952
  function isObjectMatch(e, t, n, r) {
@@ -1000,18 +1006,24 @@ function cloneDeepWith(e, t) {
1000
1006
  return cloneDeepWith$1(e, (n, r, a, s) => {
1001
1007
  let c = t?.(n, r, a, s);
1002
1008
  if (c !== void 0) return c;
1003
- if (typeof e == "object") switch (Object.prototype.toString.call(e)) {
1004
- case numberTag:
1005
- case stringTag:
1006
- case booleanTag: {
1007
- let t = new e.constructor(e?.valueOf());
1008
- return copyProperties(t, e), t;
1009
- }
1010
- case argumentsTag: {
1009
+ if (typeof e == "object") {
1010
+ if (getTag(e) === "[object Object]" && typeof e.constructor != "function") {
1011
1011
  let t = {};
1012
- return copyProperties(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
1012
+ return s.set(e, t), copyProperties(t, e, a, s), t;
1013
+ }
1014
+ switch (Object.prototype.toString.call(e)) {
1015
+ case numberTag:
1016
+ case stringTag:
1017
+ case booleanTag: {
1018
+ let t = new e.constructor(e?.valueOf());
1019
+ return copyProperties(t, e), t;
1020
+ }
1021
+ case argumentsTag: {
1022
+ let t = {};
1023
+ return copyProperties(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
1024
+ }
1025
+ default: return;
1013
1026
  }
1014
- default: return;
1015
1027
  }
1016
1028
  });
1017
1029
  }
@@ -1055,7 +1067,7 @@ function matchesProperty(e, t) {
1055
1067
  };
1056
1068
  }
1057
1069
  function isIterateeCall(e, t, n) {
1058
- return isObject(n) && (typeof t == "number" && isArrayLike(n) && isIndex(t) && t < n.length || typeof t == "string" && t in n) ? eq(n[t], e) : !1;
1070
+ return isObject(n) && (typeof t == "number" && isArrayLike(n) && isIndex(t) && t < n.length || typeof t == "string" && t in n) ? isEqualsSameValueZero(n[t], e) : !1;
1059
1071
  }
1060
1072
  function findLastIndex(e, t = identity, n = e ? e.length - 1 : 0) {
1061
1073
  if (!e) return -1;
@@ -1299,13 +1311,13 @@ var concatArrays = (e, t) => {
1299
1311
  }, fallbackThemeArr = [], fromTheme = (e) => {
1300
1312
  let t = (t) => t[e] || fallbackThemeArr;
1301
1313
  return t.isThemeGetter = !0, t;
1302
- }, arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i, fractionRegex = /^\d+\/\d+$/, tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, isFraction = (e) => fractionRegex.test(e), isNumber = (e) => !!e && !Number.isNaN(Number(e)), isInteger = (e) => !!e && Number.isInteger(Number(e)), isPercent = (e) => e.endsWith("%") && isNumber(e.slice(0, -1)), isTshirtSize = (e) => tshirtUnitRegex.test(e), isAny = () => !0, isLengthOnly = (e) => lengthUnitRegex.test(e) && !colorFunctionRegex.test(e), isNever = () => !1, isShadow = (e) => shadowRegex.test(e), isImage = (e) => imageRegex.test(e), isAnyNonArbitrary = (e) => !isArbitraryValue(e) && !isArbitraryVariable(e), isArbitrarySize = (e) => getIsArbitraryValue(e, isLabelSize, isNever), isArbitraryValue = (e) => arbitraryValueRegex.test(e), isArbitraryLength = (e) => getIsArbitraryValue(e, isLabelLength, isLengthOnly), isArbitraryNumber = (e) => getIsArbitraryValue(e, isLabelNumber, isNumber), isArbitraryPosition = (e) => getIsArbitraryValue(e, isLabelPosition, isNever), isArbitraryImage = (e) => getIsArbitraryValue(e, isLabelImage, isImage), isArbitraryShadow = (e) => getIsArbitraryValue(e, isLabelShadow, isShadow), isArbitraryVariable = (e) => arbitraryVariableRegex.test(e), isArbitraryVariableLength = (e) => getIsArbitraryVariable(e, isLabelLength), isArbitraryVariableFamilyName = (e) => getIsArbitraryVariable(e, isLabelFamilyName), isArbitraryVariablePosition = (e) => getIsArbitraryVariable(e, isLabelPosition), isArbitraryVariableSize = (e) => getIsArbitraryVariable(e, isLabelSize), isArbitraryVariableImage = (e) => getIsArbitraryVariable(e, isLabelImage), isArbitraryVariableShadow = (e) => getIsArbitraryVariable(e, isLabelShadow, !0), getIsArbitraryValue = (e, t, n) => {
1314
+ }, arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i, fractionRegex = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, isFraction = (e) => fractionRegex.test(e), isNumber = (e) => !!e && !Number.isNaN(Number(e)), isInteger = (e) => !!e && Number.isInteger(Number(e)), isPercent = (e) => e.endsWith("%") && isNumber(e.slice(0, -1)), isTshirtSize = (e) => tshirtUnitRegex.test(e), isAny = () => !0, isLengthOnly = (e) => lengthUnitRegex.test(e) && !colorFunctionRegex.test(e), isNever = () => !1, isShadow = (e) => shadowRegex.test(e), isImage = (e) => imageRegex.test(e), isAnyNonArbitrary = (e) => !isArbitraryValue(e) && !isArbitraryVariable(e), isArbitrarySize = (e) => getIsArbitraryValue(e, isLabelSize, isNever), isArbitraryValue = (e) => arbitraryValueRegex.test(e), isArbitraryLength = (e) => getIsArbitraryValue(e, isLabelLength, isLengthOnly), isArbitraryNumber = (e) => getIsArbitraryValue(e, isLabelNumber, isNumber), isArbitraryWeight = (e) => getIsArbitraryValue(e, isLabelWeight, isAny), isArbitraryFamilyName = (e) => getIsArbitraryValue(e, isLabelFamilyName, isNever), isArbitraryPosition = (e) => getIsArbitraryValue(e, isLabelPosition, isNever), isArbitraryImage = (e) => getIsArbitraryValue(e, isLabelImage, isImage), isArbitraryShadow = (e) => getIsArbitraryValue(e, isLabelShadow, isShadow), isArbitraryVariable = (e) => arbitraryVariableRegex.test(e), isArbitraryVariableLength = (e) => getIsArbitraryVariable(e, isLabelLength), isArbitraryVariableFamilyName = (e) => getIsArbitraryVariable(e, isLabelFamilyName), isArbitraryVariablePosition = (e) => getIsArbitraryVariable(e, isLabelPosition), isArbitraryVariableSize = (e) => getIsArbitraryVariable(e, isLabelSize), isArbitraryVariableImage = (e) => getIsArbitraryVariable(e, isLabelImage), isArbitraryVariableShadow = (e) => getIsArbitraryVariable(e, isLabelShadow, !0), isArbitraryVariableWeight = (e) => getIsArbitraryVariable(e, isLabelWeight, !0), getIsArbitraryValue = (e, t, n) => {
1303
1315
  let r = arbitraryValueRegex.exec(e);
1304
1316
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
1305
1317
  }, getIsArbitraryVariable = (e, t, n = !1) => {
1306
1318
  let r = arbitraryVariableRegex.exec(e);
1307
1319
  return r ? r[1] ? t(r[1]) : n : !1;
1308
- }, isLabelPosition = (e) => e === "position" || e === "percentage", isLabelImage = (e) => e === "image" || e === "url", isLabelSize = (e) => e === "length" || e === "size" || e === "bg-size", isLabelLength = (e) => e === "length", isLabelNumber = (e) => e === "number", isLabelFamilyName = (e) => e === "family-name", isLabelShadow = (e) => e === "shadow", twMerge = /* @__PURE__ */ createTailwindMerge(() => {
1320
+ }, isLabelPosition = (e) => e === "position" || e === "percentage", isLabelImage = (e) => e === "image" || e === "url", isLabelSize = (e) => e === "length" || e === "size" || e === "bg-size", isLabelLength = (e) => e === "length", isLabelNumber = (e) => e === "number", isLabelFamilyName = (e) => e === "family-name", isLabelWeight = (e) => e === "number" || e === "weight", isLabelShadow = (e) => e === "shadow", twMerge = /* @__PURE__ */ createTailwindMerge(() => {
1309
1321
  let e = fromTheme("color"), t = fromTheme("font"), n = fromTheme("text"), r = fromTheme("font-weight"), a = fromTheme("tracking"), s = fromTheme("leading"), c = fromTheme("breakpoint"), l = fromTheme("container"), u = fromTheme("spacing"), d = fromTheme("radius"), p = fromTheme("shadow"), m = fromTheme("inset-shadow"), _ = fromTheme("text-shadow"), b = fromTheme("drop-shadow"), x = fromTheme("blur"), C = fromTheme("perspective"), w = fromTheme("aspect"), T = fromTheme("ease"), E = fromTheme("animate"), D = () => [
1310
1322
  "auto",
1311
1323
  "avoid",
@@ -1358,7 +1370,7 @@ var concatArrays = (e, t) => {
1358
1370
  "subgrid",
1359
1371
  isArbitraryVariable,
1360
1372
  isArbitraryValue
1361
- ], I = () => [
1373
+ ], xi = () => [
1362
1374
  "auto",
1363
1375
  { span: [
1364
1376
  "full",
@@ -1369,19 +1381,19 @@ var concatArrays = (e, t) => {
1369
1381
  isInteger,
1370
1382
  isArbitraryVariable,
1371
1383
  isArbitraryValue
1372
- ], L = () => [
1384
+ ], I = () => [
1373
1385
  isInteger,
1374
1386
  "auto",
1375
1387
  isArbitraryVariable,
1376
1388
  isArbitraryValue
1377
- ], R = () => [
1389
+ ], L = () => [
1378
1390
  "auto",
1379
1391
  "min",
1380
1392
  "max",
1381
1393
  "fr",
1382
1394
  isArbitraryVariable,
1383
1395
  isArbitraryValue
1384
- ], z = () => [
1396
+ ], R = () => [
1385
1397
  "start",
1386
1398
  "end",
1387
1399
  "center",
@@ -1392,14 +1404,14 @@ var concatArrays = (e, t) => {
1392
1404
  "baseline",
1393
1405
  "center-safe",
1394
1406
  "end-safe"
1395
- ], B = () => [
1407
+ ], z = () => [
1396
1408
  "start",
1397
1409
  "end",
1398
1410
  "center",
1399
1411
  "stretch",
1400
1412
  "center-safe",
1401
1413
  "end-safe"
1402
- ], V = () => ["auto", ...N()], H = () => [
1414
+ ], B = () => ["auto", ...N()], V = () => [
1403
1415
  isFraction,
1404
1416
  "auto",
1405
1417
  "full",
@@ -1413,50 +1425,73 @@ var concatArrays = (e, t) => {
1413
1425
  "max",
1414
1426
  "fit",
1415
1427
  ...N()
1428
+ ], H = () => [
1429
+ isFraction,
1430
+ "screen",
1431
+ "full",
1432
+ "dvw",
1433
+ "lvw",
1434
+ "svw",
1435
+ "min",
1436
+ "max",
1437
+ "fit",
1438
+ ...N()
1416
1439
  ], U = () => [
1440
+ isFraction,
1441
+ "screen",
1442
+ "full",
1443
+ "lh",
1444
+ "dvh",
1445
+ "lvh",
1446
+ "svh",
1447
+ "min",
1448
+ "max",
1449
+ "fit",
1450
+ ...N()
1451
+ ], W = () => [
1417
1452
  e,
1418
1453
  isArbitraryVariable,
1419
1454
  isArbitraryValue
1420
- ], W = () => [
1455
+ ], Si = () => [
1421
1456
  ...O(),
1422
1457
  isArbitraryVariablePosition,
1423
1458
  isArbitraryPosition,
1424
1459
  { position: [isArbitraryVariable, isArbitraryValue] }
1425
- ], vi = () => ["no-repeat", { repeat: [
1460
+ ], G = () => ["no-repeat", { repeat: [
1426
1461
  "",
1427
1462
  "x",
1428
1463
  "y",
1429
1464
  "space",
1430
1465
  "round"
1431
- ] }], yi = () => [
1466
+ ] }], Ci = () => [
1432
1467
  "auto",
1433
1468
  "cover",
1434
1469
  "contain",
1435
1470
  isArbitraryVariableSize,
1436
1471
  isArbitrarySize,
1437
1472
  { size: [isArbitraryVariable, isArbitraryValue] }
1438
- ], G = () => [
1473
+ ], K = () => [
1439
1474
  isPercent,
1440
1475
  isArbitraryVariableLength,
1441
1476
  isArbitraryLength
1442
- ], K = () => [
1477
+ ], q = () => [
1443
1478
  "",
1444
1479
  "none",
1445
1480
  "full",
1446
1481
  d,
1447
1482
  isArbitraryVariable,
1448
1483
  isArbitraryValue
1449
- ], q = () => [
1484
+ ], J = () => [
1450
1485
  "",
1451
1486
  isNumber,
1452
1487
  isArbitraryVariableLength,
1453
1488
  isArbitraryLength
1454
- ], J = () => [
1489
+ ], Y = () => [
1455
1490
  "solid",
1456
1491
  "dashed",
1457
1492
  "dotted",
1458
1493
  "double"
1459
- ], bi = () => [
1494
+ ], wi = () => [
1460
1495
  "normal",
1461
1496
  "multiply",
1462
1497
  "screen",
@@ -1473,28 +1508,28 @@ var concatArrays = (e, t) => {
1473
1508
  "saturation",
1474
1509
  "color",
1475
1510
  "luminosity"
1476
- ], Y = () => [
1511
+ ], X = () => [
1477
1512
  isNumber,
1478
1513
  isPercent,
1479
1514
  isArbitraryVariablePosition,
1480
1515
  isArbitraryPosition
1481
- ], xi = () => [
1516
+ ], Ti = () => [
1482
1517
  "",
1483
1518
  "none",
1484
1519
  x,
1485
1520
  isArbitraryVariable,
1486
1521
  isArbitraryValue
1487
- ], X = () => [
1522
+ ], Z = () => [
1488
1523
  "none",
1489
1524
  isNumber,
1490
1525
  isArbitraryVariable,
1491
1526
  isArbitraryValue
1492
- ], Z = () => [
1527
+ ], Q = () => [
1493
1528
  "none",
1494
1529
  isNumber,
1495
1530
  isArbitraryVariable,
1496
1531
  isArbitraryValue
1497
- ], Q = () => [
1532
+ ], Ei = () => [
1498
1533
  isNumber,
1499
1534
  isArbitraryVariable,
1500
1535
  isArbitraryValue
@@ -1656,8 +1691,16 @@ var concatArrays = (e, t) => {
1656
1691
  inset: [{ inset: P() }],
1657
1692
  "inset-x": [{ "inset-x": P() }],
1658
1693
  "inset-y": [{ "inset-y": P() }],
1659
- start: [{ start: P() }],
1660
- end: [{ end: P() }],
1694
+ start: [{
1695
+ "inset-s": P(),
1696
+ start: P()
1697
+ }],
1698
+ end: [{
1699
+ "inset-e": P(),
1700
+ end: P()
1701
+ }],
1702
+ "inset-bs": [{ "inset-bs": P() }],
1703
+ "inset-be": [{ "inset-be": P() }],
1661
1704
  top: [{ top: P() }],
1662
1705
  right: [{ right: P() }],
1663
1706
  bottom: [{ bottom: P() }],
@@ -1720,13 +1763,13 @@ var concatArrays = (e, t) => {
1720
1763
  isArbitraryValue
1721
1764
  ] }],
1722
1765
  "grid-cols": [{ "grid-cols": F() }],
1723
- "col-start-end": [{ col: I() }],
1724
- "col-start": [{ "col-start": L() }],
1725
- "col-end": [{ "col-end": L() }],
1766
+ "col-start-end": [{ col: xi() }],
1767
+ "col-start": [{ "col-start": I() }],
1768
+ "col-end": [{ "col-end": I() }],
1726
1769
  "grid-rows": [{ "grid-rows": F() }],
1727
- "row-start-end": [{ row: I() }],
1728
- "row-start": [{ "row-start": L() }],
1729
- "row-end": [{ "row-end": L() }],
1770
+ "row-start-end": [{ row: xi() }],
1771
+ "row-start": [{ "row-start": I() }],
1772
+ "row-end": [{ "row-end": I() }],
1730
1773
  "grid-flow": [{ "grid-flow": [
1731
1774
  "row",
1732
1775
  "col",
@@ -1734,57 +1777,67 @@ var concatArrays = (e, t) => {
1734
1777
  "row-dense",
1735
1778
  "col-dense"
1736
1779
  ] }],
1737
- "auto-cols": [{ "auto-cols": R() }],
1738
- "auto-rows": [{ "auto-rows": R() }],
1780
+ "auto-cols": [{ "auto-cols": L() }],
1781
+ "auto-rows": [{ "auto-rows": L() }],
1739
1782
  gap: [{ gap: N() }],
1740
1783
  "gap-x": [{ "gap-x": N() }],
1741
1784
  "gap-y": [{ "gap-y": N() }],
1742
- "justify-content": [{ justify: [...z(), "normal"] }],
1743
- "justify-items": [{ "justify-items": [...B(), "normal"] }],
1744
- "justify-self": [{ "justify-self": ["auto", ...B()] }],
1745
- "align-content": [{ content: ["normal", ...z()] }],
1746
- "align-items": [{ items: [...B(), { baseline: ["", "last"] }] }],
1785
+ "justify-content": [{ justify: [...R(), "normal"] }],
1786
+ "justify-items": [{ "justify-items": [...z(), "normal"] }],
1787
+ "justify-self": [{ "justify-self": ["auto", ...z()] }],
1788
+ "align-content": [{ content: ["normal", ...R()] }],
1789
+ "align-items": [{ items: [...z(), { baseline: ["", "last"] }] }],
1747
1790
  "align-self": [{ self: [
1748
1791
  "auto",
1749
- ...B(),
1792
+ ...z(),
1750
1793
  { baseline: ["", "last"] }
1751
1794
  ] }],
1752
- "place-content": [{ "place-content": z() }],
1753
- "place-items": [{ "place-items": [...B(), "baseline"] }],
1754
- "place-self": [{ "place-self": ["auto", ...B()] }],
1795
+ "place-content": [{ "place-content": R() }],
1796
+ "place-items": [{ "place-items": [...z(), "baseline"] }],
1797
+ "place-self": [{ "place-self": ["auto", ...z()] }],
1755
1798
  p: [{ p: N() }],
1756
1799
  px: [{ px: N() }],
1757
1800
  py: [{ py: N() }],
1758
1801
  ps: [{ ps: N() }],
1759
1802
  pe: [{ pe: N() }],
1803
+ pbs: [{ pbs: N() }],
1804
+ pbe: [{ pbe: N() }],
1760
1805
  pt: [{ pt: N() }],
1761
1806
  pr: [{ pr: N() }],
1762
1807
  pb: [{ pb: N() }],
1763
1808
  pl: [{ pl: N() }],
1764
- m: [{ m: V() }],
1765
- mx: [{ mx: V() }],
1766
- my: [{ my: V() }],
1767
- ms: [{ ms: V() }],
1768
- me: [{ me: V() }],
1769
- mt: [{ mt: V() }],
1770
- mr: [{ mr: V() }],
1771
- mb: [{ mb: V() }],
1772
- ml: [{ ml: V() }],
1809
+ m: [{ m: B() }],
1810
+ mx: [{ mx: B() }],
1811
+ my: [{ my: B() }],
1812
+ ms: [{ ms: B() }],
1813
+ me: [{ me: B() }],
1814
+ mbs: [{ mbs: B() }],
1815
+ mbe: [{ mbe: B() }],
1816
+ mt: [{ mt: B() }],
1817
+ mr: [{ mr: B() }],
1818
+ mb: [{ mb: B() }],
1819
+ ml: [{ ml: B() }],
1773
1820
  "space-x": [{ "space-x": N() }],
1774
1821
  "space-x-reverse": ["space-x-reverse"],
1775
1822
  "space-y": [{ "space-y": N() }],
1776
1823
  "space-y-reverse": ["space-y-reverse"],
1777
- size: [{ size: H() }],
1824
+ size: [{ size: V() }],
1825
+ "inline-size": [{ inline: ["auto", ...H()] }],
1826
+ "min-inline-size": [{ "min-inline": ["auto", ...H()] }],
1827
+ "max-inline-size": [{ "max-inline": ["none", ...H()] }],
1828
+ "block-size": [{ block: ["auto", ...U()] }],
1829
+ "min-block-size": [{ "min-block": ["auto", ...U()] }],
1830
+ "max-block-size": [{ "max-block": ["none", ...U()] }],
1778
1831
  w: [{ w: [
1779
1832
  l,
1780
1833
  "screen",
1781
- ...H()
1834
+ ...V()
1782
1835
  ] }],
1783
1836
  "min-w": [{ "min-w": [
1784
1837
  l,
1785
1838
  "screen",
1786
1839
  "none",
1787
- ...H()
1840
+ ...V()
1788
1841
  ] }],
1789
1842
  "max-w": [{ "max-w": [
1790
1843
  l,
@@ -1792,23 +1845,23 @@ var concatArrays = (e, t) => {
1792
1845
  "none",
1793
1846
  "prose",
1794
1847
  { screen: [c] },
1795
- ...H()
1848
+ ...V()
1796
1849
  ] }],
1797
1850
  h: [{ h: [
1798
1851
  "screen",
1799
1852
  "lh",
1800
- ...H()
1853
+ ...V()
1801
1854
  ] }],
1802
1855
  "min-h": [{ "min-h": [
1803
1856
  "screen",
1804
1857
  "lh",
1805
1858
  "none",
1806
- ...H()
1859
+ ...V()
1807
1860
  ] }],
1808
1861
  "max-h": [{ "max-h": [
1809
1862
  "screen",
1810
1863
  "lh",
1811
- ...H()
1864
+ ...V()
1812
1865
  ] }],
1813
1866
  "font-size": [{ text: [
1814
1867
  "base",
@@ -1820,8 +1873,8 @@ var concatArrays = (e, t) => {
1820
1873
  "font-style": ["italic", "not-italic"],
1821
1874
  "font-weight": [{ font: [
1822
1875
  r,
1823
- isArbitraryVariable,
1824
- isArbitraryNumber
1876
+ isArbitraryVariableWeight,
1877
+ isArbitraryWeight
1825
1878
  ] }],
1826
1879
  "font-stretch": [{ "font-stretch": [
1827
1880
  "ultra-condensed",
@@ -1838,9 +1891,10 @@ var concatArrays = (e, t) => {
1838
1891
  ] }],
1839
1892
  "font-family": [{ font: [
1840
1893
  isArbitraryVariableFamilyName,
1841
- isArbitraryValue,
1894
+ isArbitraryFamilyName,
1842
1895
  t
1843
1896
  ] }],
1897
+ "font-features": [{ "font-features": [isArbitraryValue] }],
1844
1898
  "fvn-normal": ["normal-nums"],
1845
1899
  "fvn-ordinal": ["ordinal"],
1846
1900
  "fvn-slashed-zero": ["slashed-zero"],
@@ -1880,15 +1934,15 @@ var concatArrays = (e, t) => {
1880
1934
  "start",
1881
1935
  "end"
1882
1936
  ] }],
1883
- "placeholder-color": [{ placeholder: U() }],
1884
- "text-color": [{ text: U() }],
1937
+ "placeholder-color": [{ placeholder: W() }],
1938
+ "text-color": [{ text: W() }],
1885
1939
  "text-decoration": [
1886
1940
  "underline",
1887
1941
  "overline",
1888
1942
  "line-through",
1889
1943
  "no-underline"
1890
1944
  ],
1891
- "text-decoration-style": [{ decoration: [...J(), "wavy"] }],
1945
+ "text-decoration-style": [{ decoration: [...Y(), "wavy"] }],
1892
1946
  "text-decoration-thickness": [{ decoration: [
1893
1947
  isNumber,
1894
1948
  "from-font",
@@ -1896,7 +1950,7 @@ var concatArrays = (e, t) => {
1896
1950
  isArbitraryVariable,
1897
1951
  isArbitraryLength
1898
1952
  ] }],
1899
- "text-decoration-color": [{ decoration: U() }],
1953
+ "text-decoration-color": [{ decoration: W() }],
1900
1954
  "underline-offset": [{ "underline-offset": [
1901
1955
  isNumber,
1902
1956
  "auto",
@@ -1978,9 +2032,9 @@ var concatArrays = (e, t) => {
1978
2032
  "padding",
1979
2033
  "content"
1980
2034
  ] }],
1981
- "bg-position": [{ bg: W() }],
1982
- "bg-repeat": [{ bg: vi() }],
1983
- "bg-size": [{ bg: yi() }],
2035
+ "bg-position": [{ bg: Si() }],
2036
+ "bg-repeat": [{ bg: G() }],
2037
+ "bg-size": [{ bg: Ci() }],
1984
2038
  "bg-image": [{ bg: [
1985
2039
  "none",
1986
2040
  {
@@ -2013,63 +2067,67 @@ var concatArrays = (e, t) => {
2013
2067
  isArbitraryVariableImage,
2014
2068
  isArbitraryImage
2015
2069
  ] }],
2016
- "bg-color": [{ bg: U() }],
2017
- "gradient-from-pos": [{ from: G() }],
2018
- "gradient-via-pos": [{ via: G() }],
2019
- "gradient-to-pos": [{ to: G() }],
2020
- "gradient-from": [{ from: U() }],
2021
- "gradient-via": [{ via: U() }],
2022
- "gradient-to": [{ to: U() }],
2023
- rounded: [{ rounded: K() }],
2024
- "rounded-s": [{ "rounded-s": K() }],
2025
- "rounded-e": [{ "rounded-e": K() }],
2026
- "rounded-t": [{ "rounded-t": K() }],
2027
- "rounded-r": [{ "rounded-r": K() }],
2028
- "rounded-b": [{ "rounded-b": K() }],
2029
- "rounded-l": [{ "rounded-l": K() }],
2030
- "rounded-ss": [{ "rounded-ss": K() }],
2031
- "rounded-se": [{ "rounded-se": K() }],
2032
- "rounded-ee": [{ "rounded-ee": K() }],
2033
- "rounded-es": [{ "rounded-es": K() }],
2034
- "rounded-tl": [{ "rounded-tl": K() }],
2035
- "rounded-tr": [{ "rounded-tr": K() }],
2036
- "rounded-br": [{ "rounded-br": K() }],
2037
- "rounded-bl": [{ "rounded-bl": K() }],
2038
- "border-w": [{ border: q() }],
2039
- "border-w-x": [{ "border-x": q() }],
2040
- "border-w-y": [{ "border-y": q() }],
2041
- "border-w-s": [{ "border-s": q() }],
2042
- "border-w-e": [{ "border-e": q() }],
2043
- "border-w-t": [{ "border-t": q() }],
2044
- "border-w-r": [{ "border-r": q() }],
2045
- "border-w-b": [{ "border-b": q() }],
2046
- "border-w-l": [{ "border-l": q() }],
2047
- "divide-x": [{ "divide-x": q() }],
2070
+ "bg-color": [{ bg: W() }],
2071
+ "gradient-from-pos": [{ from: K() }],
2072
+ "gradient-via-pos": [{ via: K() }],
2073
+ "gradient-to-pos": [{ to: K() }],
2074
+ "gradient-from": [{ from: W() }],
2075
+ "gradient-via": [{ via: W() }],
2076
+ "gradient-to": [{ to: W() }],
2077
+ rounded: [{ rounded: q() }],
2078
+ "rounded-s": [{ "rounded-s": q() }],
2079
+ "rounded-e": [{ "rounded-e": q() }],
2080
+ "rounded-t": [{ "rounded-t": q() }],
2081
+ "rounded-r": [{ "rounded-r": q() }],
2082
+ "rounded-b": [{ "rounded-b": q() }],
2083
+ "rounded-l": [{ "rounded-l": q() }],
2084
+ "rounded-ss": [{ "rounded-ss": q() }],
2085
+ "rounded-se": [{ "rounded-se": q() }],
2086
+ "rounded-ee": [{ "rounded-ee": q() }],
2087
+ "rounded-es": [{ "rounded-es": q() }],
2088
+ "rounded-tl": [{ "rounded-tl": q() }],
2089
+ "rounded-tr": [{ "rounded-tr": q() }],
2090
+ "rounded-br": [{ "rounded-br": q() }],
2091
+ "rounded-bl": [{ "rounded-bl": q() }],
2092
+ "border-w": [{ border: J() }],
2093
+ "border-w-x": [{ "border-x": J() }],
2094
+ "border-w-y": [{ "border-y": J() }],
2095
+ "border-w-s": [{ "border-s": J() }],
2096
+ "border-w-e": [{ "border-e": J() }],
2097
+ "border-w-bs": [{ "border-bs": J() }],
2098
+ "border-w-be": [{ "border-be": J() }],
2099
+ "border-w-t": [{ "border-t": J() }],
2100
+ "border-w-r": [{ "border-r": J() }],
2101
+ "border-w-b": [{ "border-b": J() }],
2102
+ "border-w-l": [{ "border-l": J() }],
2103
+ "divide-x": [{ "divide-x": J() }],
2048
2104
  "divide-x-reverse": ["divide-x-reverse"],
2049
- "divide-y": [{ "divide-y": q() }],
2105
+ "divide-y": [{ "divide-y": J() }],
2050
2106
  "divide-y-reverse": ["divide-y-reverse"],
2051
2107
  "border-style": [{ border: [
2052
- ...J(),
2108
+ ...Y(),
2053
2109
  "hidden",
2054
2110
  "none"
2055
2111
  ] }],
2056
2112
  "divide-style": [{ divide: [
2057
- ...J(),
2113
+ ...Y(),
2058
2114
  "hidden",
2059
2115
  "none"
2060
2116
  ] }],
2061
- "border-color": [{ border: U() }],
2062
- "border-color-x": [{ "border-x": U() }],
2063
- "border-color-y": [{ "border-y": U() }],
2064
- "border-color-s": [{ "border-s": U() }],
2065
- "border-color-e": [{ "border-e": U() }],
2066
- "border-color-t": [{ "border-t": U() }],
2067
- "border-color-r": [{ "border-r": U() }],
2068
- "border-color-b": [{ "border-b": U() }],
2069
- "border-color-l": [{ "border-l": U() }],
2070
- "divide-color": [{ divide: U() }],
2117
+ "border-color": [{ border: W() }],
2118
+ "border-color-x": [{ "border-x": W() }],
2119
+ "border-color-y": [{ "border-y": W() }],
2120
+ "border-color-s": [{ "border-s": W() }],
2121
+ "border-color-e": [{ "border-e": W() }],
2122
+ "border-color-bs": [{ "border-bs": W() }],
2123
+ "border-color-be": [{ "border-be": W() }],
2124
+ "border-color-t": [{ "border-t": W() }],
2125
+ "border-color-r": [{ "border-r": W() }],
2126
+ "border-color-b": [{ "border-b": W() }],
2127
+ "border-color-l": [{ "border-l": W() }],
2128
+ "divide-color": [{ divide: W() }],
2071
2129
  "outline-style": [{ outline: [
2072
- ...J(),
2130
+ ...Y(),
2073
2131
  "none",
2074
2132
  "hidden"
2075
2133
  ] }],
@@ -2084,7 +2142,7 @@ var concatArrays = (e, t) => {
2084
2142
  isArbitraryVariableLength,
2085
2143
  isArbitraryLength
2086
2144
  ] }],
2087
- "outline-color": [{ outline: U() }],
2145
+ "outline-color": [{ outline: W() }],
2088
2146
  shadow: [{ shadow: [
2089
2147
  "",
2090
2148
  "none",
@@ -2092,39 +2150,39 @@ var concatArrays = (e, t) => {
2092
2150
  isArbitraryVariableShadow,
2093
2151
  isArbitraryShadow
2094
2152
  ] }],
2095
- "shadow-color": [{ shadow: U() }],
2153
+ "shadow-color": [{ shadow: W() }],
2096
2154
  "inset-shadow": [{ "inset-shadow": [
2097
2155
  "none",
2098
2156
  m,
2099
2157
  isArbitraryVariableShadow,
2100
2158
  isArbitraryShadow
2101
2159
  ] }],
2102
- "inset-shadow-color": [{ "inset-shadow": U() }],
2103
- "ring-w": [{ ring: q() }],
2160
+ "inset-shadow-color": [{ "inset-shadow": W() }],
2161
+ "ring-w": [{ ring: J() }],
2104
2162
  "ring-w-inset": ["ring-inset"],
2105
- "ring-color": [{ ring: U() }],
2163
+ "ring-color": [{ ring: W() }],
2106
2164
  "ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
2107
- "ring-offset-color": [{ "ring-offset": U() }],
2108
- "inset-ring-w": [{ "inset-ring": q() }],
2109
- "inset-ring-color": [{ "inset-ring": U() }],
2165
+ "ring-offset-color": [{ "ring-offset": W() }],
2166
+ "inset-ring-w": [{ "inset-ring": J() }],
2167
+ "inset-ring-color": [{ "inset-ring": W() }],
2110
2168
  "text-shadow": [{ "text-shadow": [
2111
2169
  "none",
2112
2170
  _,
2113
2171
  isArbitraryVariableShadow,
2114
2172
  isArbitraryShadow
2115
2173
  ] }],
2116
- "text-shadow-color": [{ "text-shadow": U() }],
2174
+ "text-shadow-color": [{ "text-shadow": W() }],
2117
2175
  opacity: [{ opacity: [
2118
2176
  isNumber,
2119
2177
  isArbitraryVariable,
2120
2178
  isArbitraryValue
2121
2179
  ] }],
2122
2180
  "mix-blend": [{ "mix-blend": [
2123
- ...bi(),
2181
+ ...wi(),
2124
2182
  "plus-darker",
2125
2183
  "plus-lighter"
2126
2184
  ] }],
2127
- "bg-blend": [{ "bg-blend": bi() }],
2185
+ "bg-blend": [{ "bg-blend": wi() }],
2128
2186
  "mask-clip": [{ "mask-clip": [
2129
2187
  "border",
2130
2188
  "padding",
@@ -2140,39 +2198,39 @@ var concatArrays = (e, t) => {
2140
2198
  "exclude"
2141
2199
  ] }],
2142
2200
  "mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
2143
- "mask-image-linear-from-pos": [{ "mask-linear-from": Y() }],
2144
- "mask-image-linear-to-pos": [{ "mask-linear-to": Y() }],
2145
- "mask-image-linear-from-color": [{ "mask-linear-from": U() }],
2146
- "mask-image-linear-to-color": [{ "mask-linear-to": U() }],
2147
- "mask-image-t-from-pos": [{ "mask-t-from": Y() }],
2148
- "mask-image-t-to-pos": [{ "mask-t-to": Y() }],
2149
- "mask-image-t-from-color": [{ "mask-t-from": U() }],
2150
- "mask-image-t-to-color": [{ "mask-t-to": U() }],
2151
- "mask-image-r-from-pos": [{ "mask-r-from": Y() }],
2152
- "mask-image-r-to-pos": [{ "mask-r-to": Y() }],
2153
- "mask-image-r-from-color": [{ "mask-r-from": U() }],
2154
- "mask-image-r-to-color": [{ "mask-r-to": U() }],
2155
- "mask-image-b-from-pos": [{ "mask-b-from": Y() }],
2156
- "mask-image-b-to-pos": [{ "mask-b-to": Y() }],
2157
- "mask-image-b-from-color": [{ "mask-b-from": U() }],
2158
- "mask-image-b-to-color": [{ "mask-b-to": U() }],
2159
- "mask-image-l-from-pos": [{ "mask-l-from": Y() }],
2160
- "mask-image-l-to-pos": [{ "mask-l-to": Y() }],
2161
- "mask-image-l-from-color": [{ "mask-l-from": U() }],
2162
- "mask-image-l-to-color": [{ "mask-l-to": U() }],
2163
- "mask-image-x-from-pos": [{ "mask-x-from": Y() }],
2164
- "mask-image-x-to-pos": [{ "mask-x-to": Y() }],
2165
- "mask-image-x-from-color": [{ "mask-x-from": U() }],
2166
- "mask-image-x-to-color": [{ "mask-x-to": U() }],
2167
- "mask-image-y-from-pos": [{ "mask-y-from": Y() }],
2168
- "mask-image-y-to-pos": [{ "mask-y-to": Y() }],
2169
- "mask-image-y-from-color": [{ "mask-y-from": U() }],
2170
- "mask-image-y-to-color": [{ "mask-y-to": U() }],
2201
+ "mask-image-linear-from-pos": [{ "mask-linear-from": X() }],
2202
+ "mask-image-linear-to-pos": [{ "mask-linear-to": X() }],
2203
+ "mask-image-linear-from-color": [{ "mask-linear-from": W() }],
2204
+ "mask-image-linear-to-color": [{ "mask-linear-to": W() }],
2205
+ "mask-image-t-from-pos": [{ "mask-t-from": X() }],
2206
+ "mask-image-t-to-pos": [{ "mask-t-to": X() }],
2207
+ "mask-image-t-from-color": [{ "mask-t-from": W() }],
2208
+ "mask-image-t-to-color": [{ "mask-t-to": W() }],
2209
+ "mask-image-r-from-pos": [{ "mask-r-from": X() }],
2210
+ "mask-image-r-to-pos": [{ "mask-r-to": X() }],
2211
+ "mask-image-r-from-color": [{ "mask-r-from": W() }],
2212
+ "mask-image-r-to-color": [{ "mask-r-to": W() }],
2213
+ "mask-image-b-from-pos": [{ "mask-b-from": X() }],
2214
+ "mask-image-b-to-pos": [{ "mask-b-to": X() }],
2215
+ "mask-image-b-from-color": [{ "mask-b-from": W() }],
2216
+ "mask-image-b-to-color": [{ "mask-b-to": W() }],
2217
+ "mask-image-l-from-pos": [{ "mask-l-from": X() }],
2218
+ "mask-image-l-to-pos": [{ "mask-l-to": X() }],
2219
+ "mask-image-l-from-color": [{ "mask-l-from": W() }],
2220
+ "mask-image-l-to-color": [{ "mask-l-to": W() }],
2221
+ "mask-image-x-from-pos": [{ "mask-x-from": X() }],
2222
+ "mask-image-x-to-pos": [{ "mask-x-to": X() }],
2223
+ "mask-image-x-from-color": [{ "mask-x-from": W() }],
2224
+ "mask-image-x-to-color": [{ "mask-x-to": W() }],
2225
+ "mask-image-y-from-pos": [{ "mask-y-from": X() }],
2226
+ "mask-image-y-to-pos": [{ "mask-y-to": X() }],
2227
+ "mask-image-y-from-color": [{ "mask-y-from": W() }],
2228
+ "mask-image-y-to-color": [{ "mask-y-to": W() }],
2171
2229
  "mask-image-radial": [{ "mask-radial": [isArbitraryVariable, isArbitraryValue] }],
2172
- "mask-image-radial-from-pos": [{ "mask-radial-from": Y() }],
2173
- "mask-image-radial-to-pos": [{ "mask-radial-to": Y() }],
2174
- "mask-image-radial-from-color": [{ "mask-radial-from": U() }],
2175
- "mask-image-radial-to-color": [{ "mask-radial-to": U() }],
2230
+ "mask-image-radial-from-pos": [{ "mask-radial-from": X() }],
2231
+ "mask-image-radial-to-pos": [{ "mask-radial-to": X() }],
2232
+ "mask-image-radial-from-color": [{ "mask-radial-from": W() }],
2233
+ "mask-image-radial-to-color": [{ "mask-radial-to": W() }],
2176
2234
  "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
2177
2235
  "mask-image-radial-size": [{ "mask-radial": [{
2178
2236
  closest: ["side", "corner"],
@@ -2180,10 +2238,10 @@ var concatArrays = (e, t) => {
2180
2238
  }] }],
2181
2239
  "mask-image-radial-pos": [{ "mask-radial-at": O() }],
2182
2240
  "mask-image-conic-pos": [{ "mask-conic": [isNumber] }],
2183
- "mask-image-conic-from-pos": [{ "mask-conic-from": Y() }],
2184
- "mask-image-conic-to-pos": [{ "mask-conic-to": Y() }],
2185
- "mask-image-conic-from-color": [{ "mask-conic-from": U() }],
2186
- "mask-image-conic-to-color": [{ "mask-conic-to": U() }],
2241
+ "mask-image-conic-from-pos": [{ "mask-conic-from": X() }],
2242
+ "mask-image-conic-to-pos": [{ "mask-conic-to": X() }],
2243
+ "mask-image-conic-from-color": [{ "mask-conic-from": W() }],
2244
+ "mask-image-conic-to-color": [{ "mask-conic-to": W() }],
2187
2245
  "mask-mode": [{ mask: [
2188
2246
  "alpha",
2189
2247
  "luminance",
@@ -2197,9 +2255,9 @@ var concatArrays = (e, t) => {
2197
2255
  "stroke",
2198
2256
  "view"
2199
2257
  ] }],
2200
- "mask-position": [{ mask: W() }],
2201
- "mask-repeat": [{ mask: vi() }],
2202
- "mask-size": [{ mask: yi() }],
2258
+ "mask-position": [{ mask: Si() }],
2259
+ "mask-repeat": [{ mask: G() }],
2260
+ "mask-size": [{ mask: Ci() }],
2203
2261
  "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
2204
2262
  "mask-image": [{ mask: [
2205
2263
  "none",
@@ -2212,7 +2270,7 @@ var concatArrays = (e, t) => {
2212
2270
  isArbitraryVariable,
2213
2271
  isArbitraryValue
2214
2272
  ] }],
2215
- blur: [{ blur: xi() }],
2273
+ blur: [{ blur: Ti() }],
2216
2274
  brightness: [{ brightness: [
2217
2275
  isNumber,
2218
2276
  isArbitraryVariable,
@@ -2230,7 +2288,7 @@ var concatArrays = (e, t) => {
2230
2288
  isArbitraryVariableShadow,
2231
2289
  isArbitraryShadow
2232
2290
  ] }],
2233
- "drop-shadow-color": [{ "drop-shadow": U() }],
2291
+ "drop-shadow-color": [{ "drop-shadow": W() }],
2234
2292
  grayscale: [{ grayscale: [
2235
2293
  "",
2236
2294
  isNumber,
@@ -2265,7 +2323,7 @@ var concatArrays = (e, t) => {
2265
2323
  isArbitraryVariable,
2266
2324
  isArbitraryValue
2267
2325
  ] }],
2268
- "backdrop-blur": [{ "backdrop-blur": xi() }],
2326
+ "backdrop-blur": [{ "backdrop-blur": Ti() }],
2269
2327
  "backdrop-brightness": [{ "backdrop-brightness": [
2270
2328
  isNumber,
2271
2329
  isArbitraryVariable,
@@ -2358,18 +2416,18 @@ var concatArrays = (e, t) => {
2358
2416
  isArbitraryValue
2359
2417
  ] }],
2360
2418
  "perspective-origin": [{ "perspective-origin": k() }],
2361
- rotate: [{ rotate: X() }],
2362
- "rotate-x": [{ "rotate-x": X() }],
2363
- "rotate-y": [{ "rotate-y": X() }],
2364
- "rotate-z": [{ "rotate-z": X() }],
2365
- scale: [{ scale: Z() }],
2366
- "scale-x": [{ "scale-x": Z() }],
2367
- "scale-y": [{ "scale-y": Z() }],
2368
- "scale-z": [{ "scale-z": Z() }],
2419
+ rotate: [{ rotate: Z() }],
2420
+ "rotate-x": [{ "rotate-x": Z() }],
2421
+ "rotate-y": [{ "rotate-y": Z() }],
2422
+ "rotate-z": [{ "rotate-z": Z() }],
2423
+ scale: [{ scale: Q() }],
2424
+ "scale-x": [{ "scale-x": Q() }],
2425
+ "scale-y": [{ "scale-y": Q() }],
2426
+ "scale-z": [{ "scale-z": Q() }],
2369
2427
  "scale-3d": ["scale-3d"],
2370
- skew: [{ skew: Q() }],
2371
- "skew-x": [{ "skew-x": Q() }],
2372
- "skew-y": [{ "skew-y": Q() }],
2428
+ skew: [{ skew: Ei() }],
2429
+ "skew-x": [{ "skew-x": Ei() }],
2430
+ "skew-y": [{ "skew-y": Ei() }],
2373
2431
  transform: [{ transform: [
2374
2432
  isArbitraryVariable,
2375
2433
  isArbitraryValue,
@@ -2385,9 +2443,9 @@ var concatArrays = (e, t) => {
2385
2443
  "translate-y": [{ "translate-y": $() }],
2386
2444
  "translate-z": [{ "translate-z": $() }],
2387
2445
  "translate-none": ["translate-none"],
2388
- accent: [{ accent: U() }],
2446
+ accent: [{ accent: W() }],
2389
2447
  appearance: [{ appearance: ["none", "auto"] }],
2390
- "caret-color": [{ caret: U() }],
2448
+ "caret-color": [{ caret: W() }],
2391
2449
  "color-scheme": [{ scheme: [
2392
2450
  "normal",
2393
2451
  "dark",
@@ -2450,6 +2508,8 @@ var concatArrays = (e, t) => {
2450
2508
  "scroll-my": [{ "scroll-my": N() }],
2451
2509
  "scroll-ms": [{ "scroll-ms": N() }],
2452
2510
  "scroll-me": [{ "scroll-me": N() }],
2511
+ "scroll-mbs": [{ "scroll-mbs": N() }],
2512
+ "scroll-mbe": [{ "scroll-mbe": N() }],
2453
2513
  "scroll-mt": [{ "scroll-mt": N() }],
2454
2514
  "scroll-mr": [{ "scroll-mr": N() }],
2455
2515
  "scroll-mb": [{ "scroll-mb": N() }],
@@ -2459,6 +2519,8 @@ var concatArrays = (e, t) => {
2459
2519
  "scroll-py": [{ "scroll-py": N() }],
2460
2520
  "scroll-ps": [{ "scroll-ps": N() }],
2461
2521
  "scroll-pe": [{ "scroll-pe": N() }],
2522
+ "scroll-pbs": [{ "scroll-pbs": N() }],
2523
+ "scroll-pbe": [{ "scroll-pbe": N() }],
2462
2524
  "scroll-pt": [{ "scroll-pt": N() }],
2463
2525
  "scroll-pr": [{ "scroll-pr": N() }],
2464
2526
  "scroll-pb": [{ "scroll-pb": N() }],
@@ -2507,14 +2569,14 @@ var concatArrays = (e, t) => {
2507
2569
  isArbitraryVariable,
2508
2570
  isArbitraryValue
2509
2571
  ] }],
2510
- fill: [{ fill: ["none", ...U()] }],
2572
+ fill: [{ fill: ["none", ...W()] }],
2511
2573
  "stroke-w": [{ stroke: [
2512
2574
  isNumber,
2513
2575
  isArbitraryVariableLength,
2514
2576
  isArbitraryLength,
2515
2577
  isArbitraryNumber
2516
2578
  ] }],
2517
- stroke: [{ stroke: ["none", ...U()] }],
2579
+ stroke: [{ stroke: ["none", ...W()] }],
2518
2580
  "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
2519
2581
  },
2520
2582
  conflictingClassGroups: {
@@ -2523,6 +2585,8 @@ var concatArrays = (e, t) => {
2523
2585
  inset: [
2524
2586
  "inset-x",
2525
2587
  "inset-y",
2588
+ "inset-bs",
2589
+ "inset-be",
2526
2590
  "start",
2527
2591
  "end",
2528
2592
  "top",
@@ -2543,6 +2607,8 @@ var concatArrays = (e, t) => {
2543
2607
  "py",
2544
2608
  "ps",
2545
2609
  "pe",
2610
+ "pbs",
2611
+ "pbe",
2546
2612
  "pt",
2547
2613
  "pr",
2548
2614
  "pb",
@@ -2555,6 +2621,8 @@ var concatArrays = (e, t) => {
2555
2621
  "my",
2556
2622
  "ms",
2557
2623
  "me",
2624
+ "mbs",
2625
+ "mbe",
2558
2626
  "mt",
2559
2627
  "mr",
2560
2628
  "mb",
@@ -2605,6 +2673,8 @@ var concatArrays = (e, t) => {
2605
2673
  "border-w-y",
2606
2674
  "border-w-s",
2607
2675
  "border-w-e",
2676
+ "border-w-bs",
2677
+ "border-w-be",
2608
2678
  "border-w-t",
2609
2679
  "border-w-r",
2610
2680
  "border-w-b",
@@ -2617,6 +2687,8 @@ var concatArrays = (e, t) => {
2617
2687
  "border-color-y",
2618
2688
  "border-color-s",
2619
2689
  "border-color-e",
2690
+ "border-color-bs",
2691
+ "border-color-be",
2620
2692
  "border-color-t",
2621
2693
  "border-color-r",
2622
2694
  "border-color-b",
@@ -2640,6 +2712,8 @@ var concatArrays = (e, t) => {
2640
2712
  "scroll-my",
2641
2713
  "scroll-ms",
2642
2714
  "scroll-me",
2715
+ "scroll-mbs",
2716
+ "scroll-mbe",
2643
2717
  "scroll-mt",
2644
2718
  "scroll-mr",
2645
2719
  "scroll-mb",
@@ -2652,6 +2726,8 @@ var concatArrays = (e, t) => {
2652
2726
  "scroll-py",
2653
2727
  "scroll-ps",
2654
2728
  "scroll-pe",
2729
+ "scroll-pbs",
2730
+ "scroll-pbe",
2655
2731
  "scroll-pt",
2656
2732
  "scroll-pr",
2657
2733
  "scroll-pb",
@@ -3112,10 +3188,16 @@ var COMPONENTS_AND_ELEMENTS = /* @__PURE__ */ freeze({
3112
3188
  }
3113
3189
  return r ?? e;
3114
3190
  }, Slide_default = {
3115
- props: { isClone: {
3116
- type: Boolean,
3117
- default: !1
3118
- } },
3191
+ props: {
3192
+ isClone: {
3193
+ type: Boolean,
3194
+ default: !1
3195
+ },
3196
+ isVisible: {
3197
+ type: Boolean,
3198
+ default: !1
3199
+ }
3200
+ },
3119
3201
  setup(e, { slots: t }) {
3120
3202
  let n = ref(null), r = useId(), a = getCurrentInstance(), { width: s, height: c, stop: l } = useElementSize(n), { registerSlide: u, updateSlide: d, unregisterSlide: p } = useRegisterSlideClient();
3121
3203
  return e.isClone === !1 ? u(r, a) : l(), onUnmounted(() => {
@@ -3129,8 +3211,8 @@ var COMPONENTS_AND_ELEMENTS = /* @__PURE__ */ freeze({
3129
3211
  ref: n,
3130
3212
  role: "listitem",
3131
3213
  "aria-roledescription": "slide",
3132
- "aria-hidden": e.isClone,
3133
- tabindex: e.isClone ? -1 : void 0
3214
+ "aria-hidden": !e.isVisible,
3215
+ tabindex: e.isVisible ? void 0 : -1
3134
3216
  }, t.default());
3135
3217
  }
3136
3218
  }, __plugin_vue_export_helper_default = (e, t) => {
@@ -3150,33 +3232,33 @@ var COMPONENTS_AND_ELEMENTS = /* @__PURE__ */ freeze({
3150
3232
  }
3151
3233
  },
3152
3234
  setup(e) {
3153
- useCssVars((e) => ({ v6ed04307: P.value }));
3235
+ useCssVars((e) => ({ v0b0e0d5c: z.value }));
3154
3236
  let t = typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, n = Object.freeze({
3155
3237
  element: !0,
3156
3238
  component: !0,
3157
3239
  static: !0,
3158
3240
  comment: !1,
3159
3241
  text: !1
3160
- }), r = e, { config: a, currentIndex: s, setCurrentIndex: l, isHovered: u, isNavigating: p, setIsNavigating: m, pauseAutoplay: b, resumeAutoplay: x, autoplayIsActive: C } = useCarouselClient(), T = ref(!0), E = (e, t) => e / t * 100, D = computed(() => ({
3161
- transform: `translate3d(${F.value}px, 0, 0)`,
3162
- transitionDuration: `${E(R.value, a.value.transitionSpeed)}ms`
3163
- })), O = (e) => {
3164
- let t = parseFloat(P.value), n = a.value.wrap ? r.totalSlides + e : e;
3165
- return (t + a.value.gap) * n * -1;
3166
- }, k = ref(null), { width: j, height: N } = useElementSize(k), P = computed(() => {
3242
+ }), r = e, { config: a, currentIndex: s, setCurrentIndex: l, isHovered: u, isNavigating: p, setIsNavigating: m, pauseAutoplay: b, resumeAutoplay: x, autoplayIsActive: C } = useCarouselClient(), T = ref(!0), E = (e, t) => e / t * 100, D = ref(0), O = ref(0), k = ref(0), j = computed(() => range(k.value + 1, k.value + 1 + a.value.perPage)), N = computed(() => ({
3243
+ transform: `translate3d(${D.value}px, 0, 0)`,
3244
+ transitionDuration: `${E(B.value, a.value.transitionSpeed)}ms`
3245
+ })), P = (e) => {
3246
+ let t = parseFloat(z.value);
3247
+ return k.value = a.value.wrap ? r.totalSlides + e : e, (t + a.value.gap) * k.value * -1;
3248
+ }, F = ref(null), { width: I, height: L } = useElementSize(F), z = computed(() => {
3167
3249
  let e = a.value.gap > 0 ? a.value.gap * (a.value.perPage - 1) : 0;
3168
- return (j.value - e) / a.value.perPage + "px";
3169
- }), F = ref(0), L = ref(0);
3250
+ return (I.value - e) / a.value.perPage + "px";
3251
+ });
3170
3252
  watch(() => r.isInit, async (e) => {
3171
- e && (F.value = O(s.value), await nextFrame(2), T.value = !1);
3253
+ e && (D.value = P(s.value), await nextFrame(2), T.value = !1);
3172
3254
  });
3173
- let R = computed(() => Math.abs(F.value - L.value));
3255
+ let B = computed(() => Math.abs(D.value - O.value));
3174
3256
  watch(s, (e) => {
3175
- p.value === !1 && (L.value = F.value), F.value = O(e), t && V();
3257
+ p.value === !1 && (O.value = D.value), D.value = P(e), t && H();
3176
3258
  });
3177
- let B = () => {
3259
+ let V = () => {
3178
3260
  m(!0);
3179
- }, V = async () => {
3261
+ }, H = async () => {
3180
3262
  T.value = !0, await nextFrame();
3181
3263
  let e = r.totalSlides;
3182
3264
  l(loopedValue(s.value, 0, e)), await nextFrame(), T.value = !1, m(!1);
@@ -3184,7 +3266,7 @@ var COMPONENTS_AND_ELEMENTS = /* @__PURE__ */ freeze({
3184
3266
  watch(u, (e) => {
3185
3267
  a.value.pauseOnHover === !0 && (e ? b() : x());
3186
3268
  });
3187
- let H = {
3269
+ let U = (e, t) => (t === "prefix" ? 0 : t === "suffix" ? r.totalSlides * 2 : r.totalSlides) + e, G = {
3188
3270
  props: { gap: {
3189
3271
  type: Number,
3190
3272
  default: 0
@@ -3192,20 +3274,25 @@ var COMPONENTS_AND_ELEMENTS = /* @__PURE__ */ freeze({
3192
3274
  setup(e, { slots: t }) {
3193
3275
  let r = () => t.default?.() || [], s = (t) => {
3194
3276
  let a = 0, s = t ? `_${t}` : "";
3195
- return replaceChildren(r(), (n) => (a++, h(Slide_default, {
3196
- class: normalizeClass(["evo-vue-carousel__slide shrink-0 grow-0", {
3197
- "evo-vue-carousel__slide-clone": !!t,
3198
- "evo-vue-carousel__slide-prefix": t === "prefix",
3199
- "evo-vue-carousel__slide-suffix": t === "suffix"
3200
- }]),
3201
- style: {
3202
- flexBasis: "var(--slide-width, 0px)",
3203
- marginRight: `${e.gap}px`
3204
- },
3205
- ariaLabel: `Slide ${a}`,
3206
- key: `slide_${a}${s}`,
3207
- isClone: !!t
3208
- }, { default: () => [n] })), n);
3277
+ return replaceChildren(r(), (n) => {
3278
+ a++;
3279
+ let r = U(a, t);
3280
+ return h(Slide_default, {
3281
+ class: normalizeClass(["evo-vue-carousel__slide shrink-0 grow-0", {
3282
+ "evo-vue-carousel__slide-clone": !!t,
3283
+ "evo-vue-carousel__slide-prefix": t === "prefix",
3284
+ "evo-vue-carousel__slide-suffix": t === "suffix"
3285
+ }]),
3286
+ style: {
3287
+ flexBasis: "var(--slide-width, 0px)",
3288
+ marginRight: `${e.gap}px`
3289
+ },
3290
+ ariaLabel: `Slide ${a}`,
3291
+ key: `slide_${a}${s}`,
3292
+ isClone: !!t,
3293
+ isVisible: j.value.includes(r)
3294
+ }, { default: () => [n] });
3295
+ }, n);
3209
3296
  };
3210
3297
  return () => h("div", {
3211
3298
  class: normalizeClass([
@@ -3218,27 +3305,27 @@ var COMPONENTS_AND_ELEMENTS = /* @__PURE__ */ freeze({
3218
3305
  a.value.slideTransitionTimingClass
3219
3306
  ]),
3220
3307
  role: "list",
3221
- style: D.value,
3222
- onTransitionstart: B,
3223
- onTransitionend: V
3308
+ style: N.value,
3309
+ onTransitionstart: V,
3310
+ onTransitionend: H
3224
3311
  }, a.value.wrap ? concat(s("prefix"), s(), s("suffix")) : s());
3225
3312
  }
3226
3313
  };
3227
3314
  return (e, t) => (openBlock(), createElementBlock("div", {
3228
3315
  ref_key: "viewportRef",
3229
- ref: k,
3316
+ ref: F,
3230
3317
  class: "evo-vue-carousel__viewport evo-vue-carousel__viewport--slider relative flex w-full h-full max-h-full overflow-hidden",
3231
- "data-width": unref(j),
3232
- "data-height": unref(N)
3318
+ "data-width": unref(I),
3319
+ "data-height": unref(L)
3233
3320
  }, [createVNode(unref(S), {
3234
3321
  slots: e.$slots,
3235
3322
  only: "default"
3236
3323
  }, {
3237
- default: withCtx(() => [createVNode(H, { gap: unref(a).gap }, null, 8, ["gap"])]),
3324
+ default: withCtx(() => [createVNode(G, { gap: unref(a).gap }, null, 8, ["gap"])]),
3238
3325
  _: 1
3239
3326
  }, 8, ["slots"])], 8, _hoisted_1$1));
3240
3327
  }
3241
- }, [["__scopeId", "data-v-932c4d31"]]), _hoisted_1 = ["data-height"], Gallery_default = {
3328
+ }, [["__scopeId", "data-v-06f26dae"]]), _hoisted_1 = ["data-height"], Gallery_default = {
3242
3329
  __name: "Gallery",
3243
3330
  props: {
3244
3331
  totalSlides: {
@@ -3269,7 +3356,9 @@ var COMPONENTS_AND_ELEMENTS = /* @__PURE__ */ freeze({
3269
3356
  let n = 0, r = replaceChildren(e, (e) => {
3270
3357
  let t = h(Slide_default, {
3271
3358
  class: normalizeClass(["evo-vue-carousel__slide evo-vue-carousel__slide--visible w-full h-full", { hidden: l.value.includes(n) === !1 }]),
3272
- role: "listitem"
3359
+ role: "listitem",
3360
+ isVisible: l.value.includes(n) === !1,
3361
+ isClone: !1
3273
3362
  }, { default: () => [e] });
3274
3363
  return n++, t;
3275
3364
  }, COMPONENTS_AND_ELEMENTS), c = concat(slice(r, s.value), slice(r, 0, s.value));
package/dist/main.css CHANGED
@@ -1 +1 @@
1
- .evo-vue-carousel__pagination{pointer-events:none}.evo-vue-carousel__pagination>*{pointer-events:auto}.evo-vue-carousel__navigation{pointer-events:none}.evo-vue-carousel__navigation>*{pointer-events:auto}.evo-vue-carousel__viewport-track[data-v-932c4d31]{--slide-width:var(--v6ed04307)}
1
+ .evo-vue-carousel__pagination{pointer-events:none}.evo-vue-carousel__pagination>*{pointer-events:auto}.evo-vue-carousel__navigation{pointer-events:none}.evo-vue-carousel__navigation>*{pointer-events:auto}.evo-vue-carousel__viewport-track[data-v-06f26dae]{--slide-width:var(--v0b0e0d5c)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo-vue-carousel",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "type": "module",
5
5
  "license": "GPL-3.0-only",
6
6
  "files": [
@@ -31,30 +31,30 @@
31
31
  "dependencies": {
32
32
  "@evomark/vue-forward-slots": "^6.2.2",
33
33
  "@skirtle/vue-vnode-utils": "^0.2.0",
34
- "@vueuse/core": "^14.1.0",
35
- "es-toolkit": "^1.43.0",
34
+ "@vueuse/core": "^14.2.1",
35
+ "es-toolkit": "^1.45.1",
36
36
  "vue3-icon": "^3.0.3"
37
37
  },
38
38
  "devDependencies": {
39
- "@eslint/js": "^9.39.2",
39
+ "@eslint/js": "^10.0.1",
40
40
  "@testing-library/vue": "^8.1.0",
41
- "@vitejs/plugin-vue": "^6.0.3",
41
+ "@vitejs/plugin-vue": "^6.0.4",
42
42
  "@vue/test-utils": "^2.4.6",
43
- "eslint": "^9.39.2",
43
+ "eslint": "^10.0.2",
44
44
  "eslint-config-prettier": "^10.1.8",
45
- "eslint-plugin-jsdoc": "^62.0.0",
46
- "eslint-plugin-vue": "^10.6.2",
47
- "globals": "^17.0.0",
48
- "jsdom": "^27.4.0",
49
- "prettier": "^3.7.4",
50
- "tailwind-merge": "^3.4.0",
51
- "tailwindcss": "^4.1.18",
45
+ "eslint-plugin-jsdoc": "^62.7.1",
46
+ "eslint-plugin-vue": "^10.8.0",
47
+ "globals": "^17.4.0",
48
+ "jsdom": "^28.1.0",
49
+ "prettier": "^3.8.1",
50
+ "tailwind-merge": "^3.5.0",
51
+ "tailwindcss": "^4.2.1",
52
52
  "vite": "npm:rolldown-vite@^7.3.1",
53
53
  "vite-plugin-lib-inject-css": "^2.2.2",
54
- "vitest": "^4.0.17",
54
+ "vitest": "^4.0.18",
55
55
  "vitest-axe": "^0.1.0",
56
- "vue": "^3.5.26",
57
- "vue-eslint-parser": "^10.2.0"
56
+ "vue": "^3.5.29",
57
+ "vue-eslint-parser": "^10.4.0"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "tailwind-merge": "^2.5.2 || ^3.0.0",