@raystack/apsara 0.11.9 → 0.11.11
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.cjs +20 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +153 -54
- package/dist/index.js +20 -4
- package/dist/index.js.map +1 -1
- package/dist/table/FilteredChip.d.ts.map +1 -1
- package/dist/text/text.d.ts +2 -1
- package/dist/text/text.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--foreground-base: #
|
|
2
|
+
--foreground-base: #3c4347;
|
|
3
3
|
--foreground-muted: #687076;
|
|
4
|
-
--foreground-subtle: #
|
|
5
|
-
--foreground-inverted: #
|
|
6
|
-
--foreground-accent: #
|
|
7
|
-
--foreground-attention: #
|
|
8
|
-
--foreground-danger: #
|
|
9
|
-
--foreground-success: #
|
|
10
|
-
|
|
11
|
-
--background-base: #
|
|
12
|
-
--background-base-hover: #
|
|
13
|
-
--background-inset: #
|
|
14
|
-
--background-inset-hover: #
|
|
15
|
-
--background-subtle: #
|
|
4
|
+
--foreground-subtle: #7e868c;
|
|
5
|
+
--foreground-inverted: #fbfcfd;
|
|
6
|
+
--foreground-accent: #3e63dd;
|
|
7
|
+
--foreground-attention: #ffb224;
|
|
8
|
+
--foreground-danger: #e5484d;
|
|
9
|
+
--foreground-success: #30a46c;
|
|
10
|
+
|
|
11
|
+
--background-base: #fbfcfd;
|
|
12
|
+
--background-base-hover: #f1f3f5;
|
|
13
|
+
--background-inset: #f1f3f5;
|
|
14
|
+
--background-inset-hover: #e6e8eb;
|
|
15
|
+
--background-subtle: #f8f9fa;
|
|
16
16
|
--background-highlight: #889096;
|
|
17
|
-
--background-inverted: #
|
|
18
|
-
--background-accent: #
|
|
19
|
-
--background-accent-inverted: #
|
|
20
|
-
--background-accent-inverted-hover: #
|
|
21
|
-
--background-attention: #
|
|
22
|
-
--background-attention-inverted: #
|
|
23
|
-
--background-danger: #
|
|
24
|
-
--background-danger-inverted: #
|
|
25
|
-
--background-danger-inverted-hover: #
|
|
26
|
-
--background-success: #
|
|
27
|
-
--background-success-inverted: #
|
|
28
|
-
|
|
29
|
-
--border-base: #
|
|
30
|
-
--border-base-hover: #
|
|
31
|
-
--border-muted: #
|
|
32
|
-
--border-subtle: #
|
|
33
|
-
--border-accent: #
|
|
34
|
-
--border-accent-inverted: #
|
|
35
|
-
--border-accent-inverted-hover: #
|
|
36
|
-
--border-attention: #
|
|
37
|
-
--border-attention-inverted: #
|
|
38
|
-
--border-danger: #
|
|
39
|
-
--border-danger-inverted: #
|
|
40
|
-
--border-danger-inverted-hover: #
|
|
41
|
-
--border-success: #
|
|
42
|
-
--border-success-inverted: #
|
|
43
|
-
|
|
44
|
-
--ff-inter:
|
|
17
|
+
--background-inverted: #3c4347;
|
|
18
|
+
--background-accent: #e6edfe;
|
|
19
|
+
--background-accent-inverted: #3e63dd;
|
|
20
|
+
--background-accent-inverted-hover: #3a5ccc;
|
|
21
|
+
--background-attention: #ffecbc;
|
|
22
|
+
--background-attention-inverted: #ffb224;
|
|
23
|
+
--background-danger: #ffe5e5;
|
|
24
|
+
--background-danger-inverted: #e5484d;
|
|
25
|
+
--background-danger-inverted-hover: #dc3d43;
|
|
26
|
+
--background-success: #ddf3e4;
|
|
27
|
+
--background-success-inverted: #30a46c;
|
|
28
|
+
|
|
29
|
+
--border-base: #d7dbdf;
|
|
30
|
+
--border-base-hover: #c1c8cd;
|
|
31
|
+
--border-muted: #dfe3e6;
|
|
32
|
+
--border-subtle: #eceef0;
|
|
33
|
+
--border-accent: #aec0f5;
|
|
34
|
+
--border-accent-inverted: #3e63dd;
|
|
35
|
+
--border-accent-inverted-hover: #3a5ccc;
|
|
36
|
+
--border-attention: #f3ba63;
|
|
37
|
+
--border-attention-inverted: #ffb224;
|
|
38
|
+
--border-danger: #f3aeaf;
|
|
39
|
+
--border-danger-inverted: #e5484d;
|
|
40
|
+
--border-danger-inverted-hover: #dc3d43;
|
|
41
|
+
--border-success: #92ceac;
|
|
42
|
+
--border-success-inverted: #30a46c;
|
|
43
|
+
|
|
44
|
+
--ff-inter: "Inter", -apple-system, system-ui, sans-serif;
|
|
45
45
|
--ff-mono: Söhne Mono, menlo, monospace;
|
|
46
46
|
|
|
47
47
|
--fs-100: 0.688rem;
|
|
@@ -51,7 +51,6 @@
|
|
|
51
51
|
--fs-500: 0.938rem;
|
|
52
52
|
--fs-600: 1rem;
|
|
53
53
|
|
|
54
|
-
|
|
55
54
|
--pd-2: 2px;
|
|
56
55
|
--pd-4: 4px;
|
|
57
56
|
--pd-6: 6px;
|
|
@@ -79,10 +78,58 @@
|
|
|
79
78
|
|
|
80
79
|
--shadow-xs: 0px 1px 2px rgba(16, 24, 40, 0.06);
|
|
81
80
|
--shadow-sm: 0px 1px 4px rgba(0, 0, 0, 0.09);
|
|
82
|
-
--shadow-md: 0px 12px 16px -4px rgba(16, 24, 40, 0.08),
|
|
83
|
-
|
|
84
|
-
--shadow-
|
|
81
|
+
--shadow-md: 0px 12px 16px -4px rgba(16, 24, 40, 0.08),
|
|
82
|
+
0px 4px 6px -2px rgba(16, 24, 40, 0.03);
|
|
83
|
+
--shadow-lg: 0px 20px 24px -4px rgba(16, 24, 40, 0.08),
|
|
84
|
+
0px 8px 8px -4px rgba(16, 24, 40, 0.03);
|
|
85
|
+
--shadow-xl: 0px 20px 24px -4px rgba(16, 24, 40, 0.08),
|
|
86
|
+
0px 8px 8px -4px rgba(16, 24, 40, 0.03);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
html[data-theme="dark"] {
|
|
90
|
+
--foreground-base: #ecedee;
|
|
91
|
+
--foreground-muted: #9ba1a6;
|
|
92
|
+
--foreground-subtle: #787f85;
|
|
93
|
+
--foreground-inverted: #151718;
|
|
94
|
+
--foreground-accent: #3e63dd;
|
|
95
|
+
--foreground-attention: #ffb224;
|
|
96
|
+
--foreground-danger: #e5484d;
|
|
97
|
+
--foreground-success: #46a758;
|
|
98
|
+
|
|
99
|
+
--background-base: #151718;
|
|
100
|
+
--background-base-hover: #202425;
|
|
101
|
+
--background-inset: #202425;
|
|
102
|
+
--background-inset-hover: #2b2f31;
|
|
103
|
+
--background-subtle: #1a1d1e;
|
|
104
|
+
--background-highlight: #697177;
|
|
105
|
+
--background-inverted: #ecedee;
|
|
106
|
+
--background-accent: #1c274f;
|
|
107
|
+
--background-accent-inverted: #3e63dd;
|
|
108
|
+
--background-accent-inverted-hover: #5373e7;
|
|
109
|
+
--background-attention: #3f2200;
|
|
110
|
+
--background-attention-inverted: #ffb224;
|
|
111
|
+
--background-danger: #481a1d;
|
|
112
|
+
--background-danger-inverted: #e5484d;
|
|
113
|
+
--background-danger-inverted-hover: #f2555a;
|
|
114
|
+
--background-success: #16301d;
|
|
115
|
+
--background-success-inverted: #46a758;
|
|
116
|
+
|
|
117
|
+
--border-base: #3a3f42;
|
|
118
|
+
--border-base-hover: #4c5155;
|
|
119
|
+
--border-muted: #313538;
|
|
120
|
+
--border-subtle: #26292b;
|
|
121
|
+
--border-accent: #273e89;
|
|
122
|
+
--border-accent-inverted: #3e63dd;
|
|
123
|
+
--border-accent-inverted-hover: #5373e7;
|
|
124
|
+
--border-attention: #693f05;
|
|
125
|
+
--border-attention-inverted: #ffb224;
|
|
126
|
+
--border-danger: #822025;
|
|
127
|
+
--border-danger-inverted: #e5484d;
|
|
128
|
+
--border-danger-inverted-hover: #f2555a;
|
|
129
|
+
--border-success: #245530;
|
|
130
|
+
--border-success-inverted: #46a758;
|
|
85
131
|
}
|
|
132
|
+
|
|
86
133
|
.flex-module_flex__tfvHj {
|
|
87
134
|
box-sizing: border-box;
|
|
88
135
|
display: flex;
|
|
@@ -1459,44 +1506,43 @@
|
|
|
1459
1506
|
display: block;
|
|
1460
1507
|
line-height: 1;
|
|
1461
1508
|
margin: 0;
|
|
1462
|
-
|
|
1463
|
-
color: var(--foreground-base)
|
|
1509
|
+
color: var(--foreground-base);
|
|
1464
1510
|
}
|
|
1465
1511
|
|
|
1466
1512
|
.text-module_text-1__ZIYnD {
|
|
1467
1513
|
font-size: 11px;
|
|
1468
1514
|
line-height: 16px;
|
|
1469
|
-
letter-spacing: 0.5px;
|
|
1515
|
+
letter-spacing: 0.5px;
|
|
1470
1516
|
}
|
|
1471
1517
|
.text-module_text-2__vhka2 {
|
|
1472
1518
|
font-size: 12px;
|
|
1473
1519
|
line-height: 16px;
|
|
1474
|
-
letter-spacing: 0.4px;
|
|
1520
|
+
letter-spacing: 0.4px;
|
|
1475
1521
|
}
|
|
1476
1522
|
.text-module_text-3__WhApV {
|
|
1477
1523
|
font-size: 13px;
|
|
1478
1524
|
line-height: 16px;
|
|
1479
|
-
letter-spacing: 0.4px;
|
|
1525
|
+
letter-spacing: 0.4px;
|
|
1480
1526
|
}
|
|
1481
1527
|
.text-module_text-4__I4KCY {
|
|
1482
1528
|
font-size: 14px;
|
|
1483
1529
|
line-height: 20px;
|
|
1484
|
-
letter-spacing: 0.25px;
|
|
1530
|
+
letter-spacing: 0.25px;
|
|
1485
1531
|
}
|
|
1486
1532
|
.text-module_text-5__5i6jy {
|
|
1487
1533
|
font-size: 16px;
|
|
1488
1534
|
line-height: 24px;
|
|
1489
|
-
letter-spacing: 0.5px;
|
|
1535
|
+
letter-spacing: 0.5px;
|
|
1490
1536
|
}
|
|
1491
1537
|
.text-module_text-6__vn534 {
|
|
1492
1538
|
font-size: 16px;
|
|
1493
1539
|
line-height: 20px;
|
|
1494
|
-
letter-spacing: 0.25px;
|
|
1540
|
+
letter-spacing: 0.25px;
|
|
1495
1541
|
}
|
|
1496
1542
|
.text-module_text-7__5stey {
|
|
1497
1543
|
font-size: 20px;
|
|
1498
1544
|
line-height: 24px;
|
|
1499
|
-
letter-spacing: 0.5px;
|
|
1545
|
+
letter-spacing: 0.5px;
|
|
1500
1546
|
}
|
|
1501
1547
|
.text-module_text-8__J--5n {
|
|
1502
1548
|
font-size: 22px;
|
|
@@ -1511,6 +1557,59 @@
|
|
|
1511
1557
|
font-size: 28px;
|
|
1512
1558
|
line-height: 36px;
|
|
1513
1559
|
}
|
|
1560
|
+
|
|
1561
|
+
.text-module_text-weight-bold__248bx {
|
|
1562
|
+
font-weight: bold;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
.text-module_text-weight-bolder__x-gH2 {
|
|
1566
|
+
font-weight: bolder;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
.text-module_text-weight-normal__N6rMZ {
|
|
1570
|
+
font-weight: normal;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
.text-module_text-weight-lighter__PtdzT {
|
|
1574
|
+
font-weight: lighter;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
.text-module_text-weight-100__170iy {
|
|
1578
|
+
font-weight: 100;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
.text-module_text-weight-200__iG1l4 {
|
|
1582
|
+
font-weight: 200;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
.text-module_text-weight-300__Z8-xh {
|
|
1586
|
+
font-weight: 300;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
.text-module_text-weight-400__y4aiw {
|
|
1590
|
+
font-weight: 400;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
.text-module_text-weight-500__El9dq {
|
|
1594
|
+
font-weight: 500;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
.text-module_text-weight-600__yMGME {
|
|
1598
|
+
font-weight: 600;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
.text-module_text-weight-700__EYo9- {
|
|
1602
|
+
font-weight: 700;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
.text-module_text-weight-800__N7b82 {
|
|
1606
|
+
font-weight: 800;
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
.text-module_text-weight-900__vs7L8 {
|
|
1610
|
+
font-weight: 900;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1514
1613
|
.sidebar-module_sidebar__NXH3O {
|
|
1515
1614
|
width: 100%;
|
|
1516
1615
|
max-width: 220px;
|
package/dist/index.js
CHANGED
|
@@ -19354,7 +19354,7 @@ const Sheet = Object.assign(RootSheet, {
|
|
|
19354
19354
|
Description: $5d3850c4d0b4e6c7$export$393edc798c47379d,
|
|
19355
19355
|
});
|
|
19356
19356
|
|
|
19357
|
-
var styles$a = {"text":"text-module_text__1E39C","text-1":"text-module_text-1__ZIYnD","text-2":"text-module_text-2__vhka2","text-3":"text-module_text-3__WhApV","text-4":"text-module_text-4__I4KCY","text-5":"text-module_text-5__5i6jy","text-6":"text-module_text-6__vn534","text-7":"text-module_text-7__5stey","text-8":"text-module_text-8__J--5n","text-9":"text-module_text-9__guv-W","text-10":"text-module_text-10__OdU-l"};
|
|
19357
|
+
var styles$a = {"text":"text-module_text__1E39C","text-1":"text-module_text-1__ZIYnD","text-2":"text-module_text-2__vhka2","text-3":"text-module_text-3__WhApV","text-4":"text-module_text-4__I4KCY","text-5":"text-module_text-5__5i6jy","text-6":"text-module_text-6__vn534","text-7":"text-module_text-7__5stey","text-8":"text-module_text-8__J--5n","text-9":"text-module_text-9__guv-W","text-10":"text-module_text-10__OdU-l","text-weight-bold":"text-module_text-weight-bold__248bx","text-weight-bolder":"text-module_text-weight-bolder__x-gH2","text-weight-normal":"text-module_text-weight-normal__N6rMZ","text-weight-lighter":"text-module_text-weight-lighter__PtdzT","text-weight-100":"text-module_text-weight-100__170iy","text-weight-200":"text-module_text-weight-200__iG1l4","text-weight-300":"text-module_text-weight-300__Z8-xh","text-weight-400":"text-module_text-weight-400__y4aiw","text-weight-500":"text-module_text-weight-500__El9dq","text-weight-600":"text-module_text-weight-600__yMGME","text-weight-700":"text-module_text-weight-700__EYo9-","text-weight-800":"text-module_text-weight-800__N7b82","text-weight-900":"text-module_text-weight-900__vs7L8"};
|
|
19358
19358
|
|
|
19359
19359
|
const text$1 = cva(styles$a.text, {
|
|
19360
19360
|
variants: {
|
|
@@ -19370,13 +19370,29 @@ const text$1 = cva(styles$a.text, {
|
|
|
19370
19370
|
9: styles$a["text-9"],
|
|
19371
19371
|
10: styles$a["text-10"],
|
|
19372
19372
|
},
|
|
19373
|
+
weight: {
|
|
19374
|
+
bold: styles$a["text-weight-bold"],
|
|
19375
|
+
bolder: styles$a["text-weight-bolder"],
|
|
19376
|
+
normal: styles$a["text-weight-normal"],
|
|
19377
|
+
lighter: styles$a["text-weight-lighter"],
|
|
19378
|
+
100: styles$a["text-weight-100"],
|
|
19379
|
+
200: styles$a["text-weight-200"],
|
|
19380
|
+
300: styles$a["text-weight-300"],
|
|
19381
|
+
400: styles$a["text-weight-400"],
|
|
19382
|
+
500: styles$a["text-weight-500"],
|
|
19383
|
+
600: styles$a["text-weight-600"],
|
|
19384
|
+
700: styles$a["text-weight-700"],
|
|
19385
|
+
800: styles$a["text-weight-800"],
|
|
19386
|
+
900: styles$a["text-weight-900"],
|
|
19387
|
+
},
|
|
19373
19388
|
},
|
|
19374
19389
|
defaultVariants: {
|
|
19375
19390
|
size: 2,
|
|
19391
|
+
weight: 400,
|
|
19376
19392
|
},
|
|
19377
19393
|
});
|
|
19378
|
-
function Text({ children, className, size, ...props }) {
|
|
19379
|
-
return (jsxRuntimeExports.jsx("span", { className: text$1({ size, className }), ...props, children: children }));
|
|
19394
|
+
function Text({ children, className, size, weight, ...props }) {
|
|
19395
|
+
return (jsxRuntimeExports.jsx("span", { className: text$1({ size, className, weight }), ...props, children: children }));
|
|
19380
19396
|
}
|
|
19381
19397
|
|
|
19382
19398
|
var styles$9 = {"sidebar":"sidebar-module_sidebar__NXH3O","logo":"sidebar-module_logo__RaK-j","navigations":"sidebar-module_navigations__z5B4k","navigationgroup":"sidebar-module_navigationgroup__bBDHs","navigationgroupheading":"sidebar-module_navigationgroupheading__MkRud","navigationgroupcontent":"sidebar-module_navigationgroupcontent__q70dL","cell":"sidebar-module_cell__NHLSi","active":"sidebar-module_active__lfMUF","disabled":"sidebar-module_disabled__nYLU3","cellText":"sidebar-module_cellText__JV292","footer":"sidebar-module_footer__wLl-f"};
|
|
@@ -24224,7 +24240,7 @@ const FilteredChip = ({ column }) => {
|
|
|
24224
24240
|
}
|
|
24225
24241
|
case "select": {
|
|
24226
24242
|
new Set(column?.getFilterValue());
|
|
24227
|
-
return (jsxRuntimeExports.jsxs(Select, { children: [jsxRuntimeExports.jsx(Select.Trigger, { children: jsxRuntimeExports.jsx(Select.Value, { placeholder: "Select a value" }) }), jsxRuntimeExports.jsx(Select.Content, { children: jsxRuntimeExports.
|
|
24243
|
+
return (jsxRuntimeExports.jsxs(Select, { children: [jsxRuntimeExports.jsx(Select.Trigger, { children: jsxRuntimeExports.jsx(Select.Value, { placeholder: "Select a value" }) }), jsxRuntimeExports.jsx(Select.Content, { children: jsxRuntimeExports.jsx(Select.Group, { children: options.map((option) => (jsxRuntimeExports.jsx(Select.Item, { value: option.value, children: option?.label || option?.value }, option.value))) }) })] }));
|
|
24228
24244
|
}
|
|
24229
24245
|
default: {
|
|
24230
24246
|
const selectedValues = new Set(column?.getFilterValue());
|