@everchron/ec-shards 0.7.16 → 0.7.19
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.
- package/dist/ec-shards.common.js +128 -110
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +128 -110
- package/dist/ec-shards.umd.js.map +1 -1
- package/dist/ec-shards.umd.min.js +2 -2
- package/dist/ec-shards.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/.DS_Store +0 -0
- package/src/components/layout-directory/layout-directory.vue +2 -5
- package/src/components/tab/tab.vue +11 -0
- package/src/components/tab-button/tab-button.vue +6 -2
- package/src/components/tabs/tabs.vue +16 -3
- package/src/stories/layout-directory/layout-directory.stories.mdx +5 -5
package/package.json
CHANGED
package/src/assets/.DS_Store
CHANGED
|
Binary file
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
border-radius: 100%;
|
|
76
76
|
transform: scale(0);
|
|
77
77
|
opacity: 0;
|
|
78
|
-
transition: .25s;
|
|
78
|
+
transition: .25s transform, .25s opacity;
|
|
79
79
|
pointer-events: none;
|
|
80
80
|
position: absolute;
|
|
81
81
|
}
|
|
@@ -244,10 +244,14 @@
|
|
|
244
244
|
flex: 1;
|
|
245
245
|
|
|
246
246
|
&:after{
|
|
247
|
-
position:
|
|
247
|
+
position: absolute;
|
|
248
248
|
margin: -6px 0 0 2px;
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
+
&-badge:after{
|
|
252
|
+
position: relative;
|
|
253
|
+
}
|
|
254
|
+
|
|
251
255
|
.icon{
|
|
252
256
|
width: 20px;
|
|
253
257
|
height: 20px;
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="ecs-tab-content">
|
|
2
|
+
<div class="ecs-tab-content" :class="flex ? 'ecs-tab-content-flex' : ''">
|
|
3
3
|
<slot></slot>
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
props: {
|
|
10
|
+
flex: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: false
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
</script>
|
|
17
|
+
|
|
7
18
|
<style lang="scss" scoped>
|
|
8
19
|
@import "../tokens/tokens";
|
|
9
20
|
@import "../mixins/svg-uri";
|
|
10
21
|
|
|
11
|
-
|
|
12
|
-
|
|
22
|
+
.ecs-tab-content-flex{
|
|
23
|
+
height: 100%;
|
|
24
|
+
}
|
|
25
|
+
</style>
|
|
@@ -25,23 +25,23 @@ The `overlay-sidebar` attribute sets the sidebar container to be fixed and overl
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
```js
|
|
28
|
-
<ecs-layout-
|
|
28
|
+
<ecs-layout-directory>
|
|
29
29
|
<template slot="toolbar">
|
|
30
30
|
<div>toolbar</div>
|
|
31
31
|
</template>
|
|
32
32
|
<template slot="action-toolbar">
|
|
33
33
|
<div>action-toolbar</div>
|
|
34
34
|
</template>
|
|
35
|
+
<template slot="directory">
|
|
36
|
+
<div>directory</div>
|
|
37
|
+
</template>
|
|
35
38
|
|
|
36
39
|
<div>content slot</div>
|
|
37
40
|
|
|
38
|
-
<template slot="pagination">
|
|
39
|
-
<div>pagination</div>
|
|
40
|
-
</template>
|
|
41
41
|
<template slot="sidebar">
|
|
42
42
|
<div>sidebar</div>
|
|
43
43
|
</template>
|
|
44
|
-
</ecs-layout-
|
|
44
|
+
</ecs-layout-directory>
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
|