basefn 1.5.0 → 1.6.1
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/package.json +1 -1
- package/src/components/Basefn__Accordion.css +8 -7
- package/src/components/Basefn__ContextMenu.css +2 -2
- package/src/components/Basefn__Dropdown.css +1 -1
- package/src/components/Basefn__HoverCard.css +1 -1
- package/src/components/Basefn__Popover.css +2 -2
- package/src/components/Basefn__Tabs.css +9 -6
- package/src/components/Basefn__Tooltip.css +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
.basefn-accordion {
|
|
2
2
|
width: 100%;
|
|
3
|
-
|
|
4
|
-
border
|
|
3
|
+
background: var(--basefn-bg-primary);
|
|
4
|
+
border: 1px solid var(--basefn-border-primary);
|
|
5
|
+
border-radius: var(--basefn-radius-lg);
|
|
5
6
|
overflow: hidden;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
.basefn-accordion__item {
|
|
9
|
-
border-bottom: 1px solid
|
|
10
|
+
border-bottom: 1px solid var(--basefn-border-primary);
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
.basefn-accordion__item:last-child {
|
|
@@ -23,14 +24,14 @@
|
|
|
23
24
|
border: none;
|
|
24
25
|
font-size: 0.9375rem;
|
|
25
26
|
font-weight: 500;
|
|
26
|
-
color:
|
|
27
|
+
color: var(--basefn-text-primary);
|
|
27
28
|
cursor: pointer;
|
|
28
29
|
transition: background-color 0.2s;
|
|
29
30
|
text-align: left;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
.basefn-accordion__trigger:hover {
|
|
33
|
-
background-color:
|
|
34
|
+
background-color: var(--basefn-bg-secondary);
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
.basefn-accordion__trigger:disabled {
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
.basefn-accordion__icon {
|
|
42
43
|
font-size: 1.25rem;
|
|
43
44
|
transition: transform 0.2s;
|
|
44
|
-
color:
|
|
45
|
+
color: var(--basefn-text-tertiary);
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
.basefn-accordion__icon--open {
|
|
@@ -65,6 +66,6 @@
|
|
|
65
66
|
|
|
66
67
|
.basefn-accordion__content-inner {
|
|
67
68
|
padding: 0 1.25rem 1rem 1.25rem;
|
|
68
|
-
color:
|
|
69
|
+
color: var(--basefn-text-secondary);
|
|
69
70
|
line-height: 1.6;
|
|
70
71
|
}
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
.basefn-context-menu__backdrop {
|
|
8
8
|
position: fixed;
|
|
9
9
|
inset: 0;
|
|
10
|
-
z-index:
|
|
10
|
+
z-index: 1009;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.basefn-context-menu__menu {
|
|
14
14
|
position: fixed;
|
|
15
|
-
z-index:
|
|
15
|
+
z-index: 1010;
|
|
16
16
|
min-width: 180px;
|
|
17
17
|
background: var(--basefn-surface-elevated);
|
|
18
18
|
border: var(--basefn-border-width) solid var(--basefn-border-primary);
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
.basefn-popover__backdrop {
|
|
13
13
|
position: fixed;
|
|
14
14
|
inset: 0;
|
|
15
|
-
z-index:
|
|
15
|
+
z-index: 1009;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.basefn-popover__content {
|
|
19
19
|
position: absolute;
|
|
20
|
-
z-index:
|
|
20
|
+
z-index: 1010;
|
|
21
21
|
background: var(--basefn-surface-elevated);
|
|
22
22
|
border: var(--basefn-border-width) solid var(--basefn-border-primary);
|
|
23
23
|
border-radius: var(--basefn-radius-lg);
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
.basefn-tabs {
|
|
2
2
|
width: 100%;
|
|
3
|
+
background: var(--basefn-bg-primary);
|
|
4
|
+
border-radius: var(--basefn-radius-lg);
|
|
5
|
+
padding: 1rem;
|
|
3
6
|
}
|
|
4
7
|
|
|
5
8
|
.basefn-tabs__list {
|
|
6
9
|
display: flex;
|
|
7
|
-
border-bottom: 2px solid
|
|
10
|
+
border-bottom: 2px solid var(--basefn-border-primary);
|
|
8
11
|
gap: 0.5rem;
|
|
9
12
|
margin-bottom: 1.5rem;
|
|
10
13
|
}
|
|
@@ -17,20 +20,20 @@
|
|
|
17
20
|
margin-bottom: -2px;
|
|
18
21
|
font-size: 0.875rem;
|
|
19
22
|
font-weight: 500;
|
|
20
|
-
color:
|
|
23
|
+
color: var(--basefn-text-tertiary);
|
|
21
24
|
cursor: pointer;
|
|
22
25
|
transition: all 0.2s;
|
|
23
26
|
white-space: nowrap;
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
.basefn-tabs__trigger:hover {
|
|
27
|
-
color:
|
|
28
|
-
background-color:
|
|
30
|
+
color: var(--basefn-text-primary);
|
|
31
|
+
background-color: var(--basefn-bg-secondary);
|
|
29
32
|
}
|
|
30
33
|
|
|
31
34
|
.basefn-tabs__trigger--active {
|
|
32
|
-
color:
|
|
33
|
-
border-bottom-color:
|
|
35
|
+
color: var(--basefn-color-primary);
|
|
36
|
+
border-bottom-color: var(--basefn-color-primary);
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
.basefn-tabs__trigger:disabled {
|