oneslash-design-system 1.1.8 → 1.1.9
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/components/menuItem.tsx +1 -1
- package/components/radioGroup.tsx +5 -10
- package/package.json +1 -1
package/components/menuItem.tsx
CHANGED
|
@@ -33,19 +33,14 @@ export default function RadioGroup({
|
|
|
33
33
|
<div
|
|
34
34
|
className={`relative flex justify-center items-center w-4 h-4 rounded-full border-2
|
|
35
35
|
${selectedValue === option.value
|
|
36
|
-
? 'border-
|
|
37
|
-
: 'border-
|
|
36
|
+
? 'border-light-text-primary dark:border-dark-text-primary'
|
|
37
|
+
: 'border-light-text-secondary dark:border-dark-text-secondary'}
|
|
38
38
|
`}
|
|
39
39
|
>
|
|
40
40
|
{/* Inner circle */}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
? 'bg-light-text-primary dark:bg-dark-text-primary'
|
|
45
|
-
: 'bg-transparent'}
|
|
46
|
-
`}
|
|
47
|
-
/>
|
|
48
|
-
|
|
41
|
+
{selectedValue === option.value && (
|
|
42
|
+
<div className='absolute w-2 h-2 rounded-full bg-light-text-primary dark:bg-dark-text-primary'/>
|
|
43
|
+
)}
|
|
49
44
|
</div>
|
|
50
45
|
<span className="ml-2 text-body1">{option.label}</span>
|
|
51
46
|
</label>
|