@henriquepetrelli/hp-design-system 1.1.13 → 1.1.15

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
@@ -410,7 +410,7 @@ body {
410
410
  .button-tertiary__label[data-v-0401b00e] {
411
411
  display: block;
412
412
  color: inherit;
413
- }.button-icon[data-v-32ab443d] {
413
+ }.button-icon[data-v-8cf8a123] {
414
414
  display: flex;
415
415
  align-items: center;
416
416
  justify-content: center;
@@ -423,36 +423,36 @@ body {
423
423
  border: 0;
424
424
  cursor: pointer;
425
425
  }
426
- .button-icon--lg[data-v-32ab443d] {
426
+ .button-icon--lg[data-v-8cf8a123] {
427
427
  width: 64px;
428
428
  height: 64px;
429
429
  }
430
- .button-icon--sm[data-v-32ab443d] {
430
+ .button-icon--sm[data-v-8cf8a123] {
431
431
  width: 32px;
432
432
  height: 32px;
433
433
  font-size: 15px;
434
434
  }
435
- .button-icon--is-loading[data-v-32ab443d] {
435
+ .button-icon--is-loading[data-v-8cf8a123] {
436
436
  cursor: default;
437
437
  }
438
- .button-icon[data-v-32ab443d]:not(:disabled):not(.button-icon--is-loading):focus-visible {
438
+ .button-icon[data-v-8cf8a123]:not(:disabled):not(.button-icon--is-loading):focus-visible {
439
439
  outline: 2px solid var(--color-secondary);
440
440
  outline-offset: 2px;
441
441
  }
442
- .button-icon[data-v-32ab443d]:not(:disabled):not(.button-icon--is-loading):hover {
442
+ .button-icon[data-v-8cf8a123]:not(:disabled):not(.button-icon--is-loading):hover {
443
443
  transform: scale(1.0175);
444
444
  opacity: 0.9;
445
445
  }
446
- .button-icon[style*="--background-color: transparent"][data-v-32ab443d]:not(:disabled):not(.button-icon--is-loading):hover {
446
+ .button-icon[style*="--background-color: transparent"][data-v-8cf8a123]:not(:disabled):not(.button-icon--is-loading):hover {
447
447
  background-color: rgba(var(--icon-color), 0.1);
448
448
  }
449
- .button-icon[data-v-32ab443d]:not(:disabled):not(.button-icon--is-loading):active {
449
+ .button-icon[data-v-8cf8a123]:not(:disabled):not(.button-icon--is-loading):active {
450
450
  transform: scale(0.985);
451
451
  }
452
- .button-icon--disabled[data-v-32ab443d], .button-icon[data-v-32ab443d]:not(.button-icon--is-loading):disabled {
452
+ .button-icon--disabled[data-v-8cf8a123], .button-icon[data-v-8cf8a123]:not(.button-icon--is-loading):disabled {
453
453
  opacity: 0.5;
454
454
  cursor: default;
455
- }.button-letter[data-v-4df7cc96] {
455
+ }.button-letter[data-v-13b75270] {
456
456
  display: flex;
457
457
  align-items: center;
458
458
  justify-content: center;
@@ -461,40 +461,35 @@ body {
461
461
  border-radius: 50px;
462
462
  font-size: 1rem;
463
463
  font-weight: 600;
464
- background-color: var(--background-color);
465
464
  border: 0;
466
465
  cursor: pointer;
466
+ background-color: var(--background-color);
467
+ transition: background-color 0.2s ease, transform 0.15s ease, opacity 0.15s ease;
467
468
  }
468
- .button-letter--lg[data-v-4df7cc96] {
469
- font-size: 1.4rem;
470
- font-weight: 600;
469
+ .button-letter--lg[data-v-13b75270] {
471
470
  width: 64px;
472
471
  height: 64px;
472
+ font-size: 1.4rem;
473
473
  }
474
- .button-letter--sm[data-v-4df7cc96] {
474
+ .button-letter--sm[data-v-13b75270] {
475
475
  width: 32px;
476
476
  height: 32px;
477
477
  font-size: 0.8rem;
478
- font-weight: 600;
479
478
  }
480
- .button-letter--is-loading[data-v-4df7cc96] {
479
+ .button-letter--is-loading[data-v-13b75270] {
481
480
  cursor: default;
482
481
  }
483
- .button-letter[data-v-4df7cc96]:not(:disabled):not(.button-letter--is-loading):focus-visible {
484
- outline: 2px solid var(--color-secondary);
485
- outline-offset: 2px;
486
- }
487
- .button-letter[data-v-4df7cc96]:not(:disabled):not(.button-letter--is-loading):hover {
482
+ .button-letter[data-v-13b75270]:not(:disabled):not(.button-letter--is-loading):hover {
488
483
  transform: scale(1.0175);
489
- opacity: 0.9;
490
- }
491
- .button-letter[style*="--background-color: transparent"][data-v-4df7cc96]:not(:disabled):not(.button-letter--is-loading):hover {
492
- background-color: rgba(var(--letter-color), 0.1);
493
484
  }
494
- .button-letter[data-v-4df7cc96]:not(:disabled):not(.button-letter--is-loading):active {
485
+ .button-letter[data-v-13b75270]:not(:disabled):not(.button-letter--is-loading):active {
495
486
  transform: scale(0.985);
496
487
  }
497
- .button-letter--disabled[data-v-4df7cc96], .button-letter[data-v-4df7cc96]:not(.button-letter--is-loading):disabled {
488
+ .button-letter[data-v-13b75270]:not(:disabled):not(.button-letter--is-loading):focus-visible {
489
+ outline: 2px solid var(--color-secondary);
490
+ outline-offset: 2px;
491
+ }
492
+ .button-letter--disabled[data-v-13b75270], .button-letter[data-v-13b75270]:disabled {
498
493
  cursor: default;
499
494
  }.alert[data-v-10dcca72] {
500
495
  padding: 10px;
@@ -1289,39 +1284,39 @@ body {
1289
1284
  .toggle-switch__input:disabled + .toggle-switch__label[data-v-14c54b46] {
1290
1285
  cursor: not-allowed;
1291
1286
  opacity: 0.6;
1292
- }.theme-switcher-container[data-v-699fb0fe] {
1287
+ }.theme-switcher-container[data-v-e4250caa] {
1293
1288
  position: relative;
1294
1289
  display: inline-block;
1295
1290
  }
1296
- .toggle--checkbox[data-v-699fb0fe] {
1291
+ .toggle--checkbox[data-v-e4250caa] {
1297
1292
  position: absolute;
1298
1293
  opacity: 0;
1299
1294
  height: 0;
1300
1295
  width: 0;
1301
1296
  }
1302
- .toggle--checkbox:checked ~ .background[data-v-699fb0fe] {
1297
+ .toggle--checkbox:checked ~ .background[data-v-e4250caa] {
1303
1298
  background: #1357a6;
1304
1299
  }
1305
- .toggle--checkbox:checked + .toggle--label[data-v-699fb0fe] {
1300
+ .toggle--checkbox:checked + .toggle--label[data-v-e4250caa] {
1306
1301
  background: var(--dark-background-color);
1307
1302
  border-color: var(--dark-border-color);
1308
1303
  }
1309
- .toggle--checkbox:checked + .toggle--label .toggle--label-background[data-v-699fb0fe] {
1304
+ .toggle--checkbox:checked + .toggle--label .toggle--label-background[data-v-e4250caa] {
1310
1305
  left: 14px;
1311
1306
  width: 2px;
1312
1307
  }
1313
- .toggle--checkbox:checked + .toggle--label .toggle--label-background[data-v-699fb0fe]:before {
1308
+ .toggle--checkbox:checked + .toggle--label .toggle--label-background[data-v-e4250caa]:before {
1314
1309
  width: 2px;
1315
1310
  height: 2px;
1316
1311
  top: -6px;
1317
1312
  }
1318
- .toggle--checkbox:checked + .toggle--label .toggle--label-background[data-v-699fb0fe]:after {
1313
+ .toggle--checkbox:checked + .toggle--label .toggle--label-background[data-v-e4250caa]:after {
1319
1314
  width: 2px;
1320
1315
  height: 2px;
1321
1316
  left: -8px;
1322
1317
  top: 4px;
1323
1318
  }
1324
- .toggle--label[data-v-699fb0fe] {
1319
+ .toggle--label[data-v-e4250caa] {
1325
1320
  width: 48px;
1326
1321
  height: 24px;
1327
1322
  background: var(--light-background-color);
@@ -1332,12 +1327,12 @@ body {
1332
1327
  transition: all 350ms ease-in;
1333
1328
  cursor: pointer;
1334
1329
  }
1335
- .toggle--label[data-v-699fb0fe]:focus-visible {
1330
+ .toggle--label[data-v-e4250caa]:focus-visible {
1336
1331
  outline: 2px solid #005fcc;
1337
1332
  outline-offset: 2px;
1338
1333
  transition: 0s;
1339
1334
  }
1340
- .toggle--label-background[data-v-699fb0fe] {
1335
+ .toggle--label-background[data-v-e4250caa] {
1341
1336
  width: 4px;
1342
1337
  height: 2px;
1343
1338
  border-radius: 2px;
@@ -1347,7 +1342,7 @@ body {
1347
1342
  top: 11px;
1348
1343
  transition: all 150ms ease-in;
1349
1344
  }
1350
- .toggle--label-background[data-v-699fb0fe]:before {
1345
+ .toggle--label-background[data-v-e4250caa]:before {
1351
1346
  content: "";
1352
1347
  position: absolute;
1353
1348
  top: -4px;
@@ -1358,7 +1353,7 @@ body {
1358
1353
  left: -5px;
1359
1354
  transition: all 150ms ease-in;
1360
1355
  }
1361
- .toggle--label-background[data-v-699fb0fe]:after {
1356
+ .toggle--label-background[data-v-e4250caa]:after {
1362
1357
  content: "";
1363
1358
  position: absolute;
1364
1359
  top: 4px;
@@ -1369,7 +1364,7 @@ body {
1369
1364
  left: -3px;
1370
1365
  transition: all 150ms ease-in;
1371
1366
  }
1372
- .toggle--label[data-v-699fb0fe]:before {
1367
+ .toggle--label[data-v-e4250caa]:before {
1373
1368
  content: "";
1374
1369
  width: 18px;
1375
1370
  height: 18px;
@@ -1380,18 +1375,18 @@ body {
1380
1375
  top: 1px;
1381
1376
  left: 1px;
1382
1377
  transition: all 350ms ease-in;
1383
- animation-name: reverse-699fb0fe;
1378
+ animation-name: reverse-e4250caa;
1384
1379
  animation-duration: 350ms;
1385
1380
  animation-fill-mode: forwards;
1386
1381
  }
1387
- .toggle--checkbox:checked + .toggle--label[data-v-699fb0fe]:before {
1382
+ .toggle--checkbox:checked + .toggle--label[data-v-e4250caa]:before {
1388
1383
  background: #fff;
1389
1384
  border-color: #e8e8ea;
1390
- animation-name: switch-699fb0fe;
1385
+ animation-name: switch-e4250caa;
1391
1386
  animation-duration: 350ms;
1392
1387
  animation-fill-mode: forwards;
1393
1388
  }
1394
- .toggle--label[data-v-699fb0fe]:after {
1389
+ .toggle--label[data-v-e4250caa]:after {
1395
1390
  content: "";
1396
1391
  position: absolute;
1397
1392
  box-shadow: #e8e8ea 1px 0 0 1px, #e8e8ea -2px 4px 0 -1px;
@@ -1404,11 +1399,11 @@ body {
1404
1399
  opacity: 0;
1405
1400
  transition: all 250ms ease-in;
1406
1401
  }
1407
- .toggle--checkbox:checked + .toggle--label[data-v-699fb0fe]:after {
1402
+ .toggle--checkbox:checked + .toggle--label[data-v-e4250caa]:after {
1408
1403
  opacity: 1;
1409
1404
  transition-delay: 350ms;
1410
1405
  }
1411
- .theme-icons[data-v-699fb0fe] {
1406
+ .theme-icons[data-v-e4250caa] {
1412
1407
  position: absolute;
1413
1408
  top: 50%;
1414
1409
  transform: translateY(-50%);
@@ -1417,24 +1412,24 @@ body {
1417
1412
  width: 80%;
1418
1413
  left: 10%;
1419
1414
  }
1420
- .sun-icon[data-v-699fb0fe],
1421
- .moon-icon[data-v-699fb0fe] {
1415
+ .sun-icon[data-v-e4250caa],
1416
+ .moon-icon[data-v-e4250caa] {
1422
1417
  font-size: 10px;
1423
1418
  transition: opacity 0.3s ease;
1424
1419
  }
1425
- .toggle--checkbox:checked + .toggle--label .moon-icon[data-v-699fb0fe] {
1420
+ .toggle--checkbox:checked + .toggle--label .moon-icon[data-v-e4250caa] {
1426
1421
  opacity: 1;
1427
1422
  }
1428
- .toggle--checkbox:checked + .toggle--label .sun-icon[data-v-699fb0fe] {
1423
+ .toggle--checkbox:checked + .toggle--label .sun-icon[data-v-e4250caa] {
1429
1424
  opacity: 0.5;
1430
1425
  }
1431
- .toggle--checkbox:not(:checked) + .toggle--label .moon-icon[data-v-699fb0fe] {
1426
+ .toggle--checkbox:not(:checked) + .toggle--label .moon-icon[data-v-e4250caa] {
1432
1427
  opacity: 0.5;
1433
1428
  }
1434
- .toggle--checkbox:not(:checked) + .toggle--label .sun-icon[data-v-699fb0fe] {
1429
+ .toggle--checkbox:not(:checked) + .toggle--label .sun-icon[data-v-e4250caa] {
1435
1430
  opacity: 1;
1436
1431
  }
1437
- @keyframes switch-699fb0fe {
1432
+ @keyframes switch-e4250caa {
1438
1433
  0% {
1439
1434
  left: 1px;
1440
1435
  }
@@ -1447,7 +1442,7 @@ body {
1447
1442
  width: 18px;
1448
1443
  }
1449
1444
  }
1450
- @keyframes reverse-699fb0fe {
1445
+ @keyframes reverse-e4250caa {
1451
1446
  0% {
1452
1447
  left: 25px;
1453
1448
  width: 18px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henriquepetrelli/hp-design-system",
3
- "version": "1.1.13",
3
+ "version": "1.1.15",
4
4
  "type": "module",
5
5
  "main": "./dist/hp-design-system.umd.js",
6
6
  "module": "./dist/hp-design-system.es.js",