('', { alias: 'class' });
protected _computedClass = computed(() =>
- hlm('group [&.brn-radio-disabled]:text-muted-foreground flex items-center space-x-2', this.userClass()),
+ hlm(
+ 'group [&.brn-radio-disabled]:text-muted-foreground flex items-center space-x-2 rtl:space-x-reverse',
+ this.userClass(),
+ ),
);
}
diff --git a/libs/ui/radio-group/radio-group.stories.ts b/libs/ui/radio-group/radio-group.stories.ts
index 640dac433..88fbcb8ec 100644
--- a/libs/ui/radio-group/radio-group.stories.ts
+++ b/libs/ui/radio-group/radio-group.stories.ts
@@ -1,6 +1,6 @@
import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
-import { BrnRadioGroupComponent, BrnRadioGroupImports } from '@spartan-ng/brain/radio-group';
+import { BrnRadioGroupDirective, BrnRadioGroupImports } from '@spartan-ng/brain/radio-group';
import { type Meta, type StoryObj, moduleMetadata } from '@storybook/angular';
import { HlmButtonDirective } from '../button/helm/src';
import { HlmIconComponent } from '../icon/helm/src';
@@ -21,7 +21,7 @@ import { HlmRadioGroupImports } from './helm/src';
],
template: `
Choose a version
-
+
v16.1.4
@@ -38,7 +38,7 @@ import { HlmRadioGroupImports } from './helm/src';
v15.2.0
-
+
@@ -53,9 +53,9 @@ class RadioGroupExampleComponent {
version: string | null = '16.1.4';
}
-const meta: Meta = {
+const meta: Meta = {
title: 'Radio Group',
- component: BrnRadioGroupComponent,
+ component: BrnRadioGroupDirective,
tags: ['autodocs'],
decorators: [
moduleMetadata({
@@ -66,7 +66,7 @@ const meta: Meta = {
};
export default meta;
-type Story = StoryObj;
+type Story = StoryObj;
export const Default: Story = {
render: () => ({