@everchron/ec-shards 5.0.49 → 5.0.51
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/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/flags/.DS_Store +0 -0
- package/src/components/data-grid/data-grid-cell.vue +5 -0
- package/src/components/data-grid/data-grid-head-cell.vue +9 -1
- package/src/components/entry-link/entry-link.vue +2 -1
- 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-grid/data-grid.stories.js +2 -2
- 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/empty-state/.DS_Store +0 -0
- package/src/stories/excerpt-snippet/.DS_Store +0 -0
- 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.json
CHANGED
package/src/.DS_Store
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -34,6 +34,10 @@
|
|
|
34
34
|
type: Number,
|
|
35
35
|
default: 20
|
|
36
36
|
},
|
|
37
|
+
/** Sets the maximum width of the column. It's not possible to set a resize width that's larger than the maximum width. */
|
|
38
|
+
maxWidth: {
|
|
39
|
+
type: Number
|
|
40
|
+
},
|
|
37
41
|
/** Keeps the cell's column fixed at the left side. This requires the `fixedLeftOffset` prop to be set. */
|
|
38
42
|
fixedLeft: {
|
|
39
43
|
type: Boolean,
|
|
@@ -75,6 +79,7 @@
|
|
|
75
79
|
return {
|
|
76
80
|
width: this.cellWidth + 'px',
|
|
77
81
|
minWidth: this.minWidth + 'px',
|
|
82
|
+
maxWidth: this.maxWidth + 'px'
|
|
78
83
|
}
|
|
79
84
|
},
|
|
80
85
|
|
|
@@ -52,6 +52,10 @@
|
|
|
52
52
|
type: Number,
|
|
53
53
|
default: 20
|
|
54
54
|
},
|
|
55
|
+
/** Sets the maximum width of the column. It's not possible to set a resize width that's larger than the maximum width. */
|
|
56
|
+
maxWidth: {
|
|
57
|
+
type: Number
|
|
58
|
+
},
|
|
55
59
|
/** If set, an icon will be added to the header cell. The icon will replace any text. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
|
|
56
60
|
icon: {
|
|
57
61
|
type: String
|
|
@@ -149,7 +153,11 @@
|
|
|
149
153
|
},
|
|
150
154
|
|
|
151
155
|
widthStyles(){
|
|
152
|
-
return {
|
|
156
|
+
return {
|
|
157
|
+
width: this.width + 'px',
|
|
158
|
+
minWidth: this.minWidth + 'px',
|
|
159
|
+
maxWidth: this.maxWidth + 'px'
|
|
160
|
+
}
|
|
153
161
|
},
|
|
154
162
|
|
|
155
163
|
computedId(){
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -16,7 +16,7 @@ export const grid = () => ({
|
|
|
16
16
|
<template slot="head">
|
|
17
17
|
<ecs-data-grid-head-cell name="First-Column" :min-width="140" :width="200" fixed-left resizable/>
|
|
18
18
|
<ecs-data-grid-head-cell name="Second-Column" :min-width="140" :width="200" :fixed-left-offset="200" fixed-left/>
|
|
19
|
-
<ecs-data-grid-head-cell name="Third-Column" :min-width="140" :width="200" :fixed-left-offset="400" fixed-left resizable/>
|
|
19
|
+
<ecs-data-grid-head-cell name="Third-Column" :min-width="140" :width="200" :max-width="300" :fixed-left-offset="400" fixed-left resizable/>
|
|
20
20
|
<ecs-data-grid-head-cell name="Fourth-Column" :min-width="200" :width="200" :fixed-left-offset="600" fixed-left fixed-left-last />
|
|
21
21
|
<ecs-data-grid-head-cell name="Fifth-Column" :min-width="200" :width="300" resizable />
|
|
22
22
|
<ecs-data-grid-head-cell name="Sixth-Column" :min-width="140" :width="200" />
|
|
@@ -25,7 +25,7 @@ export const grid = () => ({
|
|
|
25
25
|
<ecs-data-grid-row v-for="index in 100" :key="index">
|
|
26
26
|
<ecs-data-grid-cell column="first-column" :min-width="140" :width="200" fixed-left>First Column</ecs-data-grid-cell>
|
|
27
27
|
<ecs-data-grid-cell column="second-column" :min-width="140" :width="200" :fixed-left-offset="200" fixed-left>Second Column</ecs-data-grid-cell>
|
|
28
|
-
<ecs-data-grid-cell column="third-column" :min-width="140" :width="200" :fixed-left-offset="400" fixed-left>Third Column</ecs-data-grid-cell>
|
|
28
|
+
<ecs-data-grid-cell column="third-column" :min-width="140" :width="200" :max-width="300" :fixed-left-offset="400" fixed-left>Third Column</ecs-data-grid-cell>
|
|
29
29
|
<ecs-data-grid-cell column="fourth-column" :min-width="200" :width="200" :fixed-left-offset="600" fixed-left fixed-left-last>Fourth Column</ecs-data-grid-cell>
|
|
30
30
|
<ecs-data-grid-cell column="fifth-column" :min-width="200" :width="300">Fifth Column</ecs-data-grid-cell>
|
|
31
31
|
<ecs-data-grid-cell column="sixth-column" :min-width="140" :width="200">Sixth Column</ecs-data-grid-cell>
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|