ketekny-ui-kit 1.0.106 → 1.0.107

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,7 +1,7 @@
1
1
  {
2
2
  "name": "ketekny-ui-kit",
3
3
  "type": "module",
4
- "version": "1.0.106",
4
+ "version": "1.0.107",
5
5
  "description": "A Vue 3 UI component library with Tailwind CSS styling",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -240,7 +240,7 @@ export default {
240
240
  const pieces = ["items-center gap-3 rounded-lg border px-3 py-2.5 transition"];
241
241
 
242
242
  if (selected) {
243
- pieces.push(styles.selBg);
243
+ pieces.push(styles.selBg, styles.text);
244
244
  if (colored) pieces.push(`border-l-2 ${styles.accent}`);
245
245
  } else if (colored) {
246
246
  pieces.push(styles.text);
@@ -255,11 +255,8 @@ export default {
255
255
 
256
256
  if (this.isTableVariant) {
257
257
  if (this.isSelected(option)) {
258
- if (this.isTinted(option)) {
259
- const styles = this.intentStyles(option);
260
- return `items-center gap-3 border-b border-slate-200 px-3 py-3 last:border-b-0 dark:border-slate-700 ${styles.softBg} ${styles.text}`;
261
- }
262
- return "items-center gap-3 border-b border-slate-200 bg-primary/10 px-3 py-3 text-primary last:border-b-0 dark:border-slate-700 dark:bg-primary/15 dark:text-slate-100";
258
+ const styles = this.intentStyles(option);
259
+ return `items-center gap-3 border-b border-slate-200 px-3 py-3 last:border-b-0 dark:border-slate-700 ${styles.softBg} ${styles.text}`;
263
260
  }
264
261
  return "items-center gap-3 border-b border-slate-200 bg-white px-3 py-3 text-gray-700 hover:bg-slate-50 last:border-b-0 dark:border-slate-700 dark:bg-slate-900 dark:text-slate-200 dark:hover:bg-slate-800";
265
262
  }