@everchron/ec-shards 7.0.1 → 7.0.2
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 +7485 -1994
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +7488 -1997
- 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/.DS_Store +0 -0
- package/src/assets/.DS_Store +0 -0
- package/src/assets/images/.DS_Store +0 -0
- package/src/assets/images/dialog-icons/.DS_Store +0 -0
- package/src/assets/images/flags/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/dropzone/dropzone.vue +1 -1
- package/src/components/excerpt-snippet/excerpt-snippet.vue +19 -55
- package/src/components/input/input.vue +0 -6
- package/src/stories/Changelog.stories.mdx +6 -0
- package/src/stories/collection-control/.DS_Store +0 -0
- package/src/stories/comment/.DS_Store +0 -0
- package/src/stories/data-card/.DS_Store +0 -0
- package/src/stories/data-list/.DS_Store +0 -0
- package/src/stories/dialog/.DS_Store +0 -0
- package/src/stories/dialog-header/.DS_Store +0 -0
- package/src/stories/directory-entry/.DS_Store +0 -0
- package/src/stories/document-state/.DS_Store +0 -0
- package/src/stories/dropzone/.DS_Store +0 -0
- package/src/stories/dropzone/dropzone.stories.js +8 -3
- package/src/stories/empty-state/.DS_Store +0 -0
- package/src/stories/excerpt-snippet/.DS_Store +0 -0
- package/src/stories/excerpt-snippet/excerpt-snippet.stories.js +2 -2
- package/src/stories/file-icon/.DS_Store +0 -0
- package/src/stories/file-list-item/.DS_Store +0 -0
- package/src/stories/flag/.DS_Store +0 -0
- package/src/stories/form-group/.DS_Store +0 -0
- package/src/stories/form-headline/.DS_Store +0 -0
- package/src/stories/form-set/.DS_Store +0 -0
- package/src/stories/formatted/.DS_Store +0 -0
- package/src/stories/icon/.DS_Store +0 -0
- package/src/stories/index-toolbar/.DS_Store +0 -0
- package/src/stories/info-tooltip/.DS_Store +0 -0
- package/src/stories/input/.DS_Store +0 -0
- package/src/stories/input-group/.DS_Store +0 -0
- package/src/stories/input-search/.DS_Store +0 -0
- package/src/stories/jumper-document/.DS_Store +0 -0
- package/src/stories/jumper-index/.DS_Store +0 -0
- package/src/stories/jumper-page/.DS_Store +0 -0
- package/src/stories/layout-data-table/.DS_Store +0 -0
- package/src/stories/layout-directory/.DS_Store +0 -0
- package/src/stories/layout-index/.DS_Store +0 -0
- package/src/stories/map/.DS_Store +0 -0
- package/src/stories/modal/.DS_Store +0 -0
- package/src/stories/multiselect-option/.DS_Store +0 -0
- package/src/stories/multiselect-search-token/.DS_Store +0 -0
- package/src/stories/multiselect-token/.DS_Store +0 -0
- package/src/stories/overlay/.DS_Store +0 -0
- package/src/stories/pagination/.DS_Store +0 -0
- package/src/stories/party-entry/.DS_Store +0 -0
- package/src/stories/popover-header/.DS_Store +0 -0
- package/src/stories/popover-list/.DS_Store +0 -0
- package/src/stories/popover-list-headline/.DS_Store +0 -0
- package/src/stories/popover-list-item/.DS_Store +0 -0
- package/src/stories/progress/.DS_Store +0 -0
- package/src/stories/quicklink/.DS_Store +0 -0
- package/src/stories/radiobutton/.DS_Store +0 -0
- package/src/stories/rating-favorability/.DS_Store +0 -0
- package/src/stories/rating-star-read/.DS_Store +0 -0
- package/src/stories/rating-star-write/.DS_Store +0 -0
- package/src/stories/scroll-container/.DS_Store +0 -0
- package/src/stories/section/.DS_Store +0 -0
- package/src/stories/segment/.DS_Store +0 -0
- package/src/stories/select/.DS_Store +0 -0
- package/src/stories/separator/.DS_Store +0 -0
- package/src/stories/sequence-map-button/.DS_Store +0 -0
- package/src/stories/sidebar/.DS_Store +0 -0
- package/src/stories/skeleton-loader/.DS_Store +0 -0
- package/src/stories/sortbutton/.DS_Store +0 -0
- package/src/stories/sticker/.DS_Store +0 -0
- package/src/stories/structured-content/.DS_Store +0 -0
- package/src/stories/switch/.DS_Store +0 -0
- package/src/stories/tabs/.DS_Store +0 -0
- package/src/stories/tag/.DS_Store +0 -0
- package/src/stories/toast/.DS_Store +0 -0
- package/src/stories/transcript-state/.DS_Store +0 -0
- package/src/stories/tree-list/.DS_Store +0 -0
- package/src/stories/video/.DS_Store +0 -0
- package/package-lock.json +0 -21148
package/package.json
CHANGED
package/src/.DS_Store
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
|
|
56
56
|
props: {
|
|
57
|
-
/** Determines the icon that should be shown inside the drop zone. */
|
|
57
|
+
/** Determines the icon that should be shown inside the drop zone. Possible states: `default`, `upload`, `viruscheck`. */
|
|
58
58
|
state: {
|
|
59
59
|
type: String,
|
|
60
60
|
validator: v => ['default', 'upload', 'viruscheck'].includes(v),
|
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
<slot></slot>
|
|
24
24
|
</div>
|
|
25
25
|
|
|
26
|
-
<div v-else-if="type == 'rectangle'"
|
|
27
|
-
<span :style="'color:' +
|
|
26
|
+
<div v-else-if="type == 'rectangle'" class="ecs-excerpt-content-rectangle">
|
|
27
|
+
<span :style="'color:' + annotationColor">Rectangle Annotation</span>
|
|
28
|
+
<div :style="'background-color:' + annotationColor"></div>
|
|
28
29
|
</div>
|
|
29
30
|
|
|
30
31
|
<div v-else class="ecs-excerpt-content-regular">
|
|
@@ -74,9 +75,9 @@
|
|
|
74
75
|
maxHeight: {
|
|
75
76
|
type: String
|
|
76
77
|
},
|
|
77
|
-
/**
|
|
78
|
+
/** Pass a HEX color value for the designation/annotation. */
|
|
78
79
|
annotationColor: {
|
|
79
|
-
type:
|
|
80
|
+
type: String,
|
|
80
81
|
default: null
|
|
81
82
|
},
|
|
82
83
|
/** Turns the excerpt snippet into a skeleton loader. */
|
|
@@ -101,56 +102,6 @@
|
|
|
101
102
|
maxHeightStyles() {
|
|
102
103
|
if (this.maxHeight)
|
|
103
104
|
return `max-height: ${this.maxHeight}; overflow: auto;`
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
annotationBackgroundColor() {
|
|
107
|
-
switch (this.annotationColor){
|
|
108
|
-
case 1:
|
|
109
|
-
return 'rgba(249, 223, 0, 0.2)'
|
|
110
|
-
case 2:
|
|
111
|
-
return 'rgba(243, 161, 0, 0.2)'
|
|
112
|
-
case 3:
|
|
113
|
-
return 'rgba(183, 234, 128, 0.2)'
|
|
114
|
-
case 4:
|
|
115
|
-
return 'rgba(72, 228, 194, 0.2)'
|
|
116
|
-
case 5:
|
|
117
|
-
return 'rgba(72, 157, 255, 0.2)'
|
|
118
|
-
case 6:
|
|
119
|
-
return 'rgba(184, 119, 240, 0.2)'
|
|
120
|
-
case 7:
|
|
121
|
-
return 'rgba(253, 120, 253, 0.2)'
|
|
122
|
-
case 8:
|
|
123
|
-
return 'rgba(197, 148, 101, 0.2)'
|
|
124
|
-
case 9:
|
|
125
|
-
return 'rgba(133, 142, 159, 0.2)'
|
|
126
|
-
default:
|
|
127
|
-
return 'rgba(249, 223, 0, 0.2)'
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
|
|
131
|
-
annotationTextColor() {
|
|
132
|
-
switch (this.annotationColor){
|
|
133
|
-
case 1:
|
|
134
|
-
return '#B57100'
|
|
135
|
-
case 2:
|
|
136
|
-
return '#A95A00'
|
|
137
|
-
case 3:
|
|
138
|
-
return '#429700'
|
|
139
|
-
case 4:
|
|
140
|
-
return '#06956E'
|
|
141
|
-
case 5:
|
|
142
|
-
return '#0E4BBE'
|
|
143
|
-
case 6:
|
|
144
|
-
return '#6B1ABA'
|
|
145
|
-
case 7:
|
|
146
|
-
return '#BE15BF'
|
|
147
|
-
case 8:
|
|
148
|
-
return '#7B3F1B'
|
|
149
|
-
case 9:
|
|
150
|
-
return '#364258'
|
|
151
|
-
default:
|
|
152
|
-
return '#B57100'
|
|
153
|
-
}
|
|
154
105
|
}
|
|
155
106
|
}
|
|
156
107
|
}
|
|
@@ -240,9 +191,22 @@
|
|
|
240
191
|
|
|
241
192
|
&-rectangle{
|
|
242
193
|
text-align: center;
|
|
194
|
+
position: relative;
|
|
243
195
|
font-size: $type-scale-3-font-size;
|
|
244
196
|
padding: .5em;
|
|
245
|
-
|
|
197
|
+
|
|
198
|
+
> div{
|
|
199
|
+
position: absolute;
|
|
200
|
+
inset: 0;
|
|
201
|
+
border-radius: $border-radius-x-small;
|
|
202
|
+
opacity: .2;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
> span{
|
|
206
|
+
filter: brightness(0.5);
|
|
207
|
+
position: relative;
|
|
208
|
+
z-index: 1;
|
|
209
|
+
}
|
|
246
210
|
}
|
|
247
211
|
}
|
|
248
212
|
</style>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -47,7 +47,8 @@ export const dropzoneInitializing = () => ({
|
|
|
47
47
|
components: { EcsDropzone },
|
|
48
48
|
template: `
|
|
49
49
|
<div style="width:100%; height: 600px">
|
|
50
|
-
<ecs-dropzone initializing
|
|
50
|
+
<ecs-dropzone initializing>
|
|
51
|
+
</ecs-dropzone>
|
|
51
52
|
</div>
|
|
52
53
|
`,
|
|
53
54
|
});
|
|
@@ -56,7 +57,9 @@ export const dropzoneProcessing = () => ({
|
|
|
56
57
|
components: { EcsDropzone },
|
|
57
58
|
template: `
|
|
58
59
|
<div style="width:100%; height: 600px">
|
|
59
|
-
<ecs-dropzone loading
|
|
60
|
+
<ecs-dropzone loading>
|
|
61
|
+
<template slot="hint">This is an additional <a href="#">hint text</a>.</template>
|
|
62
|
+
</ecs-dropzone>
|
|
60
63
|
</div>
|
|
61
64
|
`,
|
|
62
65
|
});
|
|
@@ -65,7 +68,9 @@ export const dropzoneUploading = () => ({
|
|
|
65
68
|
components: { EcsDropzone },
|
|
66
69
|
template: `
|
|
67
70
|
<div style="width:100%; height: 600px">
|
|
68
|
-
<ecs-dropzone state="upload" :progress="56"
|
|
71
|
+
<ecs-dropzone state="upload" :progress="56">
|
|
72
|
+
<template slot="hint">This is an additional <a href="#">hint text</a>.</template>
|
|
73
|
+
</ecs-dropzone>
|
|
69
74
|
</div>
|
|
70
75
|
`,
|
|
71
76
|
});
|
|
Binary file
|
|
Binary file
|
|
@@ -30,8 +30,8 @@ export const formattedText = () => ({
|
|
|
30
30
|
export const rectangleAnnotation = () => ({
|
|
31
31
|
components: { EcsExcerptSnippet },
|
|
32
32
|
template: `<main>
|
|
33
|
-
<ecs-excerpt-snippet headline="Document Headline" type="rectangle" icon="document"
|
|
34
|
-
<ecs-excerpt-snippet size="sml" headline="Document Headline" type="rectangle" icon="document"
|
|
33
|
+
<ecs-excerpt-snippet headline="Document Headline" type="rectangle" icon="document" annotation-color="#F9DF00" style="margin-bottom:16px" />
|
|
34
|
+
<ecs-excerpt-snippet size="sml" headline="Document Headline" type="rectangle" icon="document" annotation-color="#F9DF00" />
|
|
35
35
|
</main>`,
|
|
36
36
|
});
|
|
37
37
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|