cynx-lib 1.3.29 → 1.3.31

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": "cynx-lib",
3
- "version": "1.3.29",
3
+ "version": "1.3.31",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "exports": {
@@ -154,17 +154,19 @@ export default function TabBar({ tabs, active, onChange, capitalize = false, pad
154
154
  onClick={handleTabClick}
155
155
  style={{
156
156
  display: 'flex', alignItems: 'center', gap: 5,
157
- height: 26,
157
+ minHeight: 24,
158
+ height: 'auto',
159
+ lineHeight: 1.2,
158
160
  padding: padding || '0 10px',
159
161
  border: 'none',
160
162
  borderRadius: 'var(--radxs, 6px)',
161
163
  background: isActive ? 'var(--surface,#fff)' : isOpen ? 'var(--grey-2, #e5e7eb)' : 'transparent',
162
164
  boxShadow: isActive ? '0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06)' : 'none',
163
- fontSize: '.75rem', fontWeight: isActive ? 600 : 500,
165
+ fontSize: '.75rem', fontWeight: 600,
164
166
  color: isActive ? 'var(--primary-text, #0f111c)' : 'var(--muted, #9b9daa)',
165
167
  cursor: t.disabled ? 'not-allowed' : 'pointer',
166
168
  opacity: t.disabled ? 0.38 : 1,
167
- transition: 'all .18s ease',
169
+ transition: 'background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease',
168
170
  fontFamily: 'inherit',
169
171
  whiteSpace: 'nowrap',
170
172
  textTransform: capitalize ? 'capitalize' : 'none',