Skip to content

Commit df48420

Browse files
Ruchika GuptaRuchika Gupta
Ruchika Gupta
authored and
Ruchika Gupta
committed
layout fix
1 parent 527a4de commit df48420

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+158
-119
lines changed

example/lib/example/storybook/src/components/Feedback/Progress/index.stories.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ GSProgress widget with value
205205
<iframe
206206
src={env.NEXT_PUBLIC_PREVIEW + "progress-value-preview"}
207207
title="Example"
208-
width="1000"
208+
width="727"
209209
height="400"
210210
></iframe>
211211

@@ -234,7 +234,7 @@ You can add track color to progress bar as per our needs.
234234
<iframe
235235
src={env.NEXT_PUBLIC_PREVIEW + "progress-colors-preview"}
236236
title="Example"
237-
width="1000"
237+
width="727"
238238
height="400"
239239
></iframe>
240240

@@ -282,7 +282,7 @@ You can customize the progress bar. Below is the example where we have change th
282282
<iframe
283283
src={env.NEXT_PUBLIC_PREVIEW + "progress-custom-preview"}
284284
title="Example"
285-
width="1000"
285+
width="727"
286286
height="400"
287287
></iframe>
288288

example/lib/example/storybook/src/components/Layout/Box/index.stories.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This is an illustration of a **Themed GSBox** widget with default configuration.
2121
<iframe
2222
src={env.NEXT_PUBLIC_PREVIEW + "box-preview"}
2323
title="Example"
24-
width="1000"
24+
width="727"
2525
height="400"
2626
></iframe>
2727

example/lib/example/storybook/src/components/Layout/Center/index.stories.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This is an illustration of a **Themed GSCenter** widget with default configurati
2020
<iframe
2121
src={env.NEXT_PUBLIC_PREVIEW + "center-preview"}
2222
title="Example"
23-
width="1000"
23+
width="727"
2424
height="400"
2525
></iframe>
2626

example/lib/example/storybook/src/components/Layout/HStack/index.stories.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This is an illustration of a **Themed GSHStack** widget with default configurati
2828
<iframe
2929
src={env.NEXT_PUBLIC_PREVIEW + "hstack-preview"}
3030
title="Example"
31-
width="1000"
31+
width="727"
3232
height="400"
3333
></iframe>
3434

@@ -158,6 +158,6 @@ An GSHStack widget with the reversed parameter reverses the order of horizontall
158158
<iframe
159159
src={env.NEXT_PUBLIC_PREVIEW + "hstack-reversed-preview"}
160160
title="Example"
161-
width="1000"
161+
width="727"
162162
height="400"
163163
></iframe>

example/lib/example/storybook/src/components/MediaAndIcons/Image/index.stories.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This is an illustration of a **Themed GSImage** widget with default configuratio
2929
<iframe
3030
src={env.NEXT_PUBLIC_PREVIEW + "image-preview"}
3131
title="Example"
32-
width="1000"
32+
width="727"
3333
height="400"
3434
></iframe>
3535

example/lib/example/storybook/src/components/Others/Fab/index.stories.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This is an illustration of a **Themed GSFab** widget with default configuration.
2828
<iframe
2929
src={env.NEXT_PUBLIC_PREVIEW + "fab-preview"}
3030
title="Example"
31-
width="1000"
31+
width="727"
3232
height="500"
3333
></iframe>
3434

example/lib/example/storybook/src/components/forms/Checkbox/index.stories.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This is an illustration of a **Themed GSCheckbox** widget with default configura
2828
<iframe
2929
src={env.NEXT_PUBLIC_PREVIEW + "checkbox-preview"}
3030
title="Example"
31-
width="1000"
31+
width="727"
3232
height="400"
3333
></iframe>
3434

@@ -440,7 +440,7 @@ GSCheckbox provide a mutually exclusive selection mechanism, allowing users to c
440440
<iframe
441441
src={env.NEXT_PUBLIC_PREVIEW + "multiple-checkbox-preview"}
442442
title="Example"
443-
width="1000"
443+
width="727"
444444
height="350"
445445
></iframe>
446446

@@ -496,7 +496,7 @@ A horizontal layout incorporating a checkbox allows for intuitive and space-effi
496496
<iframe
497497
src={env.NEXT_PUBLIC_PREVIEW + "multiple-checkbox-horizontal-preview"}
498498
title="Example"
499-
width="1000"
499+
width="727"
500500
height="350"
501501
></iframe>
502502

@@ -552,7 +552,7 @@ A checkbox widget with help text provides informative guidance alongside selecta
552552
<iframe
553553
src={env.NEXT_PUBLIC_PREVIEW + "checkbox-with-helptext-preview"}
554554
title="Example"
555-
width="1000"
555+
width="727"
556556
height="350"
557557
></iframe>
558558

@@ -621,7 +621,7 @@ A checkbox widget integrated with form control enhances the user experience by e
621621
<iframe
622622
src={env.NEXT_PUBLIC_PREVIEW + "form-control-checkbox-preview"}
623623
title="Example"
624-
width="1000"
624+
width="727"
625625
height="350"
626626
></iframe>
627627

@@ -686,7 +686,7 @@ A controlled widget architecture incorporates a checkbox widget, allowing for pr
686686
<iframe
687687
src={env.NEXT_PUBLIC_PREVIEW + "controlled-checkbox-preview"}
688688
title="Example"
689-
width="1000"
689+
width="727"
690690
height="350"
691691
></iframe>
692692

@@ -744,7 +744,7 @@ An uncontrolled widget utilizes a checkbox widget, providing a simpler implement
744744
<iframe
745745
src={env.NEXT_PUBLIC_PREVIEW + "uncontrolled-checkbox-preview"}
746746
title="Example"
747-
width="1000"
747+
width="727"
748748
height="350"
749749
></iframe>
750750

@@ -788,7 +788,7 @@ The checkbox group widget allows users to group checkbox and display them in a h
788788
<iframe
789789
src={env.NEXT_PUBLIC_PREVIEW + "checkbox-group-preview"}
790790
title="Example"
791-
width="1000"
791+
width="727"
792792
height="350"
793793
></iframe>
794794
```

example/lib/example/storybook/src/components/forms/button/index.stories.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
<iframe
2727
src={env.NEXT_PUBLIC_PREVIEW + "button-preview"}
2828
title="Example"
29-
width="1000"
29+
width="727"
3030
height="400"
3131
></iframe>
3232

@@ -399,7 +399,7 @@ A loading button is a type of button widget that provides visual feedback to the
399399
<iframe
400400
src={env.NEXT_PUBLIC_PREVIEW + "loading-button-preview"}
401401
title="Example"
402-
width="1000"
402+
width="727"
403403
height="300"
404404
></iframe>
405405

@@ -439,7 +439,7 @@ A button with an icon integrates a visual symbol within the button widget, enhan
439439
<iframe
440440
src={env.NEXT_PUBLIC_PREVIEW + "icon-button-preview"}
441441
title="Example"
442-
width="1000"
442+
width="727"
443443
height="300"
444444
></iframe>
445445

@@ -464,7 +464,7 @@ A button with a link combines the interactive behavior of a button widget with t
464464
<iframe
465465
src={env.NEXT_PUBLIC_PREVIEW + "button-with-link-preview"}
466466
title="Example"
467-
width="1000"
467+
width="727"
468468
height="300"
469469
></iframe>
470470

@@ -475,7 +475,7 @@ A button group within a card widget incorporates multiple button widgets, provid
475475
<iframe
476476
src={env.NEXT_PUBLIC_PREVIEW + "button-group-preview"}
477477
title="Example"
478-
width="1000"
478+
width="727"
479479
height="400"
480480
></iframe>
481481

@@ -549,7 +549,7 @@ The icon widget incorporates a button widget, combining visual representation wi
549549
<iframe
550550
src={env.NEXT_PUBLIC_PREVIEW + "button-with-icons-preview"}
551551
title="Example"
552-
width="1000"
552+
width="727"
553553
height="400"
554554
></iframe>
555555

@@ -617,7 +617,7 @@ The button with full width widget utilizes a button widget, expanding its width
617617
<iframe
618618
src={env.NEXT_PUBLIC_PREVIEW + "button-with-fullwidth-preview"}
619619
title="Example"
620-
width="1000"
620+
width="727"
621621
height="500"
622622
></iframe>
623623

example/lib/widgets/storybook_widgets/badge_with_avatar_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class BadgeWithAvatarPreview extends StatelessWidget {
1010
return materialWrapper(
1111
context,
1212
Storybook(
13+
initialLayout: Layout.compact,
1314
initialStory: 'Badge',
1415
stories: [
1516
Story(

example/lib/widgets/storybook_widgets/checkbox_group_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class CheckboxGroupPreview extends StatelessWidget {
1010
return materialWrapper(
1111
context,
1212
Storybook(
13+
initialLayout: Layout.compact,
1314
initialStory: 'Checkbox',
1415
stories: [
1516
Story(

example/lib/widgets/storybook_widgets/checkbox_with_help_text_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class CheckboxWithHelpTextPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Checkbox',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Checkbox',

example/lib/widgets/storybook_widgets/controlled_checkbox_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class ControlledCheckboxPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Checkbox',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Checkbox',

example/lib/widgets/storybook_widgets/divider_variants_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class DividerVariantsPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Divider',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Divider',

example/lib/widgets/storybook_widgets/formcontrol_checkbox_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class FormControlCheckboxPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Checkbox',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Checkbox',

example/lib/widgets/storybook_widgets/hstack_reversed_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class HStackReversedPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'HStack',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'HStack',

example/lib/widgets/storybook_widgets/input_with_formcontrol_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class InputWithFormcontrolPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Input',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Input',

example/lib/widgets/storybook_widgets/input_with_icon_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class InputWithIconPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Input',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Input',

example/lib/widgets/storybook_widgets/link_button_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class LinkButtonPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Button',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Button',

example/lib/widgets/storybook_widgets/link_with_icon_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class LinkWithIconPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Link',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Link',

example/lib/widgets/storybook_widgets/link_with_text_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class LinkWithTextPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Link',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Link',

example/lib/widgets/storybook_widgets/loading_button_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class LoadingButtonPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Button',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Button',

example/lib/widgets/storybook_widgets/multiple_checkbox_horizontal_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class MultipleCheckboxHorizontalPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Checkbox',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Checkbox',

example/lib/widgets/storybook_widgets/multiple_checkbox_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class MultipleCheckboxPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Checkbox',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Checkbox',

example/lib/widgets/storybook_widgets/multiple_radio_button_horizontal_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class _MultipleRadioButtonHorizontalPreviewState
2121
context,
2222
Storybook(
2323
initialStory: 'RadioButton',
24+
initialLayout: Layout.compact,
2425
stories: [
2526
Story(
2627
name: 'RadioButton',

example/lib/widgets/storybook_widgets/multiple_radio_button_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class _MultipleRadioButtonPreviewState
2121
context,
2222
Storybook(
2323
initialStory: 'RadioButton',
24+
initialLayout: Layout.compact,
2425
stories: [
2526
Story(
2627
name: 'RadioButton',

example/lib/widgets/storybook_widgets/pressable_with_states_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class PressableWithStatesPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Pressable',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Pressable',

example/lib/widgets/storybook_widgets/progress_colors_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class ProgressColorsPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Progress',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Progress',

example/lib/widgets/storybook_widgets/progress_custom_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class ProgressCustomPreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Progress',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Progress',

example/lib/widgets/storybook_widgets/progress_value_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class ProgressValuePreview extends StatelessWidget {
1111
context,
1212
Storybook(
1313
initialStory: 'Progress',
14+
initialLayout: Layout.compact,
1415
stories: [
1516
Story(
1617
name: 'Progress',

example/lib/widgets/storybook_widgets/radio_button_controlled_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class _RadioButtonControlledPreviewState
2121
context,
2222
Storybook(
2323
initialStory: 'RadioButton',
24+
initialLayout: Layout.compact,
2425
stories: [
2526
Story(
2627
name: 'RadioButton',

example/lib/widgets/storybook_widgets/radio_button_with_formcontrol_preview.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class _RadioButtonWithFormControlPreviewState
2121
context,
2222
Storybook(
2323
initialStory: 'RadioButton',
24+
initialLayout: Layout.compact,
2425
stories: [
2526
Story(
2627
name: 'RadioButton',

0 commit comments

Comments
 (0)