You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: update imports and descriptions in Angular stories
- Consolidated import statements in forms.stories.ts and other story files to use the new design system paths.
- Enhanced documentation in MDX files for various components, including Accordion, Dialog, and Form controls, to provide clearer descriptions and usage examples.
- Added event binding examples for form controls in wrappers-form.stories.ts to demonstrate how to handle state changes.
- Improved overall consistency and clarity in story descriptions across multiple components.
Copy file name to clipboardExpand all lines: packages/angular/stories/accordion.stories.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ export default {
47
47
48
48
exportconstExternalActions: StoryObj={
49
49
render: ()=>({
50
-
description: `There are scenarios where you want to be able to controle the state of the accordion with an external trigger, for example when the user selects an option elsewhere on the page.
50
+
description: `There are scenarios where you want to be able to control the state of the accordion with an external trigger, for example when the user selects an option elsewhere on the page.
51
51
52
52
This example shows how to bind a boolean that exist in your angular component to the open state of the accordion item. It also shows how to update your boolean when the value is changed from within the accordion itself.`,
Copy file name to clipboardExpand all lines: packages/angular/stories/dialog-service.stories.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -225,7 +225,8 @@ export default {
225
225
}asMeta;
226
226
227
227
exportconstDialogServiceExample: StoryFn=()=>({
228
-
description: 'A button bar groups multiple buttons together.',
228
+
description:
229
+
'A simple example of using the DialogService to open a dialog. This works with any dialog. How you can create a dialog can be seen in the next example.<br/><br/>Note the <code>@Inject(DIALOG_DATA)</code> that is used to get the data passed to the dialog component.',
There are scenarios where you want to be able to controle the state of the accordion with an external trigger, for example when the user selects an option elsewhere on the page.
14
+
There are scenarios where you want to be able to control the state of the accordion with an external trigger, for example when the user selects an option elsewhere on the page.
15
15
16
16
This example shows how to bind a boolean that exist in your angular component to the open state of the accordion item. It also shows how to update your boolean when the value is changed from within the accordion itself.
A simple example of using the DialogService to open a dialog. This works with any dialog. How you can create a dialog can be seen in the next example.<br/><br/>Note the <code>@Inject(DIALOG_DATA)</code> that is used to get the data passed to the dialog component.
0 commit comments