@raystack/apsara 0.16.0 → 0.16.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/dist/index.css CHANGED
@@ -78,8 +78,8 @@
78
78
  --br-round: 50%;
79
79
  --br-pill: 999px;
80
80
 
81
- --shadow-xs: 0px 1px 2px rgba(16, 24, 40, 0.06);
82
- --shadow-sm: 0px 1px 4px rgba(0, 0, 0, 0.09);
81
+ --shadow-xs: 0px 1px 2px 0px rgba(16, 24, 40, 0.06);
82
+ --shadow-sm: 0px 1px 4px 0px rgba(0, 0, 0, 0.09);
83
83
  --shadow-md: 0px 12px 16px -4px rgba(16, 24, 40, 0.08),
84
84
  0px 4px 6px -2px rgba(16, 24, 40, 0.03);
85
85
  --shadow-lg: 0px 20px 24px -4px rgba(16, 24, 40, 0.08),
@@ -731,7 +731,7 @@ html[data-theme="dark"] {
731
731
  .dialog-module_overlay__t-jUE {
732
732
  position: fixed;
733
733
  inset: 0;
734
-
734
+ z-index: 49;
735
735
  background-color: rgba(0, 0, 0, 0.15);
736
736
  }
737
737
 
@@ -801,13 +801,14 @@ html[data-theme="dark"] {
801
801
  box-sizing: border-box;
802
802
  min-width: 120px;
803
803
 
804
- padding: var(--pd-8);
804
+ padding: var(--pd-4);
805
805
  background-color: var(--background-base);
806
806
  border-radius: var(--br-4);
807
- box-shadow: var(--shadow-xs);
808
- border: 1px solid var(--border-subtle);
809
- color: var(--foreground-base)
807
+ box-shadow: var(--shadow-sm);
808
+ outline: 1px solid var(--border-subtle);
809
+ color: var(--foreground-base);
810
810
 
811
+ min-width: var(--radix-dropdown-menu-trigger-width);
811
812
  }
812
813
 
813
814
  .dropdown-menu-module_menuitem__IuV4n {
@@ -815,13 +816,13 @@ html[data-theme="dark"] {
815
816
  padding: var(--pd-8);
816
817
  }
817
818
 
818
- .dropdown-menu-module_menuitem__IuV4n:hover,
819
+ .dropdown-menu-module_menuitem__IuV4n:hover,
819
820
  .dropdown-menu-module_menuitem__IuV4n:focus,
820
821
  .dropdown-menu-module_menuitem__IuV4n[data-highlighted] {
821
822
  outline: none;
822
823
  cursor: pointer;
823
824
  border-radius: var(--br-4);
824
- background: var(--background-base-hover)
825
+ background: var(--background-base-hover);
825
826
  }
826
827
 
827
828
  .dropdown-menu-module_menuitem__IuV4n[data-disabled] {
@@ -829,19 +830,16 @@ html[data-theme="dark"] {
829
830
  pointer-events: none;
830
831
  }
831
832
 
832
- .dropdown-menu-module_label__2h-4H{
833
+ .dropdown-menu-module_label__2h-4H {
833
834
  padding: var(--pd-6) var(--pd-8);
834
835
  font-weight: 500;
835
836
  }
836
- .dropdown-menu-module_separator__0-EoW{
837
+ .dropdown-menu-module_separator__0-EoW {
837
838
  height: 1px;
838
839
  margin: var(--mr-4) calc(var(--mr-8) * -1);
839
- background: var(--background-inset)
840
+ background: var(--background-inset);
840
841
  }
841
842
 
842
- .dropdown-menu-module_menugroup__AmbLX{
843
- padding: var(--pd-8);
844
- }
845
843
  .emptystate-module_emptystate__5wz7s {
846
844
  box-sizing: border-box;
847
845
  display: flex;
@@ -1285,6 +1283,114 @@ html[data-theme="dark"] {
1285
1283
  min-width: 44px;
1286
1284
  min-height: 44px;
1287
1285
  }
1286
+ .text-module_text__1E39C {
1287
+ display: block;
1288
+ line-height: 1;
1289
+ margin: 0;
1290
+ color: var(--foreground-base);
1291
+ }
1292
+
1293
+ .text-module_text-1__ZIYnD {
1294
+ font-size: 11px;
1295
+ line-height: 16px;
1296
+ letter-spacing: 0.5px;
1297
+ }
1298
+ .text-module_text-2__vhka2 {
1299
+ font-size: 12px;
1300
+ line-height: 16px;
1301
+ letter-spacing: 0.4px;
1302
+ }
1303
+ .text-module_text-3__WhApV {
1304
+ font-size: 13px;
1305
+ line-height: 16px;
1306
+ letter-spacing: 0.4px;
1307
+ }
1308
+ .text-module_text-4__I4KCY {
1309
+ font-size: 14px;
1310
+ line-height: 20px;
1311
+ letter-spacing: 0.25px;
1312
+ }
1313
+ .text-module_text-5__5i6jy {
1314
+ font-size: 16px;
1315
+ line-height: 24px;
1316
+ letter-spacing: 0.5px;
1317
+ }
1318
+ .text-module_text-6__vn534 {
1319
+ font-size: 16px;
1320
+ line-height: 20px;
1321
+ letter-spacing: 0.25px;
1322
+ }
1323
+ .text-module_text-7__5stey {
1324
+ font-size: 20px;
1325
+ line-height: 24px;
1326
+ letter-spacing: 0.5px;
1327
+ }
1328
+ .text-module_text-8__J--5n {
1329
+ font-size: 22px;
1330
+ line-height: 28px;
1331
+ letter-spacing: 0.5px;
1332
+ }
1333
+ .text-module_text-9__guv-W {
1334
+ font-size: 24px;
1335
+ line-height: 32px;
1336
+ }
1337
+ .text-module_text-10__OdU-l {
1338
+ font-size: 28px;
1339
+ line-height: 36px;
1340
+ }
1341
+
1342
+ .text-module_text-weight-bold__248bx {
1343
+ font-weight: bold;
1344
+ }
1345
+
1346
+ .text-module_text-weight-bolder__x-gH2 {
1347
+ font-weight: bolder;
1348
+ }
1349
+
1350
+ .text-module_text-weight-normal__N6rMZ {
1351
+ font-weight: normal;
1352
+ }
1353
+
1354
+ .text-module_text-weight-lighter__PtdzT {
1355
+ font-weight: lighter;
1356
+ }
1357
+
1358
+ .text-module_text-weight-100__170iy {
1359
+ font-weight: 100;
1360
+ }
1361
+
1362
+ .text-module_text-weight-200__iG1l4 {
1363
+ font-weight: 200;
1364
+ }
1365
+
1366
+ .text-module_text-weight-300__Z8-xh {
1367
+ font-weight: 300;
1368
+ }
1369
+
1370
+ .text-module_text-weight-400__y4aiw {
1371
+ font-weight: 400;
1372
+ }
1373
+
1374
+ .text-module_text-weight-500__El9dq {
1375
+ font-weight: 500;
1376
+ }
1377
+
1378
+ .text-module_text-weight-600__yMGME {
1379
+ font-weight: 600;
1380
+ }
1381
+
1382
+ .text-module_text-weight-700__EYo9- {
1383
+ font-weight: 700;
1384
+ }
1385
+
1386
+ .text-module_text-weight-800__N7b82 {
1387
+ font-weight: 800;
1388
+ }
1389
+
1390
+ .text-module_text-weight-900__vs7L8 {
1391
+ font-weight: 900;
1392
+ }
1393
+
1288
1394
  .select-module_content__X0QJ- {
1289
1395
  overflow: hidden;
1290
1396
  z-index: 50;
@@ -1293,20 +1399,22 @@ html[data-theme="dark"] {
1293
1399
 
1294
1400
  box-sizing: border-box;
1295
1401
 
1296
- padding: var(--pd-4) var(--pd-8);
1402
+ padding: var(--pd-4);
1297
1403
  background-color: var(--background-base);
1298
1404
  border-radius: var(--br-4);
1299
- box-shadow: var(--shadow-xs);
1405
+ box-shadow: var(--shadow-sm);
1300
1406
  outline: 1px solid var(--border-subtle);
1407
+
1408
+ min-width: var(--radix-select-trigger-width);
1409
+ margin-top: 4px;
1301
1410
  }
1302
1411
 
1303
1412
  .select-module_menuitem__DfVEU {
1304
1413
  display: flex;
1305
1414
  align-items: center;
1306
1415
  position: relative;
1307
-
1308
1416
  gap: var(--pd-4);
1309
- padding: var(--pd-4) var(--pd-8);
1417
+ padding: var(--pd-8);
1310
1418
  color: var(--foreground-base);
1311
1419
  }
1312
1420
 
@@ -1324,18 +1432,6 @@ html[data-theme="dark"] {
1324
1432
  pointer-events: none;
1325
1433
  }
1326
1434
 
1327
- .select-module_menuitemIndicatorWapper__TZDvz {
1328
- height: 14px;
1329
- width: 14px;
1330
- display: flex;
1331
- justify-content: center;
1332
- align-items: center;
1333
- }
1334
-
1335
- .select-module_label__4I1Se {
1336
- padding: var(--pd-6) var(--pd-8);
1337
- font-weight: 500;
1338
- }
1339
1435
  .select-module_separator__2UBNd {
1340
1436
  height: 1px;
1341
1437
  margin: var(--mr-4) calc(var(--mr-8) * -1);
@@ -1350,16 +1446,23 @@ html[data-theme="dark"] {
1350
1446
  display: flex;
1351
1447
  justify-content: space-between;
1352
1448
  align-items: center;
1353
- outline: none;
1449
+ border: none;
1354
1450
 
1355
1451
  color: var(--foreground-base);
1356
- padding: var(--pd-4) var(--pd-12);
1452
+ padding: var(--pd-8);
1357
1453
  background-color: var(--background-base);
1358
1454
  font-size: 12px;
1359
1455
  line-height: 16px;
1360
1456
  border-radius: var(--br-4);
1361
1457
  outline: 0.5px solid var(--border-base);
1362
1458
  box-shadow: var(--shadow-xs);
1459
+ color: var(--foreground-subtle);
1460
+
1461
+ user-select: none;
1462
+ }
1463
+
1464
+ .select-module_trigger__1tSaG:hover {
1465
+ cursor: pointer;
1363
1466
  }
1364
1467
 
1365
1468
  .select-module_trigger__1tSaG:focus {
@@ -1378,9 +1481,8 @@ html[data-theme="dark"] {
1378
1481
  }
1379
1482
 
1380
1483
  .select-module_triggerIcon__iaoZ3 {
1381
- width: 16px;
1382
- height: 16px;
1383
- opacity: 0.5;
1484
+ width: 12px;
1485
+ height: 12px;
1384
1486
  margin-left: var(--mr-8);
1385
1487
  }
1386
1488
 
@@ -1503,114 +1605,6 @@ html[data-theme="dark"] {
1503
1605
  0% { opacity: 1 }
1504
1606
  100% { opacity: 0 }
1505
1607
  }
1506
- .text-module_text__1E39C {
1507
- display: block;
1508
- line-height: 1;
1509
- margin: 0;
1510
- color: var(--foreground-base);
1511
- }
1512
-
1513
- .text-module_text-1__ZIYnD {
1514
- font-size: 11px;
1515
- line-height: 16px;
1516
- letter-spacing: 0.5px;
1517
- }
1518
- .text-module_text-2__vhka2 {
1519
- font-size: 12px;
1520
- line-height: 16px;
1521
- letter-spacing: 0.4px;
1522
- }
1523
- .text-module_text-3__WhApV {
1524
- font-size: 13px;
1525
- line-height: 16px;
1526
- letter-spacing: 0.4px;
1527
- }
1528
- .text-module_text-4__I4KCY {
1529
- font-size: 14px;
1530
- line-height: 20px;
1531
- letter-spacing: 0.25px;
1532
- }
1533
- .text-module_text-5__5i6jy {
1534
- font-size: 16px;
1535
- line-height: 24px;
1536
- letter-spacing: 0.5px;
1537
- }
1538
- .text-module_text-6__vn534 {
1539
- font-size: 16px;
1540
- line-height: 20px;
1541
- letter-spacing: 0.25px;
1542
- }
1543
- .text-module_text-7__5stey {
1544
- font-size: 20px;
1545
- line-height: 24px;
1546
- letter-spacing: 0.5px;
1547
- }
1548
- .text-module_text-8__J--5n {
1549
- font-size: 22px;
1550
- line-height: 28px;
1551
- letter-spacing: 0.5px;
1552
- }
1553
- .text-module_text-9__guv-W {
1554
- font-size: 24px;
1555
- line-height: 32px;
1556
- }
1557
- .text-module_text-10__OdU-l {
1558
- font-size: 28px;
1559
- line-height: 36px;
1560
- }
1561
-
1562
- .text-module_text-weight-bold__248bx {
1563
- font-weight: bold;
1564
- }
1565
-
1566
- .text-module_text-weight-bolder__x-gH2 {
1567
- font-weight: bolder;
1568
- }
1569
-
1570
- .text-module_text-weight-normal__N6rMZ {
1571
- font-weight: normal;
1572
- }
1573
-
1574
- .text-module_text-weight-lighter__PtdzT {
1575
- font-weight: lighter;
1576
- }
1577
-
1578
- .text-module_text-weight-100__170iy {
1579
- font-weight: 100;
1580
- }
1581
-
1582
- .text-module_text-weight-200__iG1l4 {
1583
- font-weight: 200;
1584
- }
1585
-
1586
- .text-module_text-weight-300__Z8-xh {
1587
- font-weight: 300;
1588
- }
1589
-
1590
- .text-module_text-weight-400__y4aiw {
1591
- font-weight: 400;
1592
- }
1593
-
1594
- .text-module_text-weight-500__El9dq {
1595
- font-weight: 500;
1596
- }
1597
-
1598
- .text-module_text-weight-600__yMGME {
1599
- font-weight: 600;
1600
- }
1601
-
1602
- .text-module_text-weight-700__EYo9- {
1603
- font-weight: 700;
1604
- }
1605
-
1606
- .text-module_text-weight-800__N7b82 {
1607
- font-weight: 800;
1608
- }
1609
-
1610
- .text-module_text-weight-900__vs7L8 {
1611
- font-weight: 900;
1612
- }
1613
-
1614
1608
  .sidebar-module_sidebar__NXH3O {
1615
1609
  width: 100%;
1616
1610
  max-width: 220px;