lau-ecom-design-system 1.0.28 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css CHANGED
@@ -1115,58 +1115,10 @@ video {
1115
1115
  display: none;
1116
1116
  }
1117
1117
 
1118
- .dsEcom-container {
1119
- width: 100%;
1120
- }
1121
-
1122
- @media (min-width: 320px) {
1123
- .dsEcom-container {
1124
- max-width: 320px;
1125
- }
1126
- }
1127
-
1128
- @media (min-width: 640px) {
1129
- .dsEcom-container {
1130
- max-width: 640px;
1131
- }
1132
- }
1133
-
1134
- @media (min-width: 768px) {
1135
- .dsEcom-container {
1136
- max-width: 768px;
1137
- }
1138
- }
1139
-
1140
- @media (min-width: 1024px) {
1141
- .dsEcom-container {
1142
- max-width: 1024px;
1143
- }
1144
- }
1145
-
1146
- @media (min-width: 1280px) {
1147
- .dsEcom-container {
1148
- max-width: 1280px;
1149
- }
1150
- }
1151
-
1152
- @media (min-width: 1536px) {
1153
- .dsEcom-container {
1154
- max-width: 1536px;
1155
- }
1156
- }
1157
-
1158
1118
  .dsEcom-pointer-events-none {
1159
1119
  pointer-events: none;
1160
1120
  }
1161
1121
 
1162
- .dsEcom-static {
1163
- position: static;
1164
- }
1165
-
1166
- .dsEcom-fixed {
1167
- position: fixed;
1168
- }
1169
-
1170
1122
  .dsEcom-absolute {
1171
1123
  position: absolute;
1172
1124
  }
@@ -1199,10 +1151,6 @@ video {
1199
1151
  right: 0px;
1200
1152
  }
1201
1153
 
1202
- .dsEcom-right-12 {
1203
- right: 3rem;
1204
- }
1205
-
1206
1154
  .dsEcom-right-4 {
1207
1155
  right: 1rem;
1208
1156
  }
@@ -1227,10 +1175,6 @@ video {
1227
1175
  top: 0.75rem;
1228
1176
  }
1229
1177
 
1230
- .dsEcom-top-4 {
1231
- top: 1rem;
1232
- }
1233
-
1234
1178
  .dsEcom-top-\[10px\] {
1235
1179
  top: 10px;
1236
1180
  }
@@ -1247,14 +1191,6 @@ video {
1247
1191
  z-index: 50;
1248
1192
  }
1249
1193
 
1250
- .dsEcom-z-\[100\] {
1251
- z-index: 100;
1252
- }
1253
-
1254
- .dsEcom-z-\[60\] {
1255
- z-index: 60;
1256
- }
1257
-
1258
1194
  .dsEcom-col-span-2 {
1259
1195
  grid-column: span 2 / span 2;
1260
1196
  }
@@ -1268,11 +1204,6 @@ video {
1268
1204
  margin-right: 91px;
1269
1205
  }
1270
1206
 
1271
- .dsEcom-mx-auto {
1272
- margin-left: auto;
1273
- margin-right: auto;
1274
- }
1275
-
1276
1207
  .dsEcom-my-4 {
1277
1208
  margin-top: 1rem;
1278
1209
  margin-bottom: 1rem;
@@ -1310,10 +1241,6 @@ video {
1310
1241
  margin-top: 1.5rem;
1311
1242
  }
1312
1243
 
1313
- .dsEcom-mt-8 {
1314
- margin-top: 2rem;
1315
- }
1316
-
1317
1244
  .dsEcom-mt-\[2px\] {
1318
1245
  margin-top: 2px;
1319
1246
  }
@@ -1330,10 +1257,6 @@ video {
1330
1257
  display: flex;
1331
1258
  }
1332
1259
 
1333
- .dsEcom-inline-flex {
1334
- display: inline-flex;
1335
- }
1336
-
1337
1260
  .dsEcom-grid {
1338
1261
  display: grid;
1339
1262
  }
@@ -1351,22 +1274,10 @@ video {
1351
1274
  height: 1px !important;
1352
1275
  }
1353
1276
 
1354
- .dsEcom-h-12 {
1355
- height: 3rem;
1356
- }
1357
-
1358
- .dsEcom-h-16 {
1359
- height: 4rem;
1360
- }
1361
-
1362
1277
  .dsEcom-h-4 {
1363
1278
  height: 1rem;
1364
1279
  }
1365
1280
 
1366
- .dsEcom-h-48 {
1367
- height: 12rem;
1368
- }
1369
-
1370
1281
  .dsEcom-h-5 {
1371
1282
  height: 1.25rem;
1372
1283
  }
@@ -1407,18 +1318,6 @@ video {
1407
1318
  height: auto;
1408
1319
  }
1409
1320
 
1410
- .dsEcom-h-full {
1411
- height: 100%;
1412
- }
1413
-
1414
- .dsEcom-h-screen {
1415
- height: 100vh;
1416
- }
1417
-
1418
- .dsEcom-min-h-screen {
1419
- min-height: 100vh;
1420
- }
1421
-
1422
1321
  .\!dsEcom-w-full {
1423
1322
  width: 100% !important;
1424
1323
  }
@@ -1427,14 +1326,6 @@ video {
1427
1326
  width: 2.5rem;
1428
1327
  }
1429
1328
 
1430
- .dsEcom-w-12 {
1431
- width: 3rem;
1432
- }
1433
-
1434
- .dsEcom-w-32 {
1435
- width: 8rem;
1436
- }
1437
-
1438
1329
  .dsEcom-w-4 {
1439
1330
  width: 1rem;
1440
1331
  }
@@ -1463,10 +1354,6 @@ video {
1463
1354
  width: 883px;
1464
1355
  }
1465
1356
 
1466
- .dsEcom-w-\[calc\(100\%-2rem\)\] {
1467
- width: calc(100% - 2rem);
1468
- }
1469
-
1470
1357
  .dsEcom-w-auto {
1471
1358
  width: auto;
1472
1359
  }
@@ -1479,18 +1366,6 @@ video {
1479
1366
  width: 100%;
1480
1367
  }
1481
1368
 
1482
- .dsEcom-w-screen {
1483
- width: 100vw;
1484
- }
1485
-
1486
- .dsEcom-max-w-\[500px\] {
1487
- max-width: 500px;
1488
- }
1489
-
1490
- .dsEcom-flex-1 {
1491
- flex: 1 1 0%;
1492
- }
1493
-
1494
1369
  .dsEcom-shrink-0 {
1495
1370
  flex-shrink: 0;
1496
1371
  }
@@ -1514,11 +1389,6 @@ video {
1514
1389
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1515
1390
  }
1516
1391
 
1517
- .dsEcom--rotate-90 {
1518
- --tw-rotate: -90deg;
1519
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1520
- }
1521
-
1522
1392
  .dsEcom-rotate-0 {
1523
1393
  --tw-rotate: 0deg;
1524
1394
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1538,10 +1408,6 @@ video {
1538
1408
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1539
1409
  }
1540
1410
 
1541
- .dsEcom-transform-gpu {
1542
- transform: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1543
- }
1544
-
1545
1411
  .dsEcom-cursor-default {
1546
1412
  cursor: default;
1547
1413
  }
@@ -1558,10 +1424,6 @@ video {
1558
1424
  appearance: none;
1559
1425
  }
1560
1426
 
1561
- .dsEcom-grid-cols-1 {
1562
- grid-template-columns: repeat(1, minmax(0, 1fr));
1563
- }
1564
-
1565
1427
  .dsEcom-grid-cols-4 {
1566
1428
  grid-template-columns: repeat(4, minmax(0, 1fr));
1567
1429
  }
@@ -1614,10 +1476,6 @@ video {
1614
1476
  gap: 2rem;
1615
1477
  }
1616
1478
 
1617
- .dsEcom-overflow-hidden {
1618
- overflow: hidden;
1619
- }
1620
-
1621
1479
  .dsEcom-rounded {
1622
1480
  border-radius: 0.25rem;
1623
1481
  }
@@ -1715,11 +1573,6 @@ video {
1715
1573
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
1716
1574
  }
1717
1575
 
1718
- .dsEcom-border-neutral-200 {
1719
- --tw-border-opacity: 1;
1720
- border-color: rgb(229 229 229 / var(--tw-border-opacity, 1));
1721
- }
1722
-
1723
1576
  .dsEcom-border-neutral-60 {
1724
1577
  border-color: var(--neutral-60);
1725
1578
  }
@@ -1752,21 +1605,6 @@ video {
1752
1605
  background-color: var(--primary-60) !important;
1753
1606
  }
1754
1607
 
1755
- .dsEcom-bg-\[\#00A19C\] {
1756
- --tw-bg-opacity: 1;
1757
- background-color: rgb(0 161 156 / var(--tw-bg-opacity, 1));
1758
- }
1759
-
1760
- .dsEcom-bg-\[\#E8F3F3\] {
1761
- --tw-bg-opacity: 1;
1762
- background-color: rgb(232 243 243 / var(--tw-bg-opacity, 1));
1763
- }
1764
-
1765
- .dsEcom-bg-black {
1766
- --tw-bg-opacity: 1;
1767
- background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
1768
- }
1769
-
1770
1608
  .dsEcom-bg-blue-500 {
1771
1609
  --tw-bg-opacity: 1;
1772
1610
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
@@ -1786,19 +1624,10 @@ video {
1786
1624
  background-color: var(--neutral-10);
1787
1625
  }
1788
1626
 
1789
- .dsEcom-bg-neutral-100 {
1790
- background-color: var(--neutral-100);
1791
- }
1792
-
1793
1627
  .dsEcom-bg-neutral-20 {
1794
1628
  background-color: var(--neutral-20);
1795
1629
  }
1796
1630
 
1797
- .dsEcom-bg-neutral-200 {
1798
- --tw-bg-opacity: 1;
1799
- background-color: rgb(229 229 229 / var(--tw-bg-opacity, 1));
1800
- }
1801
-
1802
1631
  .dsEcom-bg-neutral-40 {
1803
1632
  background-color: var(--neutral-40);
1804
1633
  }
@@ -1832,10 +1661,6 @@ video {
1832
1661
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
1833
1662
  }
1834
1663
 
1835
- .dsEcom-bg-opacity-50 {
1836
- --tw-bg-opacity: 0.5;
1837
- }
1838
-
1839
1664
  .dsEcom-bg-opacity-70 {
1840
1665
  --tw-bg-opacity: 0.7;
1841
1666
  }
@@ -1888,10 +1713,6 @@ video {
1888
1713
  padding: 0.25rem;
1889
1714
  }
1890
1715
 
1891
- .dsEcom-p-2 {
1892
- padding: 0.5rem;
1893
- }
1894
-
1895
1716
  .dsEcom-p-4 {
1896
1717
  padding: 1rem;
1897
1718
  }
@@ -2013,10 +1834,6 @@ video {
2013
1834
  padding-right: 3rem;
2014
1835
  }
2015
1836
 
2016
- .dsEcom-pr-24 {
2017
- padding-right: 6rem;
2018
- }
2019
-
2020
1837
  .dsEcom-pr-\[44px\] {
2021
1838
  padding-right: 44px;
2022
1839
  }
@@ -2041,24 +1858,10 @@ video {
2041
1858
  font-family: core-font-family-public-sans;
2042
1859
  }
2043
1860
 
2044
- .dsEcom-text-2xl {
2045
- font-size: 1.5rem;
2046
- line-height: 2rem;
2047
- }
2048
-
2049
1861
  .dsEcom-text-\[12px\] {
2050
1862
  font-size: 12px;
2051
1863
  }
2052
1864
 
2053
- .dsEcom-text-xl {
2054
- font-size: 1.25rem;
2055
- line-height: 1.75rem;
2056
- }
2057
-
2058
- .dsEcom-font-bold {
2059
- font-weight: 700;
2060
- }
2061
-
2062
1865
  .dsEcom-font-core-font-weight-extrabold {
2063
1866
  font-weight: 800;
2064
1867
  }
@@ -2110,20 +1913,10 @@ video {
2110
1913
  color: var(--neutral-100);
2111
1914
  }
2112
1915
 
2113
- .dsEcom-text-neutral-400 {
2114
- --tw-text-opacity: 1;
2115
- color: rgb(163 163 163 / var(--tw-text-opacity, 1));
2116
- }
2117
-
2118
1916
  .dsEcom-text-neutral-60 {
2119
1917
  color: var(--neutral-60);
2120
1918
  }
2121
1919
 
2122
- .dsEcom-text-neutral-600 {
2123
- --tw-text-opacity: 1;
2124
- color: rgb(82 82 82 / var(--tw-text-opacity, 1));
2125
- }
2126
-
2127
1920
  .dsEcom-text-neutral-70 {
2128
1921
  color: var(--neutral-70);
2129
1922
  }
@@ -2154,26 +1947,6 @@ video {
2154
1947
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
2155
1948
  }
2156
1949
 
2157
- .dsEcom-opacity-0 {
2158
- opacity: 0;
2159
- }
2160
-
2161
- .dsEcom-opacity-100 {
2162
- opacity: 1;
2163
- }
2164
-
2165
- .dsEcom-shadow-lg {
2166
- --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
2167
- --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
2168
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2169
- }
2170
-
2171
- .dsEcom-shadow-md {
2172
- --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
2173
- --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
2174
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2175
- }
2176
-
2177
1950
  .dsEcom-shadow-upc-shadow-prominent {
2178
1951
  --tw-shadow: 0px 8px 48px -6px rgba(89, 89, 89, 0.24);
2179
1952
  --tw-shadow-colored: 0px 8px 48px -6px var(--tw-shadow-color);
@@ -2204,18 +1977,6 @@ video {
2204
1977
  transition-duration: 150ms;
2205
1978
  }
2206
1979
 
2207
- .dsEcom-transition-opacity {
2208
- transition-property: opacity;
2209
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2210
- transition-duration: 150ms;
2211
- }
2212
-
2213
- .dsEcom-transition-transform {
2214
- transition-property: transform;
2215
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2216
- transition-duration: 150ms;
2217
- }
2218
-
2219
1980
  .dsEcom-duration-200 {
2220
1981
  transition-duration: 200ms;
2221
1982
  }
@@ -2228,10 +1989,6 @@ video {
2228
1989
  transition-duration: 0.3s;
2229
1990
  }
2230
1991
 
2231
- .dsEcom-ease-in-out {
2232
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2233
- }
2234
-
2235
1992
  * {
2236
1993
  box-sizing: border-box;
2237
1994
  padding: 0;
@@ -2519,11 +2276,6 @@ video {
2519
2276
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
2520
2277
  }
2521
2278
 
2522
- .hover\:dsEcom-text-neutral-600:hover {
2523
- --tw-text-opacity: 1;
2524
- color: rgb(82 82 82 / var(--tw-text-opacity, 1));
2525
- }
2526
-
2527
2279
  .hover\:dsEcom-text-neutral-70:hover {
2528
2280
  color: var(--neutral-70);
2529
2281
  }
@@ -2622,12 +2374,6 @@ video {
2622
2374
  display: block !important;
2623
2375
  }
2624
2376
 
2625
- @media (min-width: 768px) {
2626
- .md\:dsEcom-grid-cols-3 {
2627
- grid-template-columns: repeat(3, minmax(0, 1fr));
2628
- }
2629
- }
2630
-
2631
2377
  @media (min-width: 320px) and (max-width: 1024px) {
2632
2378
  .mobiles\:dsEcom-order-first {
2633
2379
  order: -9999;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lau-ecom-design-system",
3
3
  "private": false,
4
- "version": "1.0.28",
4
+ "version": "1.0.29",
5
5
  "sourceType": "module",
6
6
  "sideEffects": false,
7
7
  "main": "dist/lau-ecom-design-system.ssr.js",
@@ -134,15 +134,21 @@ const handleAcceptAll = () => {
134
134
 
135
135
  <template>
136
136
  <div v-if="isBannerVisible">
137
- <div v-if="!isConfigOpen" class="lau-ecom-cookies lau-ecom-cookies--upc">
137
+ <div
138
+ v-if="!isConfigOpen"
139
+ class="lau-ecom-cookies lau-ecom-cookies--upc"
140
+ >
138
141
  <p class="lau-ecom-text lau-ecom-text--upc core-font-body-reg-04-16px">
139
142
  Este sitio web utiliza cookies gracias a esto podemos personalizar los
140
143
  ingresos a la web en futuras visitas y brindarte una mejor experiencia
141
144
  dentro de nuestro sitio.
142
145
  <a class="core-font-link-02-16px dsEcom-text-link-60">Conoce más</a>
146
+
143
147
  </p>
144
148
  <div class="lau-ecom-buttons">
145
- <LauEcomTextButton @on-click="handleConfigCookies">
149
+ <LauEcomTextButton
150
+ @on-click="handleConfigCookies"
151
+ >
146
152
  Configurar cookies
147
153
  </LauEcomTextButton>
148
154
  <LauEcomButton class="dsEcom-w-[212px]" @on-click="handleAccept">
@@ -99,7 +99,9 @@ const handleAcceptAll = () => {
99
99
  class="lau-ecom-banner-cookies-config lau-ecom-banner-cookies-config--upc"
100
100
  >
101
101
  <div class="lau-ecom-config-head lau-ecom-config-head--upc">
102
- <p class="upc-font-subtitle-03-20px">Configuracion de cookies</p>
102
+ <p class="upc-font-subtitle-03-20px">
103
+ Configuracion de cookies
104
+ </p>
103
105
  <button @click="handleCloseConfig">
104
106
  <span><LauEcomCoreIconNavClose /></span>
105
107
  </button>
@@ -23,7 +23,17 @@ withDefaults(
23
23
  stroke-linejoin="round"
24
24
  xmlns="http://www.w3.org/2000/svg"
25
25
  >
26
- <line x1="18" y1="6" x2="6" y2="18" />
27
- <line x1="6" y1="6" x2="18" y2="18" />
26
+ <line
27
+ x1="18"
28
+ y1="6"
29
+ x2="6"
30
+ y2="18"
31
+ />
32
+ <line
33
+ x1="6"
34
+ y1="6"
35
+ x2="18"
36
+ y2="18"
37
+ />
28
38
  </svg>
29
39
  </template>
@@ -23,7 +23,16 @@ withDefaults(
23
23
  stroke-linejoin="round"
24
24
  xmlns="http://www.w3.org/2000/svg"
25
25
  >
26
- <circle cx="11" cy="11" r="8" />
27
- <line x1="21" y1="21" x2="16.65" y2="16.65" />
26
+ <circle
27
+ cx="11"
28
+ cy="11"
29
+ r="8"
30
+ />
31
+ <line
32
+ x1="21"
33
+ y1="21"
34
+ x2="16.65"
35
+ y2="16.65"
36
+ />
28
37
  </svg>
29
38
  </template>
@@ -85,6 +85,8 @@ const handleClear = () => {
85
85
  const handleKeyUp = (event: KeyboardEvent) => {
86
86
  if (event.key === 'Enter' && inputValue.value) {
87
87
  emit('search', inputValue.value);
88
+ inputValue.value = '';
89
+ emit('update:modelValue', '');
88
90
  }
89
91
  };
90
92
  </script>
@@ -95,8 +97,8 @@ const handleKeyUp = (event: KeyboardEvent) => {
95
97
  :style="{ width }"
96
98
  >
97
99
  <input
98
- type="text"
99
100
  v-model="inputValue"
101
+ type="text"
100
102
  :placeholder="placeholder"
101
103
  :class="inputClasses"
102
104
  @input="handleInput"
@@ -108,14 +110,14 @@ const handleKeyUp = (event: KeyboardEvent) => {
108
110
  <!-- Botón de limpiar -->
109
111
  <button
110
112
  v-if="inputValue"
111
- type="button"
112
- @click="handleClear"
113
113
  :class="[
114
114
  'dsEcom-absolute dsEcom-right-8 dsEcom-top-1/2 dsEcom-transform dsEcom--translate-y-1/2',
115
115
  'dsEcom-p-1 dsEcom-rounded-full dsEcom-transition-colors dsEcom-duration-300',
116
116
  clearIconBgClass,
117
117
  'hover:dsEcom-opacity-80'
118
118
  ]"
119
+ type="button"
120
+ @click="handleClear"
119
121
  >
120
122
  <LauEcomUpcIconClose
121
123
  :width="clearIconSize.width"
@@ -136,7 +138,11 @@ const handleKeyUp = (event: KeyboardEvent) => {
136
138
  searchIconBgClass,
137
139
  'hover:dsEcom-opacity-80'
138
140
  ]"
139
- @click="$emit('search', inputValue)"
141
+ @click="() => {
142
+ emit('search', inputValue.value);
143
+ inputValue.value = '';
144
+ emit('update:modelValue', '');
145
+ }"
140
146
  >
141
147
  <LauEcomUpcIconSearch
142
148
  :width="searchIconSize.width"