@everchron/ec-shards 0.6.51 → 0.6.55
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 +95 -83
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +95 -83
- 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/dist/img/transcript-highlights.489d72c7.svg +1 -0
- package/dist/img/transcript-mini-highlights.7173b638.svg +1 -0
- package/package.json +1 -1
- package/src/assets/images/file-icons/transcript-highlights.svg +1 -0
- package/src/assets/images/file-icons/transcript-mini-highlights.svg +1 -0
- package/src/components/button/button.vue +3 -2
- package/src/components/button-table/button-table.vue +12 -4
- package/src/components/file-icon/file-icon.vue +10 -0
- package/src/stories/button-table/button-table.stories.js +1 -1
- package/src/stories/radiobutton/radiobutton.stories.mdx +6 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><g fill="none" fill-rule="evenodd" transform="translate(4 2)"><rect width="22" height="26" y="1" fill="#9599AF" fill-opacity=".12" rx="2"/><rect width="22" height="26" fill="#9599AF" fill-opacity=".25" rx="2"/><rect width="20" height="24" x="1" y="1" fill="#FFF" rx="1"/><rect width="8" height="1" x="11" y="4" fill="#7A7F9A" rx=".5"/><rect width="6" height="1" x="11" y="7" fill="#9599AF" fill-opacity=".6" rx=".5"/><rect width="12" height="1" x="7" y="12" fill="#76E2AD" rx=".5"/><rect width="2" height="1" x="3" y="12" fill="#ACEDCD" rx=".5"/><rect width="2" height="1" x="3" y="15" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="2" height="1" x="3" y="18" fill="#A7CFFF" rx=".5"/><rect width="2" height="1" x="3" y="21" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="9" height="1" x="7" y="15" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="11" height="1" x="7" y="18" fill="#6BAFFF" rx=".5"/><rect width="7" height="1" x="7" y="21" fill="#9599AF" fill-opacity=".5" rx=".5"/><polygon fill="#9599AF" fill-rule="nonzero" points="6.41 9 6.41 4.516 8.039 4.516 8.039 3.363 3.355 3.363 3.355 4.516 4.98 4.516 4.98 9"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><g fill="none" fill-rule="evenodd" transform="translate(4 2)"><rect width="22" height="26" y="1" fill="#9599AF" fill-opacity=".12" rx="2"/><rect width="22" height="26" fill="#9599AF" fill-opacity=".25" rx="2"/><rect width="20" height="24" x="1" y="1" fill="#FFF" rx="1"/><rect width="20" height="1" x="1" y="13" fill="#DFE0E7"/><rect width="1" height="24" x="10.5" y="1" fill="#DFE0E7"/><rect width="4" height="1" x="5" y="16" fill="#6BAFFF" rx=".5"/><rect width="2" height="1" x="2" y="16" fill="#A7CFFF" rx=".5"/><rect width="2" height="1" x="2" y="18" fill="#A7CFFF" rx=".5"/><rect width="2" height="1" x="2" y="20" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="3" height="1" x="5" y="18" fill="#6BAFFF" rx=".5"/><rect width="3" height="1" x="5" y="20" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="2" height="1" x="2" y="22" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="3" height="1" x="5" y="22" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="4" height="1" x="16" y="16" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="2" height="1" x="13" y="16" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="2" height="1" x="13" y="18" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="2" height="1" x="13" y="20" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="3" height="1" x="16" y="18" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="3" height="1" x="16" y="20" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="2" height="1" x="13" y="22" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="3" height="1" x="16" y="22" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="4" height="1" x="16" y="3" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="2" height="1" x="13" y="3" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="2" height="1" x="13" y="5" fill="#ACEDCD" rx=".5"/><rect width="2" height="1" x="13" y="7" fill="#ACEDCD" rx=".5"/><rect width="3" height="1" x="16" y="5" fill="#76E2AD" rx=".5"/><rect width="3" height="1" x="16" y="7" fill="#76E2AD" rx=".5"/><rect width="2" height="1" x="13" y="9" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="3" height="1" x="16" y="9" fill="#9599AF" fill-opacity=".5" rx=".5"/><polygon fill="#9599AF" fill-rule="nonzero" points="6.41 9 6.41 4.516 8.039 4.516 8.039 3.363 3.355 3.363 3.355 4.516 4.98 4.516 4.98 9"/></g></svg>
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><g fill="none" fill-rule="evenodd" transform="translate(4 2)"><rect width="22" height="26" y="1" fill="#9599AF" fill-opacity=".12" rx="2"/><rect width="22" height="26" fill="#9599AF" fill-opacity=".25" rx="2"/><rect width="20" height="24" x="1" y="1" fill="#FFF" rx="1"/><rect width="8" height="1" x="11" y="4" fill="#7A7F9A" rx=".5"/><rect width="6" height="1" x="11" y="7" fill="#9599AF" fill-opacity=".6" rx=".5"/><rect width="12" height="1" x="7" y="12" fill="#76E2AD" rx=".5"/><rect width="2" height="1" x="3" y="12" fill="#ACEDCD" rx=".5"/><rect width="2" height="1" x="3" y="15" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="2" height="1" x="3" y="18" fill="#A7CFFF" rx=".5"/><rect width="2" height="1" x="3" y="21" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="9" height="1" x="7" y="15" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="11" height="1" x="7" y="18" fill="#6BAFFF" rx=".5"/><rect width="7" height="1" x="7" y="21" fill="#9599AF" fill-opacity=".5" rx=".5"/><polygon fill="#9599AF" fill-rule="nonzero" points="6.41 9 6.41 4.516 8.039 4.516 8.039 3.363 3.355 3.363 3.355 4.516 4.98 4.516 4.98 9"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><g fill="none" fill-rule="evenodd" transform="translate(4 2)"><rect width="22" height="26" y="1" fill="#9599AF" fill-opacity=".12" rx="2"/><rect width="22" height="26" fill="#9599AF" fill-opacity=".25" rx="2"/><rect width="20" height="24" x="1" y="1" fill="#FFF" rx="1"/><rect width="20" height="1" x="1" y="13" fill="#DFE0E7"/><rect width="1" height="24" x="10.5" y="1" fill="#DFE0E7"/><rect width="4" height="1" x="5" y="16" fill="#6BAFFF" rx=".5"/><rect width="2" height="1" x="2" y="16" fill="#A7CFFF" rx=".5"/><rect width="2" height="1" x="2" y="18" fill="#A7CFFF" rx=".5"/><rect width="2" height="1" x="2" y="20" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="3" height="1" x="5" y="18" fill="#6BAFFF" rx=".5"/><rect width="3" height="1" x="5" y="20" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="2" height="1" x="2" y="22" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="3" height="1" x="5" y="22" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="4" height="1" x="16" y="16" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="2" height="1" x="13" y="16" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="2" height="1" x="13" y="18" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="2" height="1" x="13" y="20" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="3" height="1" x="16" y="18" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="3" height="1" x="16" y="20" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="2" height="1" x="13" y="22" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="3" height="1" x="16" y="22" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="4" height="1" x="16" y="3" fill="#9599AF" fill-opacity=".5" rx=".5"/><rect width="2" height="1" x="13" y="3" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="2" height="1" x="13" y="5" fill="#ACEDCD" rx=".5"/><rect width="2" height="1" x="13" y="7" fill="#ACEDCD" rx=".5"/><rect width="3" height="1" x="16" y="5" fill="#76E2AD" rx=".5"/><rect width="3" height="1" x="16" y="7" fill="#76E2AD" rx=".5"/><rect width="2" height="1" x="13" y="9" fill="#9599AF" fill-opacity=".3" rx=".5"/><rect width="3" height="1" x="16" y="9" fill="#9599AF" fill-opacity=".5" rx=".5"/><polygon fill="#9599AF" fill-rule="nonzero" points="6.41 9 6.41 4.516 8.039 4.516 8.039 3.363 3.355 3.363 3.355 4.516 4.98 4.516 4.98 9"/></g></svg>
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<button
|
|
3
3
|
class="ecs-button-table"
|
|
4
|
-
:class="[
|
|
4
|
+
:class="[
|
|
5
|
+
active ? 'active' : '', hasLabel,
|
|
6
|
+
subtle ? 'subtle' : ''
|
|
7
|
+
]"
|
|
8
|
+
:disabled="disabled"
|
|
5
9
|
@click="$emit('click', $event)"
|
|
6
10
|
@mouseover="$emit('mouseover', $event)"
|
|
7
11
|
@mouseleave="$emit('mouseleave', $event)">
|
|
8
12
|
|
|
9
13
|
<ecs-icon v-if="icon" :type="icon" width="20" height="20" />
|
|
10
|
-
<div v-if="label">{{ label }}</div>
|
|
14
|
+
<div v-if="label != null">{{ label }}</div>
|
|
11
15
|
</button>
|
|
12
16
|
</template>
|
|
13
17
|
|
|
@@ -29,7 +33,11 @@
|
|
|
29
33
|
type: String
|
|
30
34
|
},
|
|
31
35
|
label: {
|
|
32
|
-
type: String
|
|
36
|
+
type: [String, Number]
|
|
37
|
+
},
|
|
38
|
+
disabled: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: false
|
|
33
41
|
}
|
|
34
42
|
},
|
|
35
43
|
|
|
@@ -52,7 +60,7 @@
|
|
|
52
60
|
align-items: center;
|
|
53
61
|
border-radius: 3px;
|
|
54
62
|
background: rgba($gray-7, .1);
|
|
55
|
-
color: $gray-
|
|
63
|
+
color: $gray-14;
|
|
56
64
|
transition: .2s;
|
|
57
65
|
font-size: 14px;
|
|
58
66
|
padding: 1px;
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
'rtf',
|
|
21
21
|
'transcript-mini',
|
|
22
22
|
'transcript',
|
|
23
|
+
'transcript-mini-highlights',
|
|
24
|
+
'transcript-highlights',
|
|
23
25
|
'video',
|
|
24
26
|
'xls',
|
|
25
27
|
'zip'
|
|
@@ -99,6 +101,14 @@
|
|
|
99
101
|
background-image: url('../../assets/images/file-icons/transcript.svg');
|
|
100
102
|
}
|
|
101
103
|
|
|
104
|
+
&-transcript-mini-highlights{
|
|
105
|
+
background-image: url('../../assets/images/file-icons/transcript-mini-highlights.svg');
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&-transcript-highlights{
|
|
109
|
+
background-image: url('../../assets/images/file-icons/transcript-highlights.svg');
|
|
110
|
+
}
|
|
111
|
+
|
|
102
112
|
&-video{
|
|
103
113
|
background-image: url('../../assets/images/file-icons/video.svg');
|
|
104
114
|
}
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
|
|
8
8
|
export const text = () => ({
|
|
9
9
|
components: { EcsButtonTable },
|
|
10
|
-
template: `<ecs-button-table icon="parties" label="
|
|
10
|
+
template: `<ecs-button-table icon="parties" :label="0"></ecs-button-table>`,
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
export const iconOnly = () => ({
|
|
@@ -17,7 +17,9 @@ Radiobuttons are used for selecting a single value from several options.
|
|
|
17
17
|
</Canvas>
|
|
18
18
|
|
|
19
19
|
```js
|
|
20
|
-
|
|
20
|
+
<ecs-radiobutton name="fruits" v-model="selected" value="orange">Label</ecs-radiobutton>
|
|
21
|
+
<ecs-radiobutton name="fruits" v-model="selected" value="apple" checked>Checked</ecs-radiobutton>
|
|
22
|
+
<ecs-radiobutton name="fruits" v-model="selected" value="grape" disabled>Disabled</ecs-radiobutton>
|
|
21
23
|
```
|
|
22
24
|
|
|
23
25
|
## Inline
|
|
@@ -31,10 +33,10 @@ If more than one radiobutton should be placed within one row, use the `inline` a
|
|
|
31
33
|
</Canvas>
|
|
32
34
|
|
|
33
35
|
```js
|
|
34
|
-
<ecs-
|
|
35
|
-
<ecs-
|
|
36
|
+
<ecs-radiobutton inline name="fruity" v-model="selected" value="apples">Apples</ecs-radiobutton>
|
|
37
|
+
<ecs-radiobutton inline name="fruity" v-model="selected" value="oranges">Oranges</ecs-radiobutton>
|
|
36
38
|
```
|
|
37
39
|
|
|
38
40
|
## Props, Slots and Events
|
|
39
41
|
|
|
40
|
-
<ArgsTable of={EcsRadiobutton} />
|
|
42
|
+
<ArgsTable of={EcsRadiobutton} />
|