vueless 0.0.238 → 0.0.239

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.
Files changed (34) hide show
  1. package/package.json +2 -2
  2. package/ui.button/index.stories.js +4 -4
  3. package/ui.container-col/Docs.mdx +16 -0
  4. package/ui.container-col/composables/attrs.composable.js +33 -0
  5. package/ui.container-col/configs/default.config.js +46 -0
  6. package/ui.container-col/constants/index.js +5 -0
  7. package/ui.container-col/index.stories.js +64 -0
  8. package/ui.container-col/index.vue +80 -0
  9. package/ui.container-divider/configs/default.config.js +1 -1
  10. package/ui.container-group/configs/default.config.js +0 -42
  11. package/ui.container-group/index.stories.js +7 -4
  12. package/ui.container-group/index.vue +3 -49
  13. package/ui.container-groups/index.stories.js +6 -3
  14. package/ui.container-row/index.stories.js +7 -7
  15. package/ui.container-row/index.vue +1 -1
  16. package/ui.dropdown-button/index.stories.js +4 -4
  17. package/ui.form-checkbox/index.stories.js +7 -7
  18. package/ui.form-color-picker/index.stories.js +4 -4
  19. package/ui.form-input/index.stories.js +4 -4
  20. package/ui.form-input-money/index.stories.js +4 -4
  21. package/ui.form-input-number/index.stories.js +4 -4
  22. package/ui.form-label/index.stories.js +4 -4
  23. package/ui.form-radio-group/index.stories.js +4 -4
  24. package/ui.form-textarea/index.stories.js +4 -4
  25. package/ui.image-avatar/index.stories.js +10 -10
  26. package/ui.loader-rendering/index.stories.js +4 -4
  27. package/ui.loader-top/index.stories.js +4 -4
  28. package/ui.navigation-progress/index.stories.js +9 -9
  29. package/ui.other-dot/index.stories.js +7 -7
  30. package/ui.text-alert/index.stories.js +4 -4
  31. package/ui.text-badge/index.stories.js +4 -4
  32. package/ui.text-header/index.stories.js +4 -4
  33. package/ui.text-notify/index.stories.js +4 -4
  34. package/web-types.json +80 -46
@@ -3,7 +3,7 @@ import { getArgTypes, getSlotNames, allSlotsFragment } from "../service.storyboo
3
3
  import UInput from "../ui.form-input";
4
4
  import UIcon from "../ui.image-icon";
5
5
  import UButton from "../ui.button";
6
- import UGroup from "../ui.container-group";
6
+ import UCol from "../ui.container-col";
7
7
  import URow from "../ui.container-row";
8
8
 
9
9
  /**
@@ -90,14 +90,14 @@ const ValidationRuleTemplate = (args, { argTypes } = {}) => ({
90
90
  });
91
91
 
92
92
  const LabelPlacementTemplate = (args) => ({
93
- components: { UInput, UGroup },
93
+ components: { UInput, UCol },
94
94
  setup() {
95
95
  return {
96
96
  args,
97
97
  };
98
98
  },
99
99
  template: `
100
- <UGroup gap="xl">
100
+ <UCol gap="xl">
101
101
  <UInput
102
102
  v-bind="args"
103
103
  label="top"
@@ -109,7 +109,7 @@ const LabelPlacementTemplate = (args) => ({
109
109
  label="topInside"
110
110
  :label-outside="false"
111
111
  />
112
- </UGroup>
112
+ </UCol>
113
113
  `,
114
114
  });
115
115
 
@@ -2,7 +2,7 @@ import { getArgTypes, getSlotNames, allSlotsFragment } from "../service.storyboo
2
2
 
3
3
  import UInputMoney from "../ui.form-input-money";
4
4
  import URow from "../ui.container-row";
5
- // import UGroup from "../ui.container-group";
5
+ // import UCol from "../ui.container-col";
6
6
 
7
7
  /**
8
8
  * The `UInputMoney` component. | [View on GitHub](https://github.com/vuelessjs/vueless/tree/main/src/ui.form-input-money)
@@ -59,14 +59,14 @@ const SizesTemplate = (args, { argTypes } = {}) => ({
59
59
 
60
60
  // TODO: Rewrite to labelAlign
61
61
  // const LabelPlacementTemplate = (args) => ({
62
- // components: { UInputMoney, UGroup },
62
+ // components: { UInputMoney, UCol },
63
63
  // setup() {
64
64
  // return {
65
65
  // args,
66
66
  // };
67
67
  // },
68
68
  // template: `
69
- // <UGroup gap="xl">
69
+ // <UCol gap="xl">
70
70
  // <UInputMoney
71
71
  // v-bind="args"
72
72
  // :label-outside="true"
@@ -78,7 +78,7 @@ const SizesTemplate = (args, { argTypes } = {}) => ({
78
78
  // :label-outside="false"
79
79
  // label="topInside"
80
80
  // />
81
- // </UGroup>
81
+ // </UCol>
82
82
  // `,
83
83
  // });
84
84
 
@@ -1,7 +1,7 @@
1
1
  import { getArgTypes } from "../service.storybook";
2
2
 
3
3
  import UInputNumber from "../ui.form-input-number";
4
- import UGroup from "../ui.container-group";
4
+ import UCol from "../ui.container-col";
5
5
 
6
6
  /**
7
7
  * The `UInputNumber` component. | [View on GitHub](https://github.com/vuelessjs/vueless/tree/main/src/ui.form-input-number)
@@ -32,7 +32,7 @@ const DefaultTemplate = (args) => ({
32
32
  });
33
33
 
34
34
  const SizesTemplate = (args, { argTypes } = {}) => ({
35
- components: { UInputNumber, UGroup },
35
+ components: { UInputNumber, UCol },
36
36
  setup() {
37
37
  return {
38
38
  args,
@@ -49,7 +49,7 @@ const SizesTemplate = (args, { argTypes } = {}) => ({
49
49
  };
50
50
  },
51
51
  template: `
52
- <UGroup gap="xl">
52
+ <UCol gap="xl">
53
53
  <UInputNumber
54
54
  v-for="(size, index) in sizes"
55
55
  v-bind="args"
@@ -58,7 +58,7 @@ const SizesTemplate = (args, { argTypes } = {}) => ({
58
58
  :label="sizeValues[index].label"
59
59
  v-model="sizeValues[index].count"
60
60
  />
61
- </UGroup>
61
+ </UCol>
62
62
  `,
63
63
  });
64
64
 
@@ -1,6 +1,6 @@
1
1
  import ULabel from "../ui.form-label";
2
2
  import URow from "../ui.container-row";
3
- import UGroup from "../ui.container-group";
3
+ import UCol from "../ui.container-col";
4
4
  import UText from "../ui.text-block";
5
5
  import UIcon from "../ui.image-icon";
6
6
 
@@ -72,7 +72,7 @@ const SizesTemplate = (args, { argTypes } = {}) => ({
72
72
  });
73
73
 
74
74
  const LabelPlacementTemplate = (args, { argTypes } = {}) => ({
75
- components: { ULabel, UGroup, UText },
75
+ components: { ULabel, UCol, UText },
76
76
  setup() {
77
77
  return {
78
78
  args,
@@ -80,7 +80,7 @@ const LabelPlacementTemplate = (args, { argTypes } = {}) => ({
80
80
  };
81
81
  },
82
82
  template: `
83
- <UGroup>
83
+ <UCol>
84
84
  <ULabel
85
85
  v-for="(align, index) in placements"
86
86
  v-bind="args"
@@ -90,7 +90,7 @@ const LabelPlacementTemplate = (args, { argTypes } = {}) => ({
90
90
  >
91
91
  <UText>This is <b>"{{ align }}"</b> label placement.</UText>
92
92
  </ULabel>
93
- </UGroup>
93
+ </UCol>
94
94
  `,
95
95
  });
96
96
 
@@ -4,7 +4,7 @@ import URadioGroup from "../ui.form-radio-group";
4
4
  import URadio from "../ui.form-radio";
5
5
  import UAlert from "../ui.text-alert";
6
6
  import URow from "../ui.container-row";
7
- import UGroup from "../ui.container-group";
7
+ import UCol from "../ui.container-col";
8
8
 
9
9
  /**
10
10
  * The `URadioGroup` component. | [View on GitHub](https://github.com/vuelessjs/vueless/tree/main/src/ui.form-radio-group)
@@ -28,7 +28,7 @@ export default {
28
28
  };
29
29
 
30
30
  const DefaultTemplate = (args) => ({
31
- components: { URadioGroup, URadio, UAlert, URow, UGroup },
31
+ components: { URadioGroup, URadio, UAlert, URow, UCol },
32
32
  setup() {
33
33
  return { args };
34
34
  },
@@ -38,14 +38,14 @@ const DefaultTemplate = (args) => ({
38
38
  };
39
39
  },
40
40
  template: `
41
- <UGroup gap="2xl">
41
+ <UCol gap="2xl">
42
42
  <URadioGroup v-bind="args" v-model="value">
43
43
  <URadio v-for="(radio, index) in args.radios" :key="index" v-bind="radio" />
44
44
  </URadioGroup>
45
45
  <UAlert color="gray" size="xs">
46
46
  <code>Selected value: <b>{{ value }}</b></code>
47
47
  </UAlert>
48
- </UGroup>
48
+ </UCol>
49
49
  `,
50
50
  });
51
51
 
@@ -3,7 +3,7 @@ import { getArgTypes, getSlotNames, allSlotsFragment } from "../service.storyboo
3
3
  import UTextarea from "../ui.form-textarea";
4
4
  import UIcon from "../ui.image-icon";
5
5
  import URow from "../ui.container-row";
6
- import UGroup from "../ui.container-group";
6
+ import UCol from "../ui.container-col";
7
7
 
8
8
  /**
9
9
  * The `UTextarea` component. | [View on GitHub](https://github.com/vuelessjs/vueless/tree/main/src/ui.form-textarea)
@@ -72,14 +72,14 @@ const SizesTemplate = (args, { argTypes } = {}) => ({
72
72
  });
73
73
 
74
74
  const LabelPlacementTemplate = (args) => ({
75
- components: { UTextarea, UGroup },
75
+ components: { UTextarea, UCol },
76
76
  setup() {
77
77
  return {
78
78
  args,
79
79
  };
80
80
  },
81
81
  template: `
82
- <UGroup gap="xl">
82
+ <UCol gap="xl">
83
83
  <UTextarea
84
84
  v-bind="args"
85
85
  label-align="top"
@@ -91,7 +91,7 @@ const LabelPlacementTemplate = (args) => ({
91
91
  label-align="topInside"
92
92
  label="topInside"
93
93
  />
94
- </UGroup>
94
+ </UCol>
95
95
  `,
96
96
  });
97
97
 
@@ -2,7 +2,7 @@ import { getArgTypes } from "../service.storybook";
2
2
 
3
3
  import UAvatar from "../ui.image-avatar";
4
4
  import URow from "../ui.container-row";
5
- import UGroup from "../ui.container-group";
5
+ import UCol from "../ui.container-col";
6
6
 
7
7
  /**
8
8
  * The `UAvatar` component. | [View on GitHub](https://github.com/vuelessjs/vueless/tree/main/src/ui.image-avatar)
@@ -27,7 +27,7 @@ const DefaultTemplate = (args) => ({
27
27
  });
28
28
 
29
29
  const SizesTemplate = (args, { argTypes } = {}) => ({
30
- components: { UGroup, URow, UAvatar },
30
+ components: { UCol, URow, UAvatar },
31
31
  setup() {
32
32
  return {
33
33
  args,
@@ -35,7 +35,7 @@ const SizesTemplate = (args, { argTypes } = {}) => ({
35
35
  };
36
36
  },
37
37
  template: `
38
- <UGroup gap="xl">
38
+ <UCol gap="xl">
39
39
  <URow>
40
40
  <UAvatar
41
41
  v-for="(size, index) in sizes"
@@ -54,12 +54,12 @@ const SizesTemplate = (args, { argTypes } = {}) => ({
54
54
  :label="''"
55
55
  />
56
56
  </URow>
57
- </UGroup>
57
+ </UCol>
58
58
  `,
59
59
  });
60
60
 
61
61
  const ColorsTemplate = (args, { argTypes } = {}) => ({
62
- components: { UGroup, URow, UAvatar },
62
+ components: { UCol, URow, UAvatar },
63
63
  setup() {
64
64
  return {
65
65
  args,
@@ -67,7 +67,7 @@ const ColorsTemplate = (args, { argTypes } = {}) => ({
67
67
  };
68
68
  },
69
69
  template: `
70
- <UGroup gap="xl">
70
+ <UCol gap="xl">
71
71
  <URow>
72
72
  <UAvatar
73
73
  v-for="(color, index) in colors"
@@ -86,12 +86,12 @@ const ColorsTemplate = (args, { argTypes } = {}) => ({
86
86
  :label="''"
87
87
  />
88
88
  </URow>
89
- </UGroup>
89
+ </UCol>
90
90
  `,
91
91
  });
92
92
 
93
93
  const RoundedTemplate = (args, { argTypes } = {}) => ({
94
- components: { UGroup, UAvatar, URow },
94
+ components: { UCol, UAvatar, URow },
95
95
  setup() {
96
96
  return {
97
97
  args,
@@ -99,7 +99,7 @@ const RoundedTemplate = (args, { argTypes } = {}) => ({
99
99
  };
100
100
  },
101
101
  template: `
102
- <UGroup>
102
+ <UCol>
103
103
  <URow>
104
104
  <UAvatar
105
105
  v-for="(rounded, index) in roundedValues"
@@ -109,7 +109,7 @@ const RoundedTemplate = (args, { argTypes } = {}) => ({
109
109
  :label="rounded"
110
110
  />
111
111
  </URow>
112
- </UGroup>
112
+ </UCol>
113
113
  `,
114
114
  });
115
115
 
@@ -1,6 +1,6 @@
1
1
  import ULoaderRendering from "../ui.loader-rendering";
2
2
  import UButton from "../ui.button";
3
- import UGroup from "../ui.container-group";
3
+ import UCol from "../ui.container-col";
4
4
 
5
5
  import { useLoaderRendering } from "./composables/useLoaderRendering";
6
6
 
@@ -36,7 +36,7 @@ const DefaultTemplate = (args) => ({
36
36
  });
37
37
 
38
38
  const LoadingTemplate = (args) => ({
39
- components: { ULoaderRendering, UButton, UGroup },
39
+ components: { ULoaderRendering, UButton, UCol },
40
40
  setup() {
41
41
  const { loaderRenderingOn, loaderRenderingOff, isLoading } = useLoaderRendering();
42
42
 
@@ -48,9 +48,9 @@ const LoadingTemplate = (args) => ({
48
48
  },
49
49
  },
50
50
  template: `
51
- <UGroup align="center" class="pb-4">
51
+ <UCol align="center" class="pb-4">
52
52
  <UButton label="Toggle loading" size="sm" @click="toggleLoading"/>
53
- </UGroup>
53
+ </UCol>
54
54
 
55
55
  <ULoaderRendering v-bind="args" class="!static w-full h-96" />
56
56
  `,
@@ -1,7 +1,7 @@
1
1
  import ULoaderTop from "../ui.loader-top";
2
2
  import UButton from "../ui.button";
3
3
  import URow from "../ui.container-row";
4
- import UGroup from "../ui.container-group";
4
+ import UCol from "../ui.container-col";
5
5
  import UBadge from "../ui.text-badge";
6
6
 
7
7
  import { useLoaderTop } from "./composables/useLoaderTop";
@@ -39,7 +39,7 @@ const DefaultTemplate = (args) => ({
39
39
  });
40
40
 
41
41
  const ColorsTemplate = (args, { argTypes } = {}) => ({
42
- components: { ULoaderTop, UButton, UGroup, URow, UBadge },
42
+ components: { ULoaderTop, UButton, UCol, URow, UBadge },
43
43
  setup() {
44
44
  return {
45
45
  args,
@@ -49,7 +49,7 @@ const ColorsTemplate = (args, { argTypes } = {}) => ({
49
49
  };
50
50
  },
51
51
  template: `
52
- <UGroup>
52
+ <UCol>
53
53
  <URow gap="sm" class="pb-4">
54
54
  <UButton label="On" size="sm" @click="loaderTopOn('https://api.publicapis.org/images')" />
55
55
  <UButton label="Off" size="sm" @click="loaderTopOff('https://api.publicapis.org/images')" />
@@ -65,7 +65,7 @@ const ColorsTemplate = (args, { argTypes } = {}) => ({
65
65
  />
66
66
  </URow>
67
67
 
68
- </UGroup>
68
+ </UCol>
69
69
  `,
70
70
  });
71
71
 
@@ -1,7 +1,7 @@
1
1
  import { getArgTypes, allSlotsFragment, getSlotNames } from "../service.storybook";
2
2
 
3
3
  import UProgress from "./index.vue";
4
- import UGroup from "../ui.container-group";
4
+ import UCol from "../ui.container-col";
5
5
  import UButton from "../ui.button";
6
6
  import UIcon from "../ui.image-icon";
7
7
 
@@ -18,7 +18,7 @@ export default {
18
18
  };
19
19
 
20
20
  const DefaultTemplate = (args) => ({
21
- components: { UGroup, UProgress, UButton, UIcon },
21
+ components: { UCol, UProgress, UButton, UIcon },
22
22
  setup() {
23
23
  const slots = getSlotNames(UProgress.name);
24
24
 
@@ -32,15 +32,15 @@ const DefaultTemplate = (args) => ({
32
32
  return { slots, args, updateProgress };
33
33
  },
34
34
  template: `
35
- <UGroup align="start">
35
+ <UCol align="start">
36
36
  <UProgress v-bind="args">${args.slotTemplate || allSlotsFragment}</UProgress>
37
37
  <UButton label="Next →" size="sm" variant="thirdary" filled @click="updateProgress" />
38
- </UGroup>
38
+ </UCol>
39
39
  `,
40
40
  });
41
41
 
42
42
  const EnumVariantTemplate = (args, { argTypes } = {}) => ({
43
- components: { UGroup, UButton, UProgress },
43
+ components: { UCol, UButton, UProgress },
44
44
  setup() {
45
45
  args.progress = 10;
46
46
 
@@ -51,8 +51,8 @@ const EnumVariantTemplate = (args, { argTypes } = {}) => ({
51
51
  return { args, updateProgress, options: argTypes[args.enum].options };
52
52
  },
53
53
  template: `
54
- <UGroup align="start">
55
- <UGroup>
54
+ <UCol align="start">
55
+ <UCol>
56
56
  <UProgress
57
57
  v-for="(option, index) in options"
58
58
  :key="index"
@@ -60,10 +60,10 @@ const EnumVariantTemplate = (args, { argTypes } = {}) => ({
60
60
  v-bind="args"
61
61
  :value="args.progress"
62
62
  />
63
- </UGroup>
63
+ </UCol>
64
64
 
65
65
  <UButton label="Next →" size="sm" variant="thirdary" filled @click="updateProgress" />
66
- </UGroup>
66
+ </UCol>
67
67
  `,
68
68
  });
69
69
 
@@ -1,6 +1,6 @@
1
1
  import UDot from "../ui.other-dot";
2
2
  import URow from "../ui.container-row";
3
- import UGroup from "../ui.container-group";
3
+ import UCol from "../ui.container-col";
4
4
  import UBadge from "../ui.text-badge";
5
5
 
6
6
  import { getArgTypes } from "../service.storybook";
@@ -28,7 +28,7 @@ const DefaultTemplate = (args) => ({
28
28
  });
29
29
 
30
30
  const ColorsTemplate = (args, { argTypes } = {}) => ({
31
- components: { UGroup, URow, UDot, UBadge },
31
+ components: { UCol, URow, UDot, UBadge },
32
32
  setup() {
33
33
  return {
34
34
  args,
@@ -36,17 +36,17 @@ const ColorsTemplate = (args, { argTypes } = {}) => ({
36
36
  };
37
37
  },
38
38
  template: `
39
- <UGroup>
39
+ <UCol>
40
40
  <URow v-for="(color, index) in colors" :key="index" gap="none" align="center">
41
41
  <UDot v-bind="args" :color="color"/>
42
42
  <UBadge :label="color" :color="color" variant="thirdary" />
43
43
  </URow>
44
- </UGroup>
44
+ </UCol>
45
45
  `,
46
46
  });
47
47
 
48
48
  const SizesTemplate = (args, { argTypes } = {}) => ({
49
- components: { UGroup, URow, UDot, UBadge },
49
+ components: { UCol, URow, UDot, UBadge },
50
50
  setup() {
51
51
  return {
52
52
  args,
@@ -54,12 +54,12 @@ const SizesTemplate = (args, { argTypes } = {}) => ({
54
54
  };
55
55
  },
56
56
  template: `
57
- <UGroup>
57
+ <UCol>
58
58
  <URow v-for="(size, index) in sizes" :key="index" gap="none" align="center">
59
59
  <UDot v-bind="args" :size="size"/>
60
60
  <UBadge :label="size" variant="thirdary" />
61
61
  </URow>
62
- </UGroup>
62
+ </UCol>
63
63
  `,
64
64
  });
65
65
 
@@ -2,7 +2,7 @@ import { getArgTypes, getSlotNames, getSlotsFragment } from "../service.storyboo
2
2
 
3
3
  import UAlert from "../ui.text-alert";
4
4
  import URow from "../ui.container-row";
5
- import UGroup from "../ui.container-group";
5
+ import UCol from "../ui.container-col";
6
6
  import UIcon from "../ui.image-icon";
7
7
 
8
8
  /**
@@ -36,7 +36,7 @@ const DefaultTemplate = (args) => ({
36
36
  });
37
37
 
38
38
  const EnumVariantTemplate = (args, { argTypes } = {}) => ({
39
- components: { UAlert, UGroup },
39
+ components: { UAlert, UCol },
40
40
  setup() {
41
41
  const options = argTypes[args.enum].options;
42
42
  let prefixedOptions = options;
@@ -52,7 +52,7 @@ const EnumVariantTemplate = (args, { argTypes } = {}) => ({
52
52
  return { args, options: argTypes[args.enum].options, prefixedOptions };
53
53
  },
54
54
  template: `
55
- <UGroup align="stretch">
55
+ <UCol align="stretch">
56
56
  <UAlert
57
57
  v-for="(option, index) in options"
58
58
  :key="index"
@@ -60,7 +60,7 @@ const EnumVariantTemplate = (args, { argTypes } = {}) => ({
60
60
  :[args.enum]="option"
61
61
  :title="prefixedOptions[index]"
62
62
  />
63
- </UGroup>
63
+ </UCol>
64
64
  `,
65
65
  });
66
66
 
@@ -3,7 +3,7 @@ import { getArgTypes, getSlotNames, getSlotsFragment } from "../service.storyboo
3
3
  import UBadge from "../ui.text-badge";
4
4
  import UIcon from "../ui.image-icon";
5
5
  import URow from "../ui.container-row";
6
- import UGroup from "../ui.container-group";
6
+ import UCol from "../ui.container-col";
7
7
 
8
8
  /**
9
9
  * The `UBadge` component. | [View on GitHub](https://github.com/vuelessjs/vueless/tree/main/src/ui.text-badge)
@@ -35,7 +35,7 @@ const DefaultTemplate = (args) => ({
35
35
  });
36
36
 
37
37
  const ColorsTemplate = (args, { argTypes } = {}) => ({
38
- components: { UBadge, URow, UGroup },
38
+ components: { UBadge, URow, UCol },
39
39
  setup() {
40
40
  return {
41
41
  args,
@@ -44,7 +44,7 @@ const ColorsTemplate = (args, { argTypes } = {}) => ({
44
44
  };
45
45
  },
46
46
  template: `
47
- <UGroup>
47
+ <UCol>
48
48
  <URow v-for="(variant, index) in variants" :key="index">
49
49
  <UBadge
50
50
  v-for="(color, index) in colors"
@@ -55,7 +55,7 @@ const ColorsTemplate = (args, { argTypes } = {}) => ({
55
55
  :key="index"
56
56
  />
57
57
  </URow>
58
- </UGroup>
58
+ </UCol>
59
59
  `,
60
60
  });
61
61
 
@@ -1,7 +1,7 @@
1
1
  import { getArgTypes, getSlotNames, getSlotsFragment } from "../service.storybook";
2
2
 
3
3
  import UHeader from "../ui.text-header";
4
- import UGroup from "../ui.container-group";
4
+ import UCol from "../ui.container-col";
5
5
 
6
6
  /**
7
7
  * The `UHeader` component. | [View on GitHub](https://github.com/vuelessjs/vueless/tree/main/src/ui.text-header)
@@ -33,7 +33,7 @@ const DefaultTemplate = (args) => ({
33
33
  });
34
34
 
35
35
  const EnumVariantTemplate = (args, { argTypes } = {}) => ({
36
- components: { UHeader, UGroup },
36
+ components: { UHeader, UCol },
37
37
  setup() {
38
38
  return {
39
39
  args,
@@ -41,7 +41,7 @@ const EnumVariantTemplate = (args, { argTypes } = {}) => ({
41
41
  };
42
42
  },
43
43
  template: `
44
- <UGroup>
44
+ <UCol>
45
45
  <UHeader
46
46
  v-for="(option, index) in options"
47
47
  :key="index"
@@ -49,7 +49,7 @@ const EnumVariantTemplate = (args, { argTypes } = {}) => ({
49
49
  :[args.enum]="option"
50
50
  :label="'Header ' + option"
51
51
  />
52
- </UGroup>
52
+ </UCol>
53
53
  `,
54
54
  });
55
55
 
@@ -2,7 +2,7 @@ import { notify } from "./services";
2
2
 
3
3
  import UNotify from "../ui.text-notify";
4
4
  import UButton from "../ui.button";
5
- import UGroup from "../ui.container-group";
5
+ import UCol from "../ui.container-col";
6
6
 
7
7
  import { getArgTypes, getSlotsFragment } from "../service.storybook";
8
8
 
@@ -47,7 +47,7 @@ const DefaultTemplate = (args) => ({
47
47
  });
48
48
 
49
49
  const TypesTemplate = (args) => ({
50
- components: { UNotify, UButton, UGroup },
50
+ components: { UNotify, UButton, UCol },
51
51
  setup() {
52
52
  function onClick(type) {
53
53
  if (type === "success") {
@@ -80,11 +80,11 @@ const TypesTemplate = (args) => ({
80
80
  template: `
81
81
  <UNotify class="m-4" />
82
82
 
83
- <UGroup>
83
+ <UCol>
84
84
  <UButton label="Success" color="green" @click="onClick('success')"/>
85
85
  <UButton label="Warning" color="orange" @click="onClick('warning')"/>
86
86
  <UButton label="Error" color="red" @click="onClick('error')"/>
87
- </UGroup>
87
+ </UCol>
88
88
  `,
89
89
  });
90
90