@everchron/ec-shards 3.1.3 → 3.1.5

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.
Files changed (114) hide show
  1. package/dist/ec-shards.common.js +958 -745
  2. package/dist/ec-shards.common.js.map +1 -1
  3. package/dist/ec-shards.css +1 -1
  4. package/dist/ec-shards.umd.js +958 -745
  5. package/dist/ec-shards.umd.js.map +1 -1
  6. package/dist/ec-shards.umd.min.js +2 -2
  7. package/dist/ec-shards.umd.min.js.map +1 -1
  8. package/package.json +1 -1
  9. package/src/.DS_Store +0 -0
  10. package/src/assets/.DS_Store +0 -0
  11. package/src/assets/images/.DS_Store +0 -0
  12. package/src/assets/images/flags/.DS_Store +0 -0
  13. package/src/components/alert/alert.vue +2 -2
  14. package/src/components/breadcrumb-button/breadcrumb-button.vue +2 -2
  15. package/src/components/button/button.vue +2 -2
  16. package/src/components/button-context/button-context.vue +1 -1
  17. package/src/components/button-more/button-more.vue +1 -1
  18. package/src/components/button-table/button-table.vue +1 -1
  19. package/src/components/button-toolbar/button-toolbar.vue +4 -4
  20. package/src/components/button-toolbar-icon/button-toolbar-icon.vue +1 -1
  21. package/src/components/collection-control/collection-control.vue +1 -1
  22. package/src/components/data-card/data-card.vue +1 -1
  23. package/src/components/dialog/dialog.vue +24 -16
  24. package/src/components/document-state/document-state.vue +1 -1
  25. package/src/components/empty-state/empty-state.vue +1 -1
  26. package/src/components/excerpt-snippet/excerpt-snippet.vue +1 -1
  27. package/src/components/formatted/formatted.vue +4 -15
  28. package/src/components/info-tooltip/info-tooltip.vue +1 -1
  29. package/src/components/input/input.vue +7 -11
  30. package/src/components/input-addon/input-addon.vue +1 -1
  31. package/src/components/input-clear/input-clear.vue +1 -1
  32. package/src/components/input-search/input-search.vue +1 -1
  33. package/src/components/multiselect-option/multiselect-option.vue +1 -1
  34. package/src/components/multiselect-search-token/multiselect-search-token.vue +2 -2
  35. package/src/components/multiselect-token/multiselect-token.vue +1 -1
  36. package/src/components/overlay/overlay.vue +1 -1
  37. package/src/components/pagination/pagination.vue +40 -0
  38. package/src/components/party-entry/party-entry.vue +2 -2
  39. package/src/components/popover-header/popover-header.vue +1 -1
  40. package/src/components/segment/segment.vue +1 -1
  41. package/src/components/sequence-map-button/sequence-map-button.vue +1 -1
  42. package/src/components/tab-button/tab-button.vue +16 -5
  43. package/src/components/transcript-state/transcript-state.vue +1 -1
  44. package/src/components/tree-list-item/tree-list-item.vue +1 -1
  45. package/src/stories/Changelog.stories.mdx +20 -0
  46. package/src/stories/collection-control/.DS_Store +0 -0
  47. package/src/stories/comment/.DS_Store +0 -0
  48. package/src/stories/data-card/.DS_Store +0 -0
  49. package/src/stories/data-list/.DS_Store +0 -0
  50. package/src/stories/dialog/.DS_Store +0 -0
  51. package/src/stories/dialog-header/.DS_Store +0 -0
  52. package/src/stories/directory-entry/.DS_Store +0 -0
  53. package/src/stories/document-state/.DS_Store +0 -0
  54. package/src/stories/dropzone/.DS_Store +0 -0
  55. package/src/stories/empty-state/.DS_Store +0 -0
  56. package/src/stories/excerpt-snippet/.DS_Store +0 -0
  57. package/src/stories/file-icon/.DS_Store +0 -0
  58. package/src/stories/file-list-item/.DS_Store +0 -0
  59. package/src/stories/flag/.DS_Store +0 -0
  60. package/src/stories/form-group/.DS_Store +0 -0
  61. package/src/stories/form-headline/.DS_Store +0 -0
  62. package/src/stories/form-set/.DS_Store +0 -0
  63. package/src/stories/formatted/.DS_Store +0 -0
  64. package/src/stories/icon/.DS_Store +0 -0
  65. package/src/stories/index-toolbar/.DS_Store +0 -0
  66. package/src/stories/info-tooltip/.DS_Store +0 -0
  67. package/src/stories/input/.DS_Store +0 -0
  68. package/src/stories/input/input.stories.js +5 -4
  69. package/src/stories/input-group/.DS_Store +0 -0
  70. package/src/stories/input-search/.DS_Store +0 -0
  71. package/src/stories/jumper-document/.DS_Store +0 -0
  72. package/src/stories/jumper-index/.DS_Store +0 -0
  73. package/src/stories/jumper-page/.DS_Store +0 -0
  74. package/src/stories/layout-data-table/.DS_Store +0 -0
  75. package/src/stories/layout-directory/.DS_Store +0 -0
  76. package/src/stories/layout-index/.DS_Store +0 -0
  77. package/src/stories/map/.DS_Store +0 -0
  78. package/src/stories/modal/.DS_Store +0 -0
  79. package/src/stories/multiselect-option/.DS_Store +0 -0
  80. package/src/stories/multiselect-search-token/.DS_Store +0 -0
  81. package/src/stories/multiselect-token/.DS_Store +0 -0
  82. package/src/stories/overlay/.DS_Store +0 -0
  83. package/src/stories/pagination/.DS_Store +0 -0
  84. package/src/stories/pagination/pagination.stories.js +16 -1
  85. package/src/stories/party-entry/.DS_Store +0 -0
  86. package/src/stories/popover-header/.DS_Store +0 -0
  87. package/src/stories/popover-list/.DS_Store +0 -0
  88. package/src/stories/popover-list-headline/.DS_Store +0 -0
  89. package/src/stories/popover-list-item/.DS_Store +0 -0
  90. package/src/stories/progress/.DS_Store +0 -0
  91. package/src/stories/quicklink/.DS_Store +0 -0
  92. package/src/stories/radiobutton/.DS_Store +0 -0
  93. package/src/stories/rating-favorability/.DS_Store +0 -0
  94. package/src/stories/rating-star-read/.DS_Store +0 -0
  95. package/src/stories/rating-star-write/.DS_Store +0 -0
  96. package/src/stories/scroll-container/.DS_Store +0 -0
  97. package/src/stories/section/.DS_Store +0 -0
  98. package/src/stories/segment/.DS_Store +0 -0
  99. package/src/stories/select/.DS_Store +0 -0
  100. package/src/stories/sequence-map-button/.DS_Store +0 -0
  101. package/src/stories/sidebar/.DS_Store +0 -0
  102. package/src/stories/skeleton-loader/.DS_Store +0 -0
  103. package/src/stories/sortbutton/.DS_Store +0 -0
  104. package/src/stories/sticker/.DS_Store +0 -0
  105. package/src/stories/structured-content/.DS_Store +0 -0
  106. package/src/stories/switch/.DS_Store +0 -0
  107. package/src/stories/tabs/.DS_Store +0 -0
  108. package/src/stories/tag/.DS_Store +0 -0
  109. package/src/stories/toast/.DS_Store +0 -0
  110. package/src/stories/transcript-state/.DS_Store +0 -0
  111. package/src/stories/tree-list/.DS_Store +0 -0
  112. package/src/stories/tree-list-item/.DS_Store +0 -0
  113. package/src/stories/video/.DS_Store +0 -0
  114. package/src/components/tiptap/tiptap.vue +0 -246
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everchron/ec-shards",
3
- "version": "3.1.3",
3
+ "version": "3.1.5",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
package/src/.DS_Store ADDED
Binary file
Binary file
Binary file
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <div v-if="show" class="ecs-alert" :class="[typeClass, dismissable ? 'ecs-alert-dismissable' : '', inset ? 'ecs-alert-inset' : '']">
3
3
  <button v-if="dismissable" @click="dismiss" class="close">
4
- <ecs-icon type="close" width="20" height="20" />
4
+ <ecs-icon type="close" size="20" />
5
5
  </button>
6
6
  <div class="ecs-alert-inner">
7
7
  <h4 v-if="headline" class="ecs-alert-headline">
8
- <ecs-icon v-if="icon" :type="icon" width="20" height="20" />
8
+ <ecs-icon v-if="icon" :type="icon" size="20" />
9
9
  {{ headline }}
10
10
  </h4>
11
11
  <div v-if="$slots.default" class="ecs-alert-content">
@@ -7,8 +7,8 @@
7
7
  typeClass
8
8
  ]"
9
9
  >
10
- <ecs-icon v-if="icon" :type="icon" width="20" height="20" />
11
- <ecs-icon v-if="type == 'more'" type="more" width="20" height="20" />
10
+ <ecs-icon v-if="icon" :type="icon" size="20" />
11
+ <ecs-icon v-if="type == 'more'" type="more" size="20" />
12
12
  <span v-if="type != 'more'">
13
13
  <slot></slot>
14
14
  </span>
@@ -13,7 +13,7 @@
13
13
  @mouseover="$emit('mouseover', $event)"
14
14
  @mouseleave="$emit('mouseleave', $event)">
15
15
 
16
- <ecs-icon v-if="icon || loading" :type="iconType" :width="iconSize" :height="iconSize" />
16
+ <ecs-icon v-if="icon || loading" :type="iconType" :size="iconSize" />
17
17
  <slot></slot>
18
18
  </a>
19
19
 
@@ -31,7 +31,7 @@
31
31
  @mouseover="$emit('mouseover', $event)"
32
32
  @mouseleave="$emit('mouseleave', $event)">
33
33
 
34
- <ecs-icon v-if="icon || loading" :type="iconType" :width="iconSize" :height="iconSize" />
34
+ <ecs-icon v-if="icon || loading" :type="iconType" :size="iconSize" />
35
35
  <slot></slot>
36
36
  </button>
37
37
 
@@ -5,7 +5,7 @@
5
5
  :style="selectedColorText"
6
6
  @click="$emit('click', $event)">
7
7
 
8
- <ecs-icon v-if="icon || loading" :type="iconType" width="20" height="20" />
8
+ <ecs-icon v-if="icon || loading" :type="iconType" size="20" />
9
9
  <div v-if="selectedColor" class="ecs-context-button-color" :style="selectedColorBackground" />
10
10
  <slot></slot>
11
11
  </button>
@@ -5,7 +5,7 @@
5
5
  ]"
6
6
  @click="$emit('click', $event)">
7
7
 
8
- <ecs-icon v-if="type == 'ellipsis'" type="more" width="20" height="20" color="#FFF" />
8
+ <ecs-icon v-if="type == 'ellipsis'" type="more" size="20" color="#FFF" />
9
9
  <slot></slot>
10
10
  </button>
11
11
  </template>
@@ -15,7 +15,7 @@
15
15
  @mouseover="$emit('mouseover', $event)"
16
16
  @mouseleave="$emit('mouseleave', $event)">
17
17
 
18
- <ecs-icon v-if="icon || loading" :type="iconType" :width="iconSize" :height="iconSize" />
18
+ <ecs-icon v-if="icon || loading" :type="iconType" :size="iconSize" />
19
19
  <div v-if="label != null" class="button-label">{{ label }}</div>
20
20
  <div v-if="chevron" class="chevron" :class="active ? 'expand' : ''" />
21
21
  </button>
@@ -9,10 +9,10 @@
9
9
  dropdownClass]"
10
10
  @click="$emit('click', $event)">
11
11
 
12
- <ecs-icon v-if="(icon && iconPosition == 'left') || (loading && iconPosition == 'left')" :width="iconSize" :height="iconSize" :color="iconTint" :type="iconType" :spinning="loading" />
12
+ <ecs-icon v-if="(icon && iconPosition == 'left') || (loading && iconPosition == 'left')" :size="iconSize" :color="iconTint" :type="iconType" :spinning="loading" />
13
13
  <slot></slot>
14
14
  <span class="badge" v-if="badge" :style="{ background: badgeColor }"></span>
15
- <ecs-icon v-if="(icon && iconPosition == 'right') || (loading && iconPosition == 'right')" :width="iconSize" :height="iconSize" :color="iconTint" :type="iconType" :spinning="loading" />
15
+ <ecs-icon v-if="(icon && iconPosition == 'right') || (loading && iconPosition == 'right')" :size="iconSize" :color="iconTint" :type="iconType" :spinning="loading" />
16
16
  </a>
17
17
 
18
18
  <button v-else class="ecs-toolbar-button"
@@ -25,10 +25,10 @@
25
25
  dropdownClass]"
26
26
  @click="$emit('click', $event)">
27
27
 
28
- <ecs-icon v-if="(icon && iconPosition == 'left') || (loading && iconPosition == 'left')" :width="iconSize" :height="iconSize" :color="iconTint" :type="iconType" :spinning="loading" />
28
+ <ecs-icon v-if="(icon && iconPosition == 'left') || (loading && iconPosition == 'left')" :size="iconSize" :color="iconTint" :type="iconType" :spinning="loading" />
29
29
  <slot></slot>
30
30
  <span class="badge" v-if="badge" :style="{ background: badgeColor }"></span>
31
- <ecs-icon v-if="(icon && iconPosition == 'right') || (loading && iconPosition == 'right')" :width="iconSize" :height="iconSize" :color="iconTint" :type="iconType" :spinning="loading" />
31
+ <ecs-icon v-if="(icon && iconPosition == 'right') || (loading && iconPosition == 'right')" :size="iconSize" :color="iconTint" :type="iconType" :spinning="loading" />
32
32
  </button>
33
33
  </template>
34
34
 
@@ -8,7 +8,7 @@
8
8
  <ecs-icon :type="icon" />
9
9
  <span v-if="hasBadge" class="badge" />
10
10
  <div class="sub-icon">
11
- <ecs-icon v-if="subIcon" :type="subIcon" width="14" height="14" />
11
+ <ecs-icon v-if="subIcon" :type="subIcon" size="14" />
12
12
  </div>
13
13
  </button>
14
14
  </template>
@@ -8,7 +8,7 @@
8
8
  isVisible || nonInteractive ? '' : 'collapsed',
9
9
  nonInteractive ? '' : 'interactive',
10
10
  ]">
11
- <ecs-icon v-if="icon" :type="icon" color="#858E9E" :width="iconSize" :height="iconSize" />
11
+ <ecs-icon v-if="icon" :type="icon" color="#858E9E" :size="iconSize" />
12
12
  <div class="description" v-if="label">{{ label }}</div>
13
13
  <div class="collection"
14
14
  @mouseover="toggleTooltip"
@@ -15,7 +15,7 @@
15
15
  <slot name="control"></slot>
16
16
  </div>
17
17
 
18
- <ecs-icon v-if="icon" :type="icon" :color="iconColor" :spinning="spinning" width="26" height="26" />
18
+ <ecs-icon v-if="icon" :type="icon" :color="iconColor" :spinning="spinning" size="26" />
19
19
  <ecs-skeleton-loader v-if="icon && loading" type="rect" :width="26" :height="26" />
20
20
 
21
21
  <div class="ecs-data-card-inner">
@@ -1,14 +1,14 @@
1
1
  <template>
2
- <dialog ref="dialog" :class="[large ? 'ecs-dialog-large' : '']" class="ecs-dialog">
3
- <div class="ecs-dialog-body">
4
- <slot></slot>
5
- </div>
6
-
7
- <div v-if="$slots.actions" class="ecs-dialog-footer" :class="[stackedFooter ? 'ecs-dialog-footer-stacked' : '']">
8
- <!-- @slot Slot for the dialog footer buttons. Should only contain EcsButtonDialog components. -->
9
- <slot name="actions"></slot>
10
- </div>
11
- </dialog>
2
+ <dialog v-if="lazyLoad" ref="dialog" :class="[large ? 'ecs-dialog-large' : '']" class="ecs-dialog">
3
+ <div class="ecs-dialog-body">
4
+ <slot></slot>
5
+ </div>
6
+
7
+ <div v-if="$slots.actions" class="ecs-dialog-footer" :class="[stackedFooter ? 'ecs-dialog-footer-stacked' : '']">
8
+ <!-- @slot Slot for the dialog footer buttons. Should only contain EcsButtonDialog components. -->
9
+ <slot name="actions"></slot>
10
+ </div>
11
+ </dialog>
12
12
  </template>
13
13
 
14
14
  <script>
@@ -33,7 +33,8 @@
33
33
 
34
34
  data () {
35
35
  return {
36
- isShown: this.show
36
+ isShown: this.show,
37
+ lazyLoad: false
37
38
  }
38
39
  },
39
40
 
@@ -49,10 +50,17 @@
49
50
  show(){
50
51
  this.isShown = this.show
51
52
 
52
- if(this.isShown)
53
- this.$refs.dialog.showModal()
54
- else
53
+ if(this.isShown){
54
+ this.lazyLoad = true
55
+ this.$nextTick(() => {
56
+ this.$refs.dialog.showModal()
57
+ })
58
+ } else {
55
59
  this.$refs.dialog.close()
60
+ this.$nextTick(() => {
61
+ this.lazyLoad = false
62
+ })
63
+ }
56
64
  }
57
65
  },
58
66
 
@@ -80,8 +88,8 @@
80
88
  display: flex;
81
89
  flex-direction: column;
82
90
  margin: auto;
83
- margin-bottom: auto;
84
- margin-top: auto;
91
+ margin-bottom: auto !important;
92
+ margin-top: auto !important;
85
93
  border: none;
86
94
  padding: 0;
87
95
  overflow: visible;
@@ -5,7 +5,7 @@
5
5
  <div v-if="instantView" class="instant" />
6
6
  <div v-else class="no-instant" />
7
7
  <span v-if="loading" class="loading">
8
- <ecs-icon type="loading" width="18px" height="18px" color="#202127" />
8
+ <ecs-icon type="loading" size="18" color="#202127" />
9
9
  </span>
10
10
  </div>
11
11
  </template>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="ecs-empty-state">
3
- <ecs-icon v-if="type!='loading'" :type="type" :color="iconColor" :width="iconSize" :height="iconSize" />
3
+ <ecs-icon v-if="type!='loading'" :type="type" :color="iconColor" :size="iconSize" />
4
4
  <div v-else class="ecs-empty-state-loading" />
5
5
  <div v-if="type!='loading'" class="ecs-empty-state-message" :class="size">
6
6
  <slot></slot>
@@ -3,7 +3,7 @@
3
3
  <div class="ecs-excerpt-title">
4
4
  <div class="ecs-excerpt-title-headline">
5
5
  <ecs-skeleton-loader v-if="icon && loading" type="rect" :width="20" :height="20" />
6
- <ecs-icon v-if="icon && !loading" :type="icon" width="20" height="20" />
6
+ <ecs-icon v-if="icon && !loading" :type="icon" size="20" />
7
7
  <ecs-skeleton-loader v-if="loading" type="single" :width="20" />
8
8
  <span v-else>{{ headline }}</span>
9
9
  </div>
@@ -37,11 +37,13 @@
37
37
 
38
38
  .ecs-formatted{
39
39
  font-size: $type-scale-3-font-size;
40
- line-height: 1.4em;
41
- min-height: 1.4em;
40
+ line-height: $type-scale-3-line-height;
41
+ min-height: $type-scale-3-line-height;
42
42
 
43
43
  &-sml{
44
44
  font-size: $type-scale-2-font-size;
45
+ line-height: $type-scale-2-line-height;
46
+ min-height: $type-scale-2-line-height;
45
47
  }
46
48
 
47
49
  p{
@@ -77,19 +79,6 @@
77
79
  opacity: 1;
78
80
  }
79
81
  }
80
-
81
- &[href*="//"]:not([href*="everchron.com"]):after,
82
- &[href*="//"]:not([href*="everchron.me"]):after,
83
- &[href*="//"]:not([href*="everchron.co.uk"]):after,
84
- &[href*="//"]:not([href*="everchron.com.au"]):after,
85
- &[href*="//"]:not([href*="everchron.wtf"]):after{
86
- content: "";
87
- background: svg-uri('<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="#858E9E" d="M7.625,3.5 C7.524,3.5 7.434,3.459 7.366,3.395 C7.364,3.393 7.361,3.393 7.359,3.391 L6.427,2.458 L4.067,4.818 C3.823,5.061 3.427,5.061 3.183,4.818 C2.939,4.574 2.939,4.178 3.183,3.934 L5.542,1.575 L4.609,0.641 C4.607,0.639 4.607,0.636 4.605,0.634 C4.541,0.566 4.5,0.476 4.5,0.375 C4.5,0.168 4.668,0 4.875,0 L7.5,0 C7.776,0 8,0.224 8,0.5 L8,3.125 C8,3.332 7.832,3.5 7.625,3.5 Z M1,2.25 L1,6.75 C1,6.888 1.112,7 1.25,7 L5.75,7 C5.888,7 6,6.888 6,6.75 L6,4 L7,5 L7,7 C7,7.553 6.553,8 6,8 L1,8 C0.448,8 0,7.553 0,7 L0,2 C0,1.448 0.448,1 1,1 L3,1 L4,2 L1.25,2 C1.112,2 1,2.112 1,2.25 Z"/></svg>');
88
- width: 8px;
89
- display: inline-block;
90
- height: 8px;
91
- margin-left: 4px;
92
- }
93
82
  }
94
83
 
95
84
  ul{
@@ -2,7 +2,7 @@
2
2
  <i class="ecs-info-tooltip"
3
3
  @click="handleClick"
4
4
  >
5
- <ecs-icon :type="icon" width="20" height="20" />
5
+ <ecs-icon :type="icon" size="20" />
6
6
  </i>
7
7
  </template>
8
8
 
@@ -42,7 +42,7 @@
42
42
  v-bind="$attrs"
43
43
  :ref="refr"
44
44
  :id="refr"
45
- >
45
+ />
46
46
  </template>
47
47
 
48
48
  <script>
@@ -130,12 +130,6 @@
130
130
  return `ecs-form-control-format-${this.format}`
131
131
  return this.format
132
132
  }
133
- },
134
-
135
- watch:{
136
- value(){
137
- console.warn('value is nao', this.value)
138
- }
139
133
  }
140
134
  }
141
135
  </script>
@@ -169,13 +163,16 @@
169
163
  border: 0;
170
164
  }
171
165
 
172
- &:disabled,
173
- &[readonly] {
166
+ &:disabled{
174
167
  background-color: rgba($color-gray-6, .15);
175
168
  color: $color-gray-8;
176
169
  cursor: default;
177
170
  }
178
171
 
172
+ &[readonly] {
173
+ cursor: default;
174
+ }
175
+
179
176
  &-subtle{
180
177
  background-color: rgba($color-gray-8, .15);
181
178
  border: 1px solid rgba($color-gray-8, .2);
@@ -186,8 +183,7 @@
186
183
  box-shadow: none;
187
184
  }
188
185
 
189
- &:disabled,
190
- &[readonly] {
186
+ &:disabled{
191
187
  background-color: rgba($color-gray-8, .1);
192
188
  border: 1px solid rgba($color-gray-8, .1);
193
189
  opacity: .8;
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <span class="ecs-input-group-addon" :class="[iconClass, button ? `has-button` : '',]">
3
3
  <slot></slot>
4
- <ecs-icon v-if="icon" :type="icon" width="80%" height="80%" />
4
+ <ecs-icon v-if="icon" :type="icon" size="80%" />
5
5
  </span>
6
6
  </template>
7
7
 
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="ecs-input-clear">
3
3
  <button @click="$emit('click', $event)" :title="tooltip" class="ecs-input-clear-button" />
4
- <ecs-icon v-if="loading" type="loading" width="32" height="32" spinning color="#AEB1B9" />
4
+ <ecs-icon v-if="loading" type="loading" size="32" spinning color="#AEB1B9" />
5
5
  </div>
6
6
  </template>
7
7
 
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="ecs-search-group" :class="groupSizeClass">
3
- <ecs-icon type="search" color="#B9BCC2" :width="iconSize" :height="iconSize" />
3
+ <ecs-icon type="search" color="#B9BCC2" :size="iconSize" />
4
4
  <input ref="input"
5
5
  :name="name"
6
6
  :disabled="disabled"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="ecs-multiselect-option" :class="typeClass">
3
- <ecs-icon v-if="icon" :type="icon" width="20" height="20" />
3
+ <ecs-icon v-if="icon" :type="icon" size="20" />
4
4
  <slot></slot>
5
5
  </div>
6
6
  </template>
@@ -1,14 +1,14 @@
1
1
  <template>
2
2
  <div class="ecs-multiselect-search-token" :class="typeClass">
3
3
  <div v-if="icon || operator" class="symbol">
4
- <ecs-icon :type="icon" width="20" height="20" color="#FFF" />
4
+ <ecs-icon :type="icon" size="20" color="#FFF" />
5
5
  <div v-if="operator" class="operator">{{ operator }}</div>
6
6
  </div>
7
7
  <div class="query">
8
8
  <div v-if="descriptor" class="descriptor">{{ descriptor }}</div>
9
9
  <slot></slot>
10
10
  <button @click="$emit('remove', $event)" class="remove" title="Remove">
11
- <ecs-icon type="close" width="14" height="14" color="#FFF" />
11
+ <ecs-icon type="close" size="14" color="#FFF" />
12
12
  </button>
13
13
  </div>
14
14
  </div>
@@ -2,7 +2,7 @@
2
2
  <div class="ecs-multiselect-token">
3
3
  <slot></slot>
4
4
  <button @click="$emit('remove', $event)" class="remove">
5
- <ecs-icon type="close" width="14" height="14" color="#FFF" />
5
+ <ecs-icon type="close" size="14" color="#FFF" />
6
6
  </button>
7
7
  </div>
8
8
  </template>
@@ -3,7 +3,7 @@
3
3
  <div v-if="isShown" class="ecs-overlay" :style="{ top: offsetTop + 'px', height: 'calc(100vh - '+ offsetTop +'px' }">
4
4
  <div class="ecs-overlay-header">
5
5
  <div class="ecs-overlay-titles">
6
- <ecs-icon v-if="icon" :type="icon" width="40" height="40" color="#B9BCC2" />
6
+ <ecs-icon v-if="icon" :type="icon" size="40" color="#B9BCC2" />
7
7
  <div>
8
8
  <span class="title"><span v-if="headerTitleEmphasized" class="emphasized">{{ headerTitleEmphasized }}</span> {{ headerTitle }}</span>
9
9
  <span v-if="headerTitleSubline" class="subline">{{ headerTitleSubline }}</span>
@@ -18,6 +18,9 @@
18
18
  <ecs-button @click="$emit('lastPage', $event)" :disabled="loading || currentPage === totalPages" icon="chevron-double-right" icon-only type="secondary" title="Last Page" data-test="pagination-last-button" />
19
19
  </ecs-flex-row>
20
20
  </template>
21
+ <template v-else-if="hasRange">
22
+ <span class="ecs-pagination-range">Showing entries <span>{{itemRangeFrom}} to {{itemRangeTo}}</span> of <span>{{itemRangeTotal}}</span></span>
23
+ </template>
21
24
  <transition name="fade">
22
25
  <ecs-flex-row v-if="loading" :gap="4" :class="$slots.tabs && type =='paginated' ? 'push-right' : ''">
23
26
  <div v-if="!$slots.tabs && type =='paginated'" class="separator" />
@@ -105,6 +108,31 @@
105
108
  itemsPerPageSelected: {
106
109
  type: Number,
107
110
  default: 100
111
+ },
112
+ /** Number of the visible item range (starting). */
113
+ itemRangeFrom: {
114
+ type: [Number, String]
115
+ },
116
+ /** Number of the visible item range (ending). */
117
+ itemRangeTo: {
118
+ type: [Number, String]
119
+ },
120
+ /** Number of the total items in the index. */
121
+ itemRangeTotal: {
122
+ type: [Number, String]
123
+ }
124
+ },
125
+
126
+ computed: {
127
+ hasRange() {
128
+ if (
129
+ this.itemRangeFrom &&
130
+ this.itemRangeTo &&
131
+ this.itemRangeTotal &&
132
+ this.itemRangeFrom !== '' &&
133
+ this.itemRangeTo !== '' &&
134
+ this.itemRangeTotal !== '')
135
+ return true
108
136
  }
109
137
  }
110
138
  }
@@ -152,6 +180,18 @@
152
180
  }
153
181
  }
154
182
 
183
+ &-range{
184
+ padding-left: $spacing-15;
185
+ font-size: $type-scale-2-font-size;
186
+ line-height: $type-scale-2-line-height;
187
+ color: $color-gray-10;
188
+
189
+ > span{
190
+ font-weight: $font-weight-medium;
191
+ color: $color-gray-14;
192
+ }
193
+ }
194
+
155
195
  &-controls{
156
196
  margin-left: $spacing-10;
157
197
  }
@@ -1,10 +1,10 @@
1
1
  <template>
2
2
  <div class="ecs-party-entry" :class="[ party, shared ? 'shared' : '', (color && background) ? 'ecs-party-entry-colored' : '']" :style="{ color: color }">
3
- <ecs-icon v-if="icon && iconPosition == 'left'" :type="iconType" :color="iconColor" :style="'margin-right:'+iconSpacing" :width="iconSize" :height="iconSize" />
3
+ <ecs-icon v-if="icon && iconPosition == 'left'" :type="iconType" :color="iconColor" :style="'margin-right:'+iconSpacing" :size="iconSize" />
4
4
  <span>
5
5
  <slot></slot>
6
6
  </span>
7
- <ecs-icon v-if="icon && iconPosition == 'right'" :type="iconType" :color="iconColor" :style="'margin-left:'+iconSpacing" :width="iconSize" :height="iconSize" />
7
+ <ecs-icon v-if="icon && iconPosition == 'right'" :type="iconType" :color="iconColor" :style="'margin-left:'+iconSpacing" :size="iconSize" />
8
8
  <div v-if="background" class="ecs-party-entry-background" />
9
9
  </div>
10
10
  </template>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <header class="ecs-popover-header">
3
3
  <div class="ecs-popover-header-title">
4
- <ecs-icon v-if="icon" :type="icon" width="36" height="36" class="icon" color="#B4B9BE" />
4
+ <ecs-icon v-if="icon" :type="icon" size="36" class="icon" color="#B4B9BE" />
5
5
  <h2 class="ecs-headline-2">{{title}}</h2>
6
6
  </div>
7
7
  <div v-if="hasControls" class="ecs-popover-header-actions">
@@ -3,7 +3,7 @@
3
3
  <label v-for="option in options" :key="option.id" :for="option.id">
4
4
  <input type="radio" :name="name" :value="option.id" :id="option.id" :checked="value==option.id" :disabled="option.disabled" @click="$emit('click', option.id)">
5
5
  <span class="ecs-segment" :title="option.title">
6
- <ecs-icon v-if="option.icon" :class="[option.icon && option.label ? 'icon-spacing' : '']" :type="option.icon" width="20" height="20" color="#2F333C" />
6
+ <ecs-icon v-if="option.icon" :class="[option.icon && option.label ? 'icon-spacing' : '']" :type="option.icon" size="20" color="#2F333C" />
7
7
  {{ option.label }}
8
8
  </span>
9
9
  </label>
@@ -4,7 +4,7 @@
4
4
  :class="[active ? 'active' : '', loading ? 'loading' : '', disabled ? 'disabled' : '', completed ? 'completed' : '']">
5
5
  <span class="count">
6
6
  {{ step }}
7
- <ecs-icon v-if="loading" type="loading" class="loading" width="34" height="34" />
7
+ <ecs-icon v-if="loading" type="loading" class="loading" size="34" />
8
8
  </span>
9
9
  <slot></slot>
10
10
  <div class="step-indicator" />
@@ -8,7 +8,7 @@
8
8
  @click="handleClick">
9
9
 
10
10
  <ecs-icon v-if="icon" :type="icon" />
11
- <ecs-icon v-if="icon && sticker" :type="`sticker-${sticker}`" class="sticker" width="16" height="16" />
11
+ <ecs-icon v-if="icon && sticker" :type="`sticker-${sticker}`" class="sticker" size="16" />
12
12
  <slot></slot>
13
13
  <span v-if="shortcut" class="shortcut">{{ shortcut }}</span>
14
14
  <span class="hover" />
@@ -316,10 +316,10 @@
316
316
  padding-left: 1px;
317
317
 
318
318
  .ecs-tab-button{
319
- border-radius: 0 0 3px 3px;
319
+ border-radius: 0 0 $border-radius-small $border-radius-small;
320
320
  color: $color-gray-14;
321
321
  height: 38px;
322
- padding: 0 20px;
322
+ padding: 0 $spacing-25;
323
323
  text-align: center;
324
324
  font-size: $type-scale-3-font-size;
325
325
  line-height: 26px;
@@ -330,6 +330,11 @@
330
330
  border-top-color: $color-gray-4;
331
331
  position: relative;
332
332
  margin-left: -1px;
333
+ transition: .2s background-color, .2s border-color, .2s color;
334
+
335
+ &:hover{
336
+ background-color: $color-gray-3;
337
+ }
333
338
 
334
339
  &:before{
335
340
  content: "";
@@ -338,7 +343,7 @@
338
343
  background: $color-gray-4;
339
344
  border-radius: 1px;
340
345
  position: absolute;
341
- right: 0;
346
+ left: 0;
342
347
  }
343
348
 
344
349
  &:after{
@@ -354,18 +359,24 @@
354
359
  &.show{
355
360
  color: $color-blue-10;
356
361
  font-weight: $font-weight-medium;
362
+ letter-spacing: -.015em;
357
363
  background: #FFFFFF;
358
364
  border: 1px solid $color-gray-4;
359
365
  border-top-color: #FFF;
366
+ z-index: 1;
360
367
 
361
368
  &:after{
362
369
  transform: scale(1);
363
370
  opacity: 1;
364
371
  }
372
+
373
+ + .ecs-tab-button:before{
374
+ opacity: 0;
375
+ }
365
376
  }
366
377
 
367
378
  &.show:before,
368
- &:last-child:before{
379
+ &:first-child:before{
369
380
  opacity: 0;
370
381
  }
371
382
  }
@@ -5,7 +5,7 @@
5
5
  <div v-if="state =='repairing'" class="repairing" />
6
6
  <div v-if="state =='corrupted'" class="corrupted" />
7
7
  <span v-if="state == 'loading'" class="loading">
8
- <ecs-icon type="loading" width="18px" height="18px" color="#202127" />
8
+ <ecs-icon type="loading" size="18px" color="#202127" />
9
9
  </span>
10
10
  </div>
11
11
  </template>
@@ -15,7 +15,7 @@
15
15
  :collapsed="!isVisible"
16
16
  @click="toggleCollapse" />
17
17
 
18
- <ecs-icon v-if="icon" :type="icon" :color="iconColor" :width="iconSize" :height="iconSize" />
18
+ <ecs-icon v-if="icon" :type="icon" :color="iconColor" :size="iconSize" />
19
19
 
20
20
  <div v-if="$slots.control" class="ecs-tree-view-entry-control">
21
21
  <!-- @slot Slot for a selection control, such as a checkbox or radiobutton. -->