@tiddh/brave-vue 1.93.95 → 1.93.97

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.
@@ -1,108 +1,26 @@
1
1
  import { action } from '@storybook/addon-actions';
2
- import { linkTo } from '@storybook/addon-links';
3
- import { withKnobs, text, boolean, select } from '@storybook/addon-knobs';
2
+ import { withKnobs, text } from '@storybook/addon-knobs';
4
3
 
5
- import Button from './Button';
6
- import Icon from '../Icons/Icon';
4
+ import Loading from './Loading';
7
5
 
8
6
  export default {
9
- title: 'Buttons/Loading',
7
+ title: 'Loading',
10
8
  decorators: [withKnobs],
11
- component: [Button, Icon]
9
+ component: [Loading]
12
10
  };
13
11
 
14
12
 
15
- export const Loading = () => ({
16
- components: { Button, Icon },
13
+ export const Primary = () => ({
14
+ components: { Loading },
17
15
  props: {
18
- disabled: {
19
- default: boolean('Disabled', true)
20
- },
21
- inverted: {
22
- default: boolean('Inverted', false)
23
- },
24
- shadowColor: {
25
- default: text('Shadow color', '175, 162, 186')
26
- },
27
- loadingType: {
28
- default: text('Loading Type', 'spinner')
29
- },
30
- isLoading:{
31
- default: boolean('isLoading', true)
32
- }
33
-
16
+ // title: {
17
+ // default: text('Title', 'mochila-biscoito')
18
+ // },
34
19
  },
35
20
  template: `<div>
36
21
  <div class="storybook-6">
37
- <Button kind="primary" size="xl" width="fluid" :disabled="disabled" :loadingType="loadingType" :isLoading="isLoading" :inverted="inverted" :shadow-color="shadowColor" @click="action">
38
- Fluid - Cols 6
39
- </Button>
40
- </div>
41
- <br>
42
- <div class="storybook-12">
43
- <Button kind="primary" size="xl" width="fluid" icon="right" :disabled="disabled" :loadingType="loadingType" :isLoading="isLoading" :inverted="inverted" :shadow-color="shadowColor" @click="action">
44
- <span>Fluid - Cols 12</span>
45
- <Icon name="collapse" fill="#fff" stroke="transparent" />
46
- </Button>
47
- </div>
48
-
49
- <br>
50
-
51
- <div class="storybook-12">
52
- <Button kind="ghost" size="md" width="fluid" icon="right" :disabled="disabled" :loadingType="loadingType" :isLoading="isLoading" :inverted="inverted" :shadow-color="shadowColor" @click="action">
53
- <span>Fluid - Cols 12</span>
54
- <Icon name="collapse" fill="#fff" stroke="transparent" />
55
- </Button>
56
- </div>
57
- <br>
58
- <div class="storybook-12">
59
- <Button kind="ghost" size="sm" width="fluid" icon="right" :disabled="disabled" :loadingType="loadingType" :isLoading="isLoading" :inverted="inverted" :shadow-color="shadowColor" @click="action">
60
- <span>Fluid - Cols 12</span>
61
- <Icon name="collapse" fill="#fff" stroke="transparent" />
62
- </Button>
63
- </div>
64
-
65
- <br>
66
-
67
- <div class="storybook-12">
68
- <Button kind="ghost" size="xl" width="fluid" icon="right" :disabled="disabled" :loadingType="loadingType" :isLoading="isLoading" :inverted="inverted" :shadow-color="shadowColor" @click="action">
69
- <span>Fluid - Cols 12</span>
70
- <Icon name="collapse" fill="#fff" stroke="transparent" />
71
- </Button>
22
+ <Loading />
72
23
  </div>
73
- <br>
74
- <div class="storybook-12">
75
- <Button kind="ghost" size="xl" width="fluid" icon="right" :disabled="disabled" :loadingType="loadingType" :isLoading="isLoading" :inverted="inverted" :shadow-color="shadowColor" @click="action">
76
- <span>Fluid - Cols 12</span>
77
- <Icon name="collapse" fill="#fff" stroke="transparent" />
78
- </Button>
79
- </div>
80
-
81
-
82
- <br>
83
-
84
- <div class="storybook-12">
85
- <Button kind="secondary" size="xl" width="fluid" icon="right" :disabled="disabled" :loadingType="loadingType" :isLoading="isLoading" :inverted="inverted" :shadow-color="shadowColor" @click="action">
86
- <span>Fluid - Cols 12</span>
87
- <Icon name="collapse" fill="#fff" stroke="transparent" />
88
- </Button>
89
- </div>
90
- <br>
91
- <div class="storybook-12">
92
- <Button kind="secondary" size="xl" width="fluid" icon="right" :disabled="disabled" :loadingType="loadingType" :isLoading="isLoading" :inverted="inverted" :shadow-color="shadowColor" @click="action">
93
- <span>Fluid - Cols 12</span>
94
- <Icon name="collapse" fill="#fff" stroke="transparent" />
95
- </Button>
96
- </div>
97
-
98
-
99
24
  </div>`,
100
25
  methods: { action: action('clicked') },
101
- });
102
-
103
- const sizeList = {
104
- XLarge: 'xl',
105
- Large: 'lg',
106
- Medium: 'md',
107
- Small: 'sm'
108
- }
26
+ });
@@ -573,6 +573,10 @@
573
573
  .sidebar {
574
574
  right: auto !important;
575
575
  left: -(columns("lg", 12));
576
+
577
+ @include media-breakpoint-down("sm") {
578
+ left: 0px !important;
579
+ }
576
580
  }
577
581
  }
578
582
 
@@ -573,6 +573,10 @@
573
573
  .sidebar {
574
574
  right: auto !important;
575
575
  left: -(columns("lg", 12));
576
+
577
+ @include media-breakpoint-down("sm") {
578
+ left: 0px !important;
579
+ }
576
580
  }
577
581
  }
578
582
 
@@ -573,6 +573,10 @@
573
573
  .sidebar {
574
574
  right: auto !important;
575
575
  left: -(columns("lg", 12));
576
+
577
+ @include media-breakpoint-down("sm") {
578
+ left: 0px !important;
579
+ }
576
580
  }
577
581
  }
578
582
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiddh/brave-vue",
3
- "version": "1.93.95",
3
+ "version": "1.93.97",
4
4
  "private": false,
5
5
  "main": "dist/brave-vue.ssr.js",
6
6
  "browser": "dist/brave-vue.esm.js",