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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "basefn",
3
- "version": "1.5.0",
3
+ "version": "1.6.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/brnrdog/basefn.git"
@@ -1,12 +1,13 @@
1
1
  .basefn-accordion {
2
2
  width: 100%;
3
- border: 1px solid #e5e7eb;
4
- border-radius: 0.5rem;
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 #e5e7eb;
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: #1f2937;
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: #f9fafb;
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: #6b7280;
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: #6b7280;
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: 99;
10
+ z-index: 1009;
11
11
  }
12
12
 
13
13
  .basefn-context-menu__menu {
14
14
  position: fixed;
15
- z-index: 100;
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,7 +12,7 @@
12
12
  border: 1px solid #e5e7eb;
13
13
  border-radius: 0.5rem;
14
14
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
15
- z-index: 100;
15
+ z-index: 1010;
16
16
  animation: basefn-dropdown-fade-in 0.15s ease-out;
17
17
  overflow: hidden;
18
18
  }
@@ -11,7 +11,7 @@
11
11
 
12
12
  .basefn-hover-card__content {
13
13
  position: absolute;
14
- z-index: 50;
14
+ z-index: 1010;
15
15
  background: var(--basefn-surface-elevated);
16
16
  border: var(--basefn-border-width) solid var(--basefn-border-primary);
17
17
  border-radius: var(--basefn-radius-lg);
@@ -12,12 +12,12 @@
12
12
  .basefn-popover__backdrop {
13
13
  position: fixed;
14
14
  inset: 0;
15
- z-index: 49;
15
+ z-index: 1009;
16
16
  }
17
17
 
18
18
  .basefn-popover__content {
19
19
  position: absolute;
20
- z-index: 50;
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 #e5e7eb;
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: #6b7280;
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: #374151;
28
- background-color: #f9fafb;
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: #3b82f6;
33
- border-bottom-color: #3b82f6;
35
+ color: var(--basefn-color-primary);
36
+ border-bottom-color: var(--basefn-color-primary);
34
37
  }
35
38
 
36
39
  .basefn-tabs__trigger:disabled {
@@ -11,7 +11,7 @@
11
11
  border-radius: 0.375rem;
12
12
  font-size: 0.875rem;
13
13
  white-space: nowrap;
14
- z-index: 1000;
14
+ z-index: 1010;
15
15
  pointer-events: none;
16
16
  animation: basefn-tooltip-fade-in 0.15s ease-out;
17
17
  }