ads-nuxt 0.6.1 → 0.6.2

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.
@@ -108,7 +108,12 @@ const dividerClass =
108
108
 
109
109
  const surfaceClass = computed(() => {
110
110
  if (props.disabled) return "cursor-not-allowed bg-[var(--ads-surface-card)]";
111
- if (props.mode === "radio" && props.selected) return "bg-[var(--ads-select-item-selected)]";
111
+ if (props.mode === "radio" && props.selected) {
112
+ /** Figma pinta o item de sugestão com innovation/100 a 30%. O sólido equivalente é surface/ai. */
113
+ return props.badge?.tone === "ai"
114
+ ? "bg-[var(--ads-surface-ai)]"
115
+ : "bg-[var(--ads-select-item-selected)]";
116
+ }
112
117
  return "bg-[var(--ads-surface-card)] hover:bg-[var(--ads-select-item-hover)] focus-visible:bg-[var(--ads-select-item-hover)]";
113
118
  });
114
119
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ads-nuxt",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "license": "MIT",
5
5
  "description": "Alquimia Design System para Nuxt, construído sobre Nuxt UI",
6
6
  "repository": {