@deepgram/styles 0.2.7 → 0.2.9
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/design-system.yaml +810 -0
- package/dist/deepgram.css +1 -1
- package/dist/deepgram.expanded.css +427 -0
- package/lib/deepgram.css +226 -0
- package/lib/tailwind-theme.css +1 -1
- package/package.json +1 -1
package/lib/deepgram.css
CHANGED
|
@@ -757,6 +757,16 @@
|
|
|
757
757
|
@apply font-normal text-sm text-dg-muted;
|
|
758
758
|
}
|
|
759
759
|
|
|
760
|
+
/* Card Headings */
|
|
761
|
+
|
|
762
|
+
.dg-card-headings {
|
|
763
|
+
@apply border-b border-dg-border px-4 py-5 sm:px-6;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.dg-card-headings__title {
|
|
767
|
+
@apply text-base font-semibold text-white;
|
|
768
|
+
}
|
|
769
|
+
|
|
760
770
|
/* Item Title */
|
|
761
771
|
|
|
762
772
|
.dg-item-title {
|
|
@@ -1401,4 +1411,220 @@
|
|
|
1401
1411
|
@apply w-auto;
|
|
1402
1412
|
}
|
|
1403
1413
|
}
|
|
1414
|
+
|
|
1415
|
+
/* Alerts */
|
|
1416
|
+
|
|
1417
|
+
.dg-alert {
|
|
1418
|
+
@apply rounded-md p-4;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
.dg-alert--warning {
|
|
1422
|
+
background-color: color-mix(in srgb, var(--color-dg-warning) 10%, transparent);
|
|
1423
|
+
outline: 1px solid color-mix(in srgb, var(--color-dg-warning) 15%, transparent);
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
.dg-alert--success {
|
|
1427
|
+
background-color: color-mix(in srgb, var(--color-dg-success) 10%, transparent);
|
|
1428
|
+
outline: 1px solid color-mix(in srgb, var(--color-dg-success) 15%, transparent);
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
.dg-alert--danger {
|
|
1432
|
+
background-color: color-mix(in srgb, var(--color-dg-danger) 10%, transparent);
|
|
1433
|
+
outline: 1px solid color-mix(in srgb, var(--color-dg-danger) 15%, transparent);
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
.dg-alert--info {
|
|
1437
|
+
background-color: color-mix(in srgb, var(--color-dg-secondary) 10%, transparent);
|
|
1438
|
+
outline: 1px solid color-mix(in srgb, var(--color-dg-secondary) 15%, transparent);
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
.dg-alert__content {
|
|
1442
|
+
@apply flex;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
.dg-alert__icon {
|
|
1446
|
+
@apply shrink-0;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
.dg-alert__icon svg {
|
|
1450
|
+
@apply size-5;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
.dg-alert--warning .dg-alert__icon {
|
|
1454
|
+
@apply text-dg-warning;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
.dg-alert--success .dg-alert__icon {
|
|
1458
|
+
@apply text-dg-success;
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
.dg-alert--danger .dg-alert__icon {
|
|
1462
|
+
@apply text-dg-danger;
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
.dg-alert--info .dg-alert__icon {
|
|
1466
|
+
@apply text-dg-secondary;
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
.dg-alert__body {
|
|
1470
|
+
margin-left: 0.75rem;
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
.dg-alert__title {
|
|
1474
|
+
@apply text-sm font-medium;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
.dg-alert--warning .dg-alert__title {
|
|
1478
|
+
@apply text-dg-warning;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
.dg-alert--success .dg-alert__title {
|
|
1482
|
+
@apply text-dg-success;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
.dg-alert--danger .dg-alert__title {
|
|
1486
|
+
@apply text-dg-danger;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
.dg-alert--info .dg-alert__title {
|
|
1490
|
+
@apply text-dg-secondary;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
.dg-alert__description {
|
|
1494
|
+
@apply mt-2 text-sm text-dg-muted;
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
.dg-alert__actions {
|
|
1498
|
+
@apply mt-4;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
.dg-alert__actions .dg-btn {
|
|
1502
|
+
@apply text-sm;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
.dg-alert__list {
|
|
1506
|
+
@apply mt-2 text-sm text-dg-muted list-disc pl-5;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
.dg-alert__list li {
|
|
1510
|
+
padding-left: 0.25rem;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
.dg-alert__dismiss {
|
|
1514
|
+
@apply ml-auto pl-3 shrink-0;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
.dg-alert__dismiss button {
|
|
1518
|
+
@apply inline-flex rounded-md p-1.5 text-dg-muted cursor-pointer;
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
.dg-alert__dismiss button:hover {
|
|
1522
|
+
@apply text-dg-text;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
.dg-alert__dismiss button svg {
|
|
1526
|
+
@apply size-5;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
/* Comboboxes */
|
|
1530
|
+
|
|
1531
|
+
.dg-combobox {
|
|
1532
|
+
@apply relative block;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
.dg-combobox__label {
|
|
1536
|
+
@apply block text-sm font-medium text-white;
|
|
1537
|
+
line-height: 1.5rem;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
.dg-combobox__wrapper {
|
|
1541
|
+
@apply relative mt-2 block;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
.dg-combobox__input {
|
|
1545
|
+
@apply block w-full rounded-md bg-white/5 py-1.5 pr-12;
|
|
1546
|
+
@apply pl-3 text-base text-white outline-1 -outline-offset-1 outline-white/10;
|
|
1547
|
+
@apply placeholder:text-dg-slate sm:text-sm;
|
|
1548
|
+
line-height: 1.5rem;
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
.dg-combobox__input:focus {
|
|
1552
|
+
@apply outline-2 -outline-offset-2 outline-dg-primary;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
.dg-combobox__toggle {
|
|
1556
|
+
@apply absolute inset-y-0 right-0 flex items-center rounded-r-md;
|
|
1557
|
+
@apply px-2;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
.dg-combobox__toggle-icon {
|
|
1561
|
+
@apply size-5 text-dg-muted;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
.dg-combobox__options {
|
|
1565
|
+
@apply max-h-60 overflow-auto rounded-md bg-dg-charcoal py-1 text-base;
|
|
1566
|
+
@apply shadow-lg sm:text-sm;
|
|
1567
|
+
outline: 1px solid rgba(255, 255, 255, 0.1);
|
|
1568
|
+
outline-offset: -1px;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
.dg-combobox__option {
|
|
1572
|
+
@apply block truncate px-3 py-2 text-dg-platinum select-none;
|
|
1573
|
+
@apply cursor-pointer;
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
.dg-combobox__option:hover {
|
|
1577
|
+
@apply bg-dg-primary text-white;
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
.dg-combobox__option.selected {
|
|
1581
|
+
@apply bg-dg-primary text-white;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
.dg-combobox__option-text {
|
|
1585
|
+
@apply block truncate;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
.dg-combobox__check {
|
|
1589
|
+
@apply absolute inset-y-0 right-0 flex items-center pr-4;
|
|
1590
|
+
@apply text-white;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
.dg-combobox__check-icon {
|
|
1594
|
+
@apply size-5;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
.dg-combobox--with-check .dg-combobox__option {
|
|
1598
|
+
@apply relative pr-9;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
.dg-combobox--with-check .dg-combobox__option.selected .dg-combobox__check {
|
|
1602
|
+
@apply flex;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
.dg-combobox--with-avatar .dg-combobox__option {
|
|
1606
|
+
@apply flex items-center;
|
|
1607
|
+
gap: 0.5rem;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
.dg-combobox__avatar {
|
|
1611
|
+
@apply size-6 shrink-0 rounded-full;
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
.dg-combobox--with-status .dg-combobox__option {
|
|
1615
|
+
@apply flex items-center;
|
|
1616
|
+
gap: 0.5rem;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
.dg-combobox__status {
|
|
1620
|
+
@apply inline-block size-2 shrink-0 rounded-full;
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
.dg-combobox__status--online {
|
|
1624
|
+
@apply bg-dg-success;
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
.dg-combobox__status--offline {
|
|
1628
|
+
@apply bg-dg-muted;
|
|
1629
|
+
}
|
|
1404
1630
|
}
|
package/lib/tailwind-theme.css
CHANGED